Re: How to send a message after

1999-12-10 Thread Mirko Zeibig

On Fri, Dec 10, 1999 at 12:58:17AM -0700, Andy Bradford wrote:
 Thus said [EMAIL PROTECTED] on Fri, 10 Dec 1999 08:54:46 +0100:
 
  qmail-send needs a real restart to reread concurrency info. There is a patch
  that allows you to start/stop delivery without restarting qmail, it's somewhere
  on www.qmail.org.
 Would an ALRM be enough or does it require a full restart?
 Andy
 -- 
 +== Andy == TiK: garbaglio ==+
 |Linux is about freedom of choice|
 +== http://www.xmission.com/~bradipo/ ===+
I am running a ISDN-line, so I applied the patch, the signal is HUP.

Regards
Mirko
-- 
privat:   http://sites.inka.de/picard
commerce: http://www.webideal.de
qmail, ldap, serialfax, rh-isdn: http://www.webideal.de/#downloads



Difference between Bruce's and Mate's RPM (was: Re: new to list, install questions)

1999-12-10 Thread Mirko Zeibig

On Fri, Dec 10, 1999 at 09:14:44AM -0500, Peter Green wrote:
 Being on a RedHat 6.1 box, you might consider using Bruce Guenter's
 *excellent* qmail source RPMs. http://em.ca/~bruceg/

Would someone be so kind and state the major differences between these RPMs?

Thx
Mirko
-- 
privat:   http://sites.inka.de/picard
commerce: http://www.webideal.de
qmail, ldap, serialfax, rh-isdn: http://www.webideal.de/#downloads



Re: Prepatched IMAP anyone?

1999-11-11 Thread Mirko Zeibig

On Wed, Nov 10, 1999 at 03:55:27PM -0500, Denis Voitenko wrote:
 I have consistently failed to patch the IMAP source successfully so that it
 could work with Maildir. Does anyone have an already patched source that
 he'd be willing to share with me?

If this is a new system you might want to give mrsam's courier-imapd a
chance which will work with Maildir *only* and seems to be smaller/faster
than UW's.

Take a look at freshmeat.net and look for courier and imap to get the URL
(wasn't it posted to the list a few days back, then?).
Sorry, but could not find the URL in the source quikly.


Regards
Mirko
-- 
mailto:   [EMAIL PROTECTED]
privat:   http://sites.inka.de/picard
commerce: http://www.webideal.de
qmail, ldap, serialfax, rh-isdn: http://www.webideal.de/#downloads



Re: 2 Questions

1999-11-10 Thread Mirko Zeibig

On Tue, Nov 09, 1999 at 10:19:30PM -0800, James wrote:
 2)  User is trying to read mail with Netscape 4.6 mail reader.. but when
 he tries to fetch mail, it says there is nothing in his mailbox even
 though there actually IS mail in the Mailbox file.  Does the user need to
 direct the Netscape mail reader to the "Mailbox" directory somehow,
 instead of the server domain address?
Hello James,
does the user read her mail directly on the server with NetScape or via
POP/IMAP? If the last one is true, you might try the following:
- if you have a recent version of imapd (4.6) it will take a file $HOME/mbox 
  as standard-INBOX if it finds one.
- Otherwise you could try to ``ln -s $HOME/Mailbox /var/spool/mail/$USER'',
  which is the next place, where UW-imapd   looks into (NetScape running
  ``locally'' mail should look into this as well).

Regards
Mirko
-- 
mailto:   [EMAIL PROTECTED]
privat:   http://sites.inka.de/picard
commerce: http://www.webideal.de
qmail, ldap, serialfax, rh-isdn: http://www.webideal.de/#downloads



Re: Completely Off-topic: A good MUA for Windows?

1999-10-28 Thread Mirko Zeibig

On Wed, Oct 27, 1999 at 08:56:51AM +0100, Chris Green wrote:
 One WIn32 mailer that seemed quite competant when I was looking is
 Pmail98 (www.southsoft.com), it has OS/2 ancestry which may explain
 its sanity.
Yes, PMMail is one of the best MUAs I know of. I still would stay with it,
if southsoft finally released a IMAP-enabled version,
PMMail is POP-only :-(.
Well, mostly working in a server-client-environment, I'll do all my work
using mutt in a ssh-window now ;-).

Regards
Mirko



Re: smarthost

1999-10-28 Thread Mirko Zeibig

On Thu, Oct 28, 1999 at 09:32:23PM +0200, Nagy Balazs wrote:
 On Tue, 26 Oct 1999, Attila Csosz wrote:
  I'd like to send my mails through a smarthost not directly from my computer.
  How could I setup qmail to send emails through smarthost?
  I've a standalone computer with PPP.
 Use serialmail.  It rocks.

Or look for Nick Leverton's hold-remote-patch at www.qmail.org, which works 
really  flawlessly and is much easier to configure.
Just put sth. like:
echo 0  /var/qmail/control/holdremote
killall -HUP qmail-send

in /etc/ppp/ip-up and 
echo 1  /var/qmail/control/holdremote
killall -HUP qmail-send

in /etc/ppp/ip-down and
:[ip-of.your.isps.mailserver]
in /var/qmail/control/smtproutes.

That's it!
Regards
Mirko



Re: concurrencyremote ignored?

1999-10-28 Thread Mirko Zeibig

On Thu, Oct 28, 1999 at 07:28:35PM +0200, Paulo Jan wrote:
 Hi all:
 
   Our mail server is getting a bit overloaded lately, so I tried to
 increase its connection limits as a first step. To do so, I set both
 concurrencylocal and concurrencyremote to 40, and then did a kill -HUP
 to qmail-send. The problem is that, after doing so, I look at the ps
 -aux output and I still get only 20 qmail-remote processes as a maximum.
 Am I missing something?
Hello Paul,
man qmail-send:
 WARNING:  qmail-send  reads its control files only when it
   starts.  If you change the control files,  you  must  stop
   and restart qmail-send.  Exception: If qmail-send receives
   a HUP signal, it will reread locals and virtualdomains.
 
So you have to restart qmail-send.

Regards
Mirko

-- 
mailto:   [EMAIL PROTECTED]
privat:   http://sites.inka.de/picard
commerce: http://www.webideal.de
qmail, ldap, serialfax, rh-isdn: http://www.webideal.de/#downloads



Re: Concurrencyremote for a specific host

1999-10-21 Thread Mirko Zeibig

On Thu, Oct 21, 1999 at 09:30:41AM -0400, Russell Nelson wrote:
 If you know that you have an ongoing need to talk to hosts like this,
 install another instance of qmail with the desired concurrencyremote,
 and use a virtualdomain on your main qmail to redirect the mail
 through that qmail.  Sounds complicated, but it isn't.
 
 echo 'dumb.host:dumbhost' /var/qmail/control/virtualdomains
 rm /var/qmail2/control/*
 ln -s /var/qmail/control/me /var/qmail2/control/me
 echo '4' /var/qmail2/control/concurrencyremote
 echo '|/var/qmail2/bin/forward "$EXT2"' ~alias/.qmail-dumbhost-default
Hello Russel,
I guess you have to recompile qmail, then and have two sets of binaries etc?
So this would only be an approach for a handful of hosts.

Best Regards
Mirko
-- 
mailto:   [EMAIL PROTECTED]
privat:   http://sites.inka.de/picard
commerce: http://www.webideal.de
qmail, ldap, serialfax, rh-isdn: http://www.webideal.de/#downloads



Re: Concurrencyremote for a specific host

1999-10-21 Thread Mirko Zeibig

On Thu, Oct 21, 1999 at 01:34:42PM -0400, Russell Nelson wrote:
 Right, those specific hosts which are consistently giving you trouble.
 Hopefully you told the sysadmin that his system is broken, because if
 it's giving you trouble, it's probably giving everyone else trouble as 
 well.
Well, not actually a problem for me, just an ``academic'' question ;-).
Right now, qmail is a very good solution for the three low-traffic-servers
(not more than 800 messages/day) controlled by me :-), but who knows what
the future will bring.

Regards
Mirko




Re: qmail and fetchmail

1999-10-20 Thread Mirko Zeibig

On Wed, Oct 20, 1999 at 01:52:33PM -0200, Daniel Cukier wrote:
 AFTER instaling qmail:
 fetchmail get all mail from a pop3. These mail are sent to postmaster, but
 now, postmaster send all mail to ~alias/Maildir, because I have a file named
 .qmail-postmaster in /var/qmail/alias directory.
How does your fetchmailrc look like? I have a multidrop-POP-box as well:
# Use this for production
set no bouncemail
poll mail.inka.de
protocol pop3 
aka inka.de picard.inka.de 
envelope ``Envelope-to:''
no dns:
user POP-User with pass POP-Pass is * here
forcecr
smtphost picard.inka.de

I guess two things are important here:
- first the user-line which tells fetchmail not to deliver exclusively to
  POP-User
- then my ISP does provide the ``real'' recipient in an additional
  ``Envelope-to:''-line.
mostly I do not have problems receiving mail (though sometimes the
envelope-sender is set to [EMAIL PROTECTED]).

Regards
Mirko
-- 
mailto:   [EMAIL PROTECTED]
privat:   http://sites.inka.de/picard
commerce: http://www.webideal.de
qmail, ldap, serialfax, rh-isdn: http://www.webideal.de/#downloads



Re: qmail w/ U of W imapd

1999-10-19 Thread Mirko Zeibig

Hello Ben,
I had some problems with (the RedHat-binary-version) of imapd 4.5 and
delivery to $HOME/mbox and deletion of messages (not if I explicitely marked
them for deletion but if I moved them to another mailfolder and they were
marked as deleted by imapd automatically).

In version 4.6 imapd first does look for $HOME/mbox (or $HOME/mbx) if it is
there and the deletion-problem was gone as well.

Regards
Mirko
-- 
mailto:   [EMAIL PROTECTED]
privat:   http://sites.inka.de/picard
commerce: http://www.webideal.de
qmail, ldap, serialfax, rh-isdn: http://www.webideal.de/#downloads



Re: www.qmail.org news.

1999-10-19 Thread Mirko Zeibig

On Mon, Oct 18, 1999 at 02:54:09PM -0400, Russell Nelson wrote:
 I'm now extracting the updated sections of www.qmail.org into
 http://www.qmail.org/news.html.

Hello Russel,
good idea (though (ooh, always complaining ;-)) I would do the link to the
news-page a little bigger, but that's just a matter of style.

Best regards
Mirko



Re: Using Maildir

1999-10-14 Thread Mirko Zeibig

On Thu, Oct 14, 1999 at 12:30:15PM -0500, Keith Lee wrote:
I've just installed the latest version of qmail and am trying to get
 Maildirs working.  Is there anyway to globally tell qmail to use
 Maildirs for all my users with out creating a .qmail file for each one?

Hello Keith,
- first make sure your startscript specifies ./Maildir/ as delivery target.
- I am afraid you need to create a Maildir for every user as well, so echo
  .qmail should be no problem as well, sth like:
- assume your users all have GID 5?? (like on RedHat)
cd /home
for i in $(awk -F: '$3~/5[0-9][0-]/{print $1}'}); do
su $i -c 'maildirmake '$i'/Maildir  echo "./Maildir/"  
'$i'/.qmail
done

Regards
Mirko



Re: Is inetd really unreliable?

1999-10-02 Thread Mirko Zeibig

On Fri, Oct 01, 1999 at 03:53:42PM -0400, David Harris wrote:
 I'm happy with my inetd service and tcpserver for my qmail-smtp. I'm running a
 few low-load services through inetd and it's doing fine. Perhaps if pop3 or
 imap become a larger load when I deploy web based email, I'll run them with
 tcpserver too.
Well, another advantage of using tcpserver for pop as well is, that you can
rather easily implement things like smtp-after-pop-relaying using Russel's
scripts and patch for checkpassword or the pam_exec.so.

Regards
Mirko
-- 
mailto:   [EMAIL PROTECTED]
privat:   http://sites.inka.de/picard
commerce: http://www.webideal.de
qmail, ldap, serialfax, rh-isdn: http://www.webideal.de/#downloads



Re: Hopefully my last question. :-)

1999-09-23 Thread Mirko Zeibig

On Thu, Sep 23, 1999 at 03:46:50PM -0700, Glenn Crownover wrote:
 Actually I never tried to use /bin/mail with qmail because I was under the
 impression that it would not work.  I didn't know that it was a 'front-end' to
 sendmail.  I now have it linked to 'mutt' and that seems to be working fine.
 (unless somebody knows some 'gotchya's with that setup! :-)
Hello Glenn,
I use mutt all the time in my scripts. A big advantage is that you may
easily attach files with option ``-a'', very handy.

Regards
Mirko



Re: Mail client and sorting

1999-09-17 Thread Mirko Zeibig

On Fri, Sep 17, 1999 at 02:44:53PM +0300, Mikko Hänninen wrote:
 Mutt is indeed very nice, especially for people who have been using elm
 though by no means limited to them.  And it also supports qmail-style
 maildirs (to add some qmail-relevance to the discussion...).
I like mutt as well and use it most of the time (except when it comes to
clean up my imap-folders, then a drag'n'drop-thing comes handy).

To make this a bit qmail-specific: distribution of your mail, depends:
- I have a multidrop-pop-mailbox where every mail sent to @picard.inka.de is
  thrown in.
- So I just subscribe with mirko-qmail@, mirko-php@ to lists and have the
corresponding .qmail-qmail, .qmail-php in my home-dir, which will deliver it
in folders, ala ~/lists/qmail/
- I took these out of my standard ~/mail-folder as imapd is not very happy
with more than 1000 messages/folder ;-).

Regards
Mirko
-- 
mailto:[EMAIL PROTECTED]
privat: http://sites.inka.de/picard
qmail, ldap and rh-isdn  Commerce: http://www.webideal.de/#downloads
be aware of culture www.uni-karlsruhe.de/~etcetera



Re: virtual domain mail

1999-09-15 Thread Mirko Zeibig

On Tue, Sep 14, 1999 at 11:22:39PM -0700, James wrote:
 It's working now.  I tried to restart (kill -HUP sendmail (pid)) but it
 didn't seem to do anything, so I rebooted the server, then sent and email
 from someotherserver.com to [EMAIL PROTECTED] and it worked.  
If you use qmail, there is no senmail-process, so ... you might want to give
the qmail-send the HUP maybe.

Regards
Mirko



Re: Russ Nelson's open-smtp patch

1999-09-15 Thread Mirko Zeibig

On Wed, Sep 15, 1999 at 01:46:34PM -0400, Russell Nelson wrote:
 Michael writes:
   checkpassword.patch
   checkpassword.patch~
   Would anyone mind explaining the patch process?  (Russ :) ?)
 
 Unpack open-smtp3.tar.gz
 Unpack checkpassword-0.81.tar.gz (found on koobera).
 cd into checkpassword-0.81
 Issue the following command: patch ../open-smtp/checkpassword.patch
 Make checkpassword as per usual.

Here is a slightly improved script for /usr/local/bin/pop3-record:
#!/bin/sh
TCPDIR=/etc/tcprules.d
SMTPRULES=$TCPDIR/qmail-smtpd
PATH=$PATH:/usr/local/bin/
# First see if $TCPREMOTEIP is handled by existing rules
tcprulescheck $TCPDIR/qmail-smtpd.cdb ``$TCPREMOTEIP'' | \
grep RELAYCLIENT  /dev/null  exit 0
echo ``$TCPREMOTEIP''':allow,RELAYCLIENT='  $TCPDIR/smtp.filter.newer
cat $TCPDIR/smtp.filter.*  $SMTPRULES
tcprules $SMTPRULES.cdb $SMTPRULES.tmp  $SMTPRULES

In /etc/tcrules.d you may include a file called smtp.filter.zintern for internal
networks you always trust (chose .zintern to make sure this is read last).

Regards
Mirko



Re: Strange problems...

1999-09-13 Thread Mirko Zeibig

On Mon, Sep 13, 1999 at 01:27:07AM +0500, Dmitry Niqiforoff wrote:
 Hello!
 
   I'm using QMAIL and UW-IMAP patched for mailbox format. 
   There are complaints from our users that they're unable to 
   delete some messages using IMAP. They mark message as "deleted" 
   in their mail agent, and when they do "folder compact" it remains 
   undeleted and unmarked as deleted. When I look into their homedir 
   where mailbox file resides, there are some files with long names 
   which looks like temporary files (with "$" in filenames). When I 
   delete them, all the problems disappear until next such situation.
   Does anybody know what can be the source of this problem? Any 
   suggestions about how to resolve the problem.

Hello Dmitry,
I had a similar problem, when having mail delivered to ~/Mailbox and a link
from /var/spool/mail/$USER to $HOME/Mailbox.

If you use ``mbox'' instead of Mailbox, imapd does not need the link in
/var/spool/mail and mail will hopefully deleted correctly. The problem
occured here with OE as imap-client when moving mails to folders.

Regards
Mirko



Re: qmail distro and UID

1999-09-10 Thread Mirko Zeibig

On Fri, Sep 10, 1999 at 08:42:08AM -0400, Russell Nelson wrote:
 Kevin Waterson writes:
   I am putting together a redhat clone and have omitted sendmail entirely.
   of course exmh nmh fetchmail etc complain, but that can be remedied later.
   I have been looking and reading up on qmail-run and var-qmail packages.
 
 Ask redhat to change the dependency from "sendmail" to "mailtransferagent".
Hello Kevin,
what Distro do you use, at least on my system (RH 6.0):
mirko@picard:[mirko] rpm -qi --requires nmh
Name: nmh  Relocations: (not relocateable)
Version : 0.27  Vendor: Red Hat Software
Release : 8 Build Date: Son 18 Apr 1999
22:10:30 CEST
Install date: Mon 21 Jun 1999 14:56:59 CEST  Build Host:
porky.devel.redhat.com
Group   : Applications/Internet Source RPM: nmh-0.27-8.src.rpm
Size: 4758227  License: freeware
Packager: Red Hat Software http://developer.redhat.com/bugzilla
Summary : A capable mail handling system with a command line interface.
[...]
smtpdaemon
[...]

mutt and fetchmail only require smtpdaemon as well.
smtpdaemon is provided eg. in the RPMs Mate has built?

Regards
Mirko



Re: I really need help!!!

1999-08-31 Thread Mirko Zeibig

On Tue, Aug 31, 1999 at 07:51:34AM -0300, Ari Arantes Filho wrote:
 I need to install qmail on a webhosting environment, where POP and SMTP
 users comes from various ISP. I don't think a good ideia to use opem-stmp3
 (from newbie's guide), because 90% of the users use outlook express and the
 documentation tells I will have problem to send messages (outlook first
 sends than reads).
 
What about using the patch that sets for passworded SMTP on qmail.org? Your
users just had to fill in the secure SMTP-server option then.
I remember have read this will work for Outlook Express and Netscape
Messenger at least.

Regards
Mirko



Some SRPMS

1999-08-30 Thread Mirko Zeibig


Hello everybody,
I just have setup some source-rpms for:
- checkpassword with the open-smtp Patch by Russel and my somewhat improved
  scripts 
- fastforward which comes with a .qmail-default and a "standard"
  /etc/aliases-file.

You will find them at http://www.webideal.de/qmail/

Regards
Mirko



Re: Can't resolve clearopensmtp

1999-08-27 Thread Mirko Zeibig

On Fri, Aug 27, 1999 at 12:07:36PM -0300, Martin Paulucci wrote:
 This is a part of it, the most important I see that is not correct is
 envnoathost it says presumed
 domain: babel.sintesoft.net and I think it should say only sintesoft.net
 because babel is the name of the server. How can I change it?.

Hello Martin,
man qmail-control:
envnoathost defaults to me, so putting sintesoft.net into envnoathost and
giving qmaila HUP should be it.

Regards
Mirko



Re: Qmail relay.

1999-08-25 Thread Mirko Zeibig

On Wed, Aug 25, 1999 at 07:45:47PM +0200, Stefan Krantz wrote:
 We have two identical internal mail servers (behind fw), and we've got
 qmail machines (on a dmz) as relays. We want qmail to send every relayed
 email to both internal servers, instead of one of them.
 Is it possible?
Maybe you could enter the two internals in smtproutes (man qmail-remote)
like this:
:first.server.com
:secnd.server.com

Regards 
Mirko



Re: Qmail relay.

1999-08-25 Thread Mirko Zeibig


Pardon me, of course it should better be sth. like this:
your-domain.com:first.your-domain.com
your-domain.com:secnd.your-domain.com

Regards
Mirko



Re: Disconnected Qmail??? 3rd Try!

1999-08-24 Thread Mirko Zeibig

On Tue, Aug 24, 1999 at 09:41:14AM -0400, Scott Sharkey wrote:
 It seems that serialmail will only work if the dialin
 server has a static IP address (ie, there's no way to
 tell it to send to my dialup dynamic address?)
Hello Scott,
there is a script on the qmail-page (http://qmail.mirrors.space.net/turnmail), 
which will do the trick "abusing" the POP-protocol.

Regards
Mirko



Open-SMTP

1999-08-23 Thread Mirko Zeibig

Hello everybody,
I modified Russel's package a bit, my version of pop3-record:
 snip /usr/local/bin/pop3-record 
#!/bin/sh
TCPDIR=/etc/tcprules.d
PATH=$PATH:/usr/local/bin/
# First see if $TCPREMOTEIP is handled by existing rules
tcprulescheck $TCPDIR/qmail-smtpd.cdb "$TCPREMOTEIP" | grep RELAYCLIENT  /dev/null  
exit 0
echo "$TCPREMOTEIP"':allow,RELAYCLIENT=""'  $TCPDIR/smtp.filter.newer
cat $TCPDIR/smtp.filter.*  $TCPDIR/qmail-smtpd
tcprules $TCPDIR/qmail-smtpd.cdb $TCPDIR/qmail-smtpd.tmp  $TCPDIR/qmail-smtpd
 snap 

- pop3-record will act in /etc/tcprules.d
- I have users from an internal network which I always trust so:
- before adding TCPREMOTEIP, pop3-record will check wether this is already a
  RELAYCLIENT for us.
- rules for internal users go to /etc/tcprules.d/smtp.filter.zintern:
  snip /etc/tcprules.d/smtp.filter.zintern 
 127.0.0.1:allow,RELAYCLIENT=""
 192.168.0.:allow,RELAYCLIENT=""
 :allow
  snap  
- I also wrote a small spec-file for rpm which will apply the patches, copy
  the scripts to the appropriate places and set up a cron-script for age-smtp.  

Any comments?

Mirko



Re: fastforward and location of aliases file

1999-08-20 Thread Mirko Zeibig

On Fri, Aug 20, 1999 at 10:21:42AM -0400, Steve Tylock wrote:
 (I used qmail for my tiny site within Kodak 3 years ago, and have
 just converted my new employer (~200 accounts) to it...)
 
 We have an automated environment where an LDAP server is the key data
 repository.  Users manage aliases and forwarding through a web page.
 With sendmail, a backend took the data and massaged it into an
 /etc/aliases file.
 
 I have fastforward, and have modified most of the backend to work
 with ~user/.qmail, and still run the rest out of /etc/aliases.
 
 I'd like this backend to work as a user other than root, but
 newaliases requires the file /etc/aliases.tmp, and I can't make
 that a link...
 
 Any ideas on solutions short of:
   using a group permission on /etc
   hacking into the newaliases code myself
I am not quite sure, but a grep over the sources showed that the position
/etc/aliases.tmp is only twice found in newaliases.c, so I guess replacing
this one should be enough.

Regards
Mirko



Re: newbie Problems - qmail-pw2u

1999-08-13 Thread Mirko Zeibig

On Thu, Aug 12, 1999 at 03:47:01PM -0600, AP - Darvin Zuch wrote:
  I'm running FreeBSD and think I have qmail up ... finally.
 
 All the documentation I've found says I should use qmail-pw2u to create users.  
 
 ie..
 sh /var/qmail/bin/qmail-pw2u
 
Hello Darvin,
you have to use sth. like:
 qmail-pw2u  /etc/passwd  /var/qmail/users/assign
 qmail-newu

qmail-pw2u isn't a shell-script.

When doing so, examine the results. As you propably do not want to have
users like ftp recieving mail you better put them into
/var/qmail/users/exclude.

Regards
Mirko



Re: Vs: one more newbie-question

1999-08-13 Thread Mirko Zeibig

On Fri, Aug 13, 1999 at 12:19:02PM +0200, Maria Zevenhoven wrote:
 
 Somehow I seem to be gettting problems with everything I tired to put
 /home/maria7/Maildir/ in my .qmail - file. Now my mail doesn't go into
 Mailbox, but also not in Maildir.
Did you create the maildir (not with md but with maildirmake Maildir)?

Regards
Mirko



Re: 20,000 mailboxes...

1999-08-10 Thread Mirko Zeibig

On Mon, Aug 09, 1999 at 11:47:39PM -0400, Robbie Walker wrote:
 Yeah, hotmail.com is running 20,000 [grin]
 
 it seems to work pretty darn well, considering.
 
gmx.de runs qmail as well, which is one of the german (IMHO better) answers
to hotmail.com.

Once upon a time someone in this list told (or is it on djb's site?), Redhat
would do it's lists with qmail as well.

Regards
Mirko 



small script for linuxconf

1999-08-10 Thread Mirko Zeibig


Hello,
I wrote a small script for userconf (part of linuxconf, the
redhat-system-manager), which will update some qmail-entries each time a
user is created/deleted.
What it'll do:
- create/delete a new entry in /var/qmail/users/mailnames to automatically 
  send redirect mail for [EMAIL PROTECTED] to the useraccount
- create/delete an entry in .qmail-alle (may be changed) for messages to 
  all users of the machine.
- create/delete a link from $HOME/Mailbox to /var/spool/mail/$USER for older
  pop/imap/mail-clients

To install:
- copy somewhere, make a link from useradd.local to userdel.local
- configure userconf to execute user(add|del).local after creating/deleting
  an account


Any comments are welcome!

Regards
Mirko


#!/bin/sh
. /usr/lib/linuxconf/lib/accountcmd.sh
PATH="/var/qmail/bin:$PATH"
mCMD="$(basename $0)"
HOMEDIR="/$HOMEDIR"
ALIAS_ALL=/var/qmail/alias/.qmail-alle
F_ASSIGN=/var/qmail/users/assign
F_MAILNS=/var/qmail/users/mailnames
F_PASSWD=/etc/passwd
NAME_ALIAS=$(echo "$NAME" | sed 's/\ /\./')
{
case "$mCMD" in
useradd.local)
echo "  ""Create alias: $NAME_ALIAS - $USERID"
echo "$USERID:$USERID:$NAME_ALIAS"  $F_MAILNS
echo "  ""Create $ALIAS_ALL-entry: $USERID"
echo $USERID  $ALIAS_ALL
echo "  ""Create link $HOMEDIR/Mailbox - 
/var/spool/mail/$USERID"
ln -sf $HOMEDIR/Mailbox /var/spool/mail/$USERID
chown alias.nofiles $ALIAS_PATH/.*
;;
userdel.local)
echo "  ""Delete alias: $NAME_ALIAS"
sed '/^'$USERID':/d' $F_MAILNS  $F_MAILNS.tmp  {
cp -f $F_MAILNS.tmp $F_MAILNS
rm -f $F_MAILNS.tmp
}
echo "  ""Delete $ALIAS_ALL-entry: $USERID"
sed '/^'"$USERID"'$/d' $ALIAS_ALL  $ALIAS_ALL.tmp  {
cp -f $ALIAS_ALL.tmp $ALIAS_ALL
rm -f $ALIAS_ALL.tmp
}
echo "  ""Delete mail-link /var/spool/mail/$USERID"
rm -f /var/spool/mail/$USERID
;;
esac
qmail-pw2u  $F_PASSWD  $F_ASSIGN
qmail-newu
}
exit 0



Re: assign file

1999-08-10 Thread Mirko Zeibig

On Tue, Aug 10, 1999 at 09:00:53AM -0400, Robbie Walker wrote:
 man qmail-pw2u
 man qmail-newu
 
 use this file to create an assign file from your password file. Edit this
 file to remove the unneccessary entries (ftp, nofiles, bin and others) and
Or include the unneccessary entries in /var/qmail/users/exclude

Regards
Mirko



Redirecting single address to smarthost

1999-03-04 Thread Mirko Zeibig

Hello,
I am connected to the internet by ISDN. Now I have a small mail-distribution
problem. All mail from or to MX picard.inka.de is going first to my ISPs
mail-server, now he offered the possibility to distribute single addresses
to other accounts/scripts etc.
I have set up [EMAIL PROTECTED] to be immediately delivered to a bunch of
mail addresses when coming to my ISP's server. Now from my home I want to
use this distribution mechanism as well. So mail sent to [EMAIL PROTECTED]
should always be delivered to the ISP server, where it will be distributed.
Is there a way to do this using virtualdomains o. sth.?

Thanx for your answers
Mirko

[mirko@picard mirko]$ cat /etc/qmail/control/locals
picard.inka.de
borg.picard.inka.de
localhost
[mirko@picard mirko]$ cat /etc/qmail/control/me
picard.inka.de
[mirko@picard mirko]$ cat /etc/qmail/control/smtproutes
:mail.inka.de
klingon.picard.inka.de:klingon.picard.inka.de

-- 
mailto:[EMAIL PROTECTED] myhome_aka_~:http://sites.inka.de/picard
RedHat=~/rh52_isdn.htmlteles16.3c=~/teles163c/teles163c_contents.html
XL97-Classes ~/vba-classes/
be aware of culture www.uni-karlsruhe.de/~etcetera



Re: Maildir

1999-02-17 Thread Mirko Zeibig

On Wed, 17 Feb 1999 15:25:19 -0500, 
Chris Johnson [EMAIL PROTECTED] wrote:
 On Wed, Feb 17, 1999 at 11:10:10AM -0800, Mark Zugsmith wrote:
  Sorry folks, I am brand new to qmail and I am just getting it up and
  running on a test box. I setup Maildir for my home directory and I am just
  wondering if root in fact is the owner for the users Maildir/ directory..
  -snipit---
   ls -alg Maildir/
  ls: Maildir/: Permission denied
  [mark@rati mark]$ su
  Password: 
  [root@rati mark]# ls -alg Maildir/
  total 5
 
 I don't know about completely @#$%#! up, but it's not right and won't work. As
 it stands, your Maildir and its contents are owned by root. You need to chown
 -R mark.mark ~mark/Maildir.
For your next users you should su to the user before running maildirmake. Or
better do a maildirmake (as root) in /etc/skel, so new users on your system 
will get it automatically. During creation of a new user the ownerships 
will be switched afterwards.

Regards
Mirko

-- 
mailto:[EMAIL PROTECTED] myhome_aka_~:http://sites.inka.de/picard
RedHat=~/rh52_isdn.htmlteles16.3c=~/teles163c/teles163c_contents.html
XL97-Classes ~/vba-classes/
be aware of culture www.uni-karlsruhe.de/~etcetera



Re: Sorry About - Re: Can anyone see this ?

1999-02-16 Thread Mirko Zeibig

On Tue, 16 Feb 1999 13:11:30 -0500 (EST), 
Tony D'Andrade [EMAIL PROTECTED] wrote:
   "The mail server responded:
this user has no $HOME/Maildir
Please enter a new password."
 
 I know the password is correct.  I set up $HOME/Maildir with cur/ tmp/
 new/ subdirectories and the proper permissions but i still get the same
 message.
Did you setup your Maildir with maildirmake? Try to telnet to your
POP-daemon ("telnet localhost 110"), enter USER name -| PASS passw -| and
see what happens.
Did you set your MAIL-variable to $HOME/Maildir/, the complete path should
be given.

Regards
Mirko
-- 
mailto:[EMAIL PROTECTED] myhome_aka_~:http://sites.inka.de/picard
RedHat=~/rh52_isdn.htmlteles16.3c=~/teles163c/teles163c_contents.html
XL97-Classes ~/vba-classes/
be aware of culture www.uni-karlsruhe.de/~etcetera



Re: From sendmail to Qmail

1999-02-08 Thread Mirko Zeibig

On Mon, 08 Feb 1999 22:57:47 GMT, Sam [EMAIL PROTECTED] wrote:
Robert Adams writes:
 Hello all,
 We just moved our mail server from sendmail to qmail... and I received the
 following from one of our users. Anyone have a clue on this?
 [...]
 B)  But, when I request a return receipt (I use Netscape
 Communicator/Messenger 4.05), it comes back with a message that the SMTP
 server cannot process a return receipt request.  Return receipts are one
 of the most useful functions I utilize in my mail.  Can it be turned
 back on?

No clue is required.  Qmail simply does not support DSN, a.k.a. "return
receipt".
What Robert's users may be able to do (and which is IMHO more interesting)
is a return receipt when the receipient has read the mail. However this is a
function of the MDA, so with the receipient having NS this will work,
whereas most text oriented MDAs won't. 
At least NS4.5 will act like this.

Regards
Mirko
-- 
mailto:[EMAIL PROTECTED] myhome_aka_~:http://sites.inka.de/picard
RedHat=~/rh52_isdn.htmlteles16.3c=~/teles163c/teles163c_contents.html
XL97-Classes ~/vba-classes/
be aware of culture www.uni-karlsruhe.de/~etcetera



Re: Qmail sending to 'root@localhost'

1999-01-29 Thread Mirko Zeibig

On Fri, 29 Jan 1999 08:45:19 +, Chris Naden [EMAIL PROTECTED] wrote:
/var/qmail/alias/.qmail-root
#
[EMAIL PROTECTED]
#
You have to point to a real user, like chris@gwydion (BTW is that sth.
celtic?).
Your entry will cause a loop, as qmail will use your .qmail-root again, but
since qmail is really clever, by inserting always a "Delivered to" it will
detect the loop and stop delivery.
Regards
Mirko
-- 
mailto:[EMAIL PROTECTED] myhome_aka_~:http://sites.inka.de/picard 
RedHat=~/rh52_isdn.htmlteles16.3c=~/teles163c/teles163c_contents.html
life's a http://www.uni-karlsruhe.de/~etcetera



Re: If it's not in $HOME/Maildir, where is it?

1999-01-28 Thread Mirko Zeibig

On Thu, 28 Jan 1999 13:29:45 -0800, Bob McLaren [EMAIL PROTECTED] wrote:
The MAIL=$HOME/Maildir environment variable in my /etc/profile is set
and verified.
I think this should be MAIL=$HOME/Maildir/ with an ending slash.

Regards
Mirko
-- 
mailto:[EMAIL PROTECTED] myhome_aka_~:http://sites.inka.de/picard 
RedHat=~/rh52_isdn.htmlteles16.3c=~/teles163c/teles163c_contents.html
life's a http://www.uni-karlsruhe.de/~etcetera



tool to convert/simulate Exchange to normal mbox/maildir

1999-01-24 Thread Mirko Zeibig


Hello,
I installed qmail in a company and it just runs like it should. Now these guys
want to install some workflow-program which will only work with MAPI and
Exchange´s "Shared Folders". Is there any way to simulate these sick
MS-implementations using qmail+.
Regards
Mirko
-- 
mailto:[EMAIL PROTECTED] myhome_aka_~:http://sites.inka.de/picard 
RedHat=~/rh52_isdn.htmlteles16.3c=~/teles163c/teles163c_contents.html
life's a http://www.uni-karlsruhe.de/~etcetera



forwarding is BCC?

1999-01-20 Thread Mirko Zeibig


Hello,
I now let deliver all mail from this list to a maildir and post it
afterwards with a simple batch. Now I want to send a mail to the list out of
the newsclient. I tried to simply reply and changing the to-field to
[EMAIL PROTECTED] and deleting the in-replyto this will start a new
thread.
I tried to define an "global alias" like this:
[root@picard queue]# cat /etc/qmail/alias/.qmail-qmail-liste
| forward [EMAIL PROTECTED]

But when I mailed to qmail-liste, the message was bounced at
muncher.math.uic.edu.
[EMAIL PROTECTED]:
I do not accept blind carbon copies. Please use To or Cc.

Does qmail do a BCC when forwarding messages like
above?.
Thanks for your answers
Mirko
-- 
mailto:[EMAIL PROTECTED]
surfto:http://sites.inka.de/picard



Re: claim: qmail uses more bandwidth

1999-01-13 Thread Mirko Zeibig

Just let me drop in here for a german site:
I synchronize my system-date at every dial-in with my ISP's. Oops, the turn
took over 30 seconds, scandalous ;-)!! But as I dropped to the list just 
recently, so maybe I am No. 2000 on this list ...
Regards
Mirko
 
Received: from muncher.math.uic.edu (muncher.math.uic.edu [131.193.178.181])
by mail.inka.de with smtp
id 100RwR-0001od-00; Wed, 13 Jan 1999 16:10:43 +0100
Received: (qmail 16720 invoked by uid 1002); 13 Jan 1999 15:10:09 -
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
Delivered-To: mailing list [EMAIL PROTECTED]
Received: (qmail 2898 invoked from network); 13 Jan 1999 15:10:08 -
Received: from quechua.inka.de (HELO mail.inka.de) ([EMAIL PROTECTED])
  by muncher.math.uic.edu with SMTP; 13 Jan 1999 15:10:08 -
Received: from picard.inka.de (cxxxiii.yapay.inka.de [212.227.15.7])
by mail.inka.de with smtp
id 100Rw2-0001oS-00; Wed, 13 Jan 1999 16:10:18 +0100
-- 



Re: checkpassword and Unixware

1999-01-12 Thread Mirko Zeibig

On Mon, 11 Jan 1999, Hitesh Patel wrote:
  By the way... the system does use shadow passwords and I
 think this has something to do with my problem.. i've tried including
 -lshadow but that wont work because there is no -lshadow on my unixware
 boxes...
Maybe this one is included with the checkpassword-PAM-patch available
somewhere on www.qmail.org?
Regards
Mirko
--
mailto:[EMAIL PROTECTED]
http://sites.inka.de/picard



Re: mail routing with qmail

1999-01-11 Thread Mirko Zeibig

On Mon, 11 Jan 1999, Russell Steffen wrote:
 Is there any way to set set qmail up so that it will accept all mail for
 somedomain.com, deliver mail for local accounts and then forward all the
 rest of the mail to another server?
Maybe you could start by having a /var/qmail/alias/.qmail-default-file which
will forward all unknown users to your Exchange-Server. Don't have the
syntax, but fiddle around condredirect. 
 The basic problem is that I don't want to move everybody (~300 accounts)
 at once, because I am the only admin  tech support person, and I value my
 sanity. 
So, why don't you just create a text-file and make this a batch-job. If you
setup a .qmail and Mailbox-file in your /etc/skel I guess this would be a
job of half an hour, assuming you have the text-file.
 What I wanted to do was set up a qmail box to act as a relay and
 just queue all incoming mail and forward it to the Exchange server. 
Maybe by putting
somedomain.com into rcpthosts,
somedomain.com:exchange-server.somedomain.com into smtproutes and
having the Exchange-Server as main-MX-entry in your DNS.
 Then
 as I start transitioning users and creating Unix accounts for them, their
 mail would then start to be delivered locally (and the rest would continue
 to be relayed). Then, when the last of the accounts are moved over, I can
 than stop the relay and decommision the Exchange server.
My advice would be not to mix. Just smtproute your mails to exchange until
you have set up all accounts on the unix-box.
Regards
Mirko
--
mailto:[EMAIL PROTECTED]
http://sites.inka.de/picard



Re: host name re-writing?

1999-01-09 Thread Mirko Zeibig

anoah wrote:
 i fixed this by making DNS say that this machines fqdn is
 jfh.pfeiffer.edu, and made ares.pfeiffer.edu the cname instead
 
 now all is well. why do smtp mails re-write the hostname?
 
I think you have to have a MX record pointing to both ares.pfeiffer.edu
and jfh.pfeiffer.edu in your DNS, as AFAIK SMTP does have a look for the
MX-entries to determine where to deliver.
Regards
Mirko
-- 
mailto:[EMAIL PROTECTED]
surfto:http://sites.inka.de/picard



Useful Envelopes

1999-01-08 Thread Mirko Zeibig

Hello yall,
first I have to apologize for my envelope-test mails to this list,
trying to get the explanation why mails of this list always went to
postmaster (in the end this is me as well). My ISP does delivering of
all mails to my domain in one single POP-box which I do poll by the help
of fetchmail in multi-drop mode.
Nonetheless mailing to this list was quite useful as the humble bashing
(or advising ;-)) by a list member brought me to the right insight. When
telneting to my POP it showed up that no envelope-information was
available, so only the Header-To:-Information was available.
Mailing my telneting-results to my ISP he finally had to "confess" that
he forgot to restore this information (no blaming, he changed the whole
system just two weeks ago and as its an association (club) all work is
done there on a base of honour!), which he fixed immediately.
Now I got two questions:
- Which Envelope-Information do you think to be useful?
- May I specify any of this information as well with QMail should I ever
try to set up a POP-server of my own?
Thanks a lot.
Mirko
-- 
mailto:[EMAIL PROTECTED]
surfto:http://sites.inka.de/picard



Envelope-Test

1999-01-07 Thread Mirko Zeibig

Sorry, just a test for Envelope-To: in fetchmailrc
Mirko
-- 
mailto:[EMAIL PROTECTED]
surfto:http://sites.inka.de/picard



Envelope-Test2 (Please ignore)

1999-01-07 Thread Mirko Zeibig

Sorry, but my provider told me to try envelope-to for delivery of this
list via fetchmail
-- 
mailto:[EMAIL PROTECTED]
surfto:http://sites.inka.de/picard



Re: alias and automated mail-news

1999-01-06 Thread Mirko Zeibig

Sam wrote:
 Yuck.  Use formail which comes with procmail, or reformail which comes with
 maildrop, to properly twiddle your headers.  This is not the right way to
 do it, and it will break sooner or later.
***
| { echo "Newsgroups: local.announce" ; cat - | formail -c -k -X From:
-X To: -X References: -X Message-ID: -X Mime-Version: -X Content-Type:
-X Reply-To: -X Subject: -X CC: -X BCC: } | rpost localhost -M
***
Now this seems to be better ;-). Thanks a lot
Mirko
-- 
mailto:[EMAIL PROTECTED]
surfto:http://sites.inka.de/picard



fetchmail and missing delivery-information

1999-01-06 Thread Mirko Zeibig

Hello,
my provider does collect all mail for [EMAIL PROTECTED] in one single
POP-account. I retrieve mail by the help of fetchmail in multidrop-mode,
which does work when mail is sent to different [EMAIL PROTECTED]
Mail from this list is not delivered to [EMAIL PROTECTED]
(aehm, well not directly as postmaster-mailer-daemon-root-mirko-root
qmail will send it to me at the end).
I think this is due to the to:-header containing [EMAIL PROTECTED]
Any hints? Thanks!
Mirko
PS: I know my provider does use exim as mta.
-- 
mailto:[EMAIL PROTECTED]
surfto:http://sites.inka.de/picard



OT (really): a little help for Pinter-translation

1999-01-04 Thread Mirko Zeibig

Hello,
a little sorry for doing this, but as I do not know lots of
anglo-american "natives" besides those in newsgroups and lists ...
I am doing some translation of a piece (Mountain Language) by the
british playwright Harold Pinter in my spare-time. I encountered two
expressions unknown to me, also online-dictionaries did not deliver any
results:
"The reception of Lady Duck Muck"
and 
the "babycham of Lady Duck Muck".
Any followups to 
mailto:[EMAIL PROTECTED]?subject=Pinter-Translation

I apologize and thanks a lot for your answers
Mirko
PS: BTW one week ago you could start to call the qmail-list rpm-list as
well ;-)).
-- 
mailto:[EMAIL PROTECTED]
surfto:http://sites.inka.de/picard



Re: Queueing remote deliveries at specific intervals (ala sendmail-q)?

1998-12-30 Thread Mirko Zeibig

Either you try to install the serialmail-package or just apply the
holdremote patch found at the qmail-homepage, the second one to be very
easy to configure. Just remove/add an /var/qmail/control/holdremote-file
in your ip-up/ip-down-Skripts, give qmail-send a SIGHUP and you are
gone. The advantage of the patch against serialmail is that while online
mail will be automatically sent, whereas with serialmail I had to fiddle
around with two different virtualdomain-files for the same intent.
Regards
Mirko
-- 
mailto:[EMAIL PROTECTED]
surfto:http://sites.inka.de/picard



Re: group-depending mailing list

1998-12-23 Thread Mirko Zeibig



Russell Nelson wrote:

 Mirko Zeibig writes:
   Hello,
   whenever a new user is created, he or she is member of several groups
   (all, adm, dev etc.) to gain rights using samba and to deliver mail
   automatically to every member of the group when mail is sent to all@,
   adm@ etc.
   Now I use to edit ~alias/.qmail-all, .qmail-adm etc. files and add the
   appropriate users manually. I started to write a redirect like this:
   | /var/qmail/bin/qmail-inject $(/bin/cat /etc/group | /bin/grep alle: |
   /bin/awk -F':' '{print $4}' | /bin/sed 's/,/ /g')
   which will alias cause to deliver the message but now the From adress is
   rewritten to alias, which was not my goal of course.

 Yes, the envelope sender will match the user which sent the mail.  If
 you need it to be something else you should use the -f switch to
 qmail-inject.

Hello,
this I already knew ;-). Now: how to get the sender from the message which
alias will deliver. I could of course just start a thing like getting the
"From" from the first line of the incoming message, strip of the From and use
this as sender:
| (MYFROM=$(head -1 | sed ´s/From\ //´ ; cat - ) | /var/qmail/bin/qmail-inject
-f"$MYFROM" $(/bin/cat /etc/group | /bin/grep alle: |  /bin/awk -F':' '{print
$4}' | /bin/sed 's/,/ /g')
Merry XMas
Mirko




group-depending mailing list

1998-12-22 Thread Mirko Zeibig

Hello,
whenever a new user is created, he or she is member of several groups
(all, adm, dev etc.) to gain rights using samba and to deliver mail
automatically to every member of the group when mail is sent to all@,
adm@ etc.
Now I use to edit ~alias/.qmail-all, .qmail-adm etc. files and add the
appropriate users manually. I started to write a redirect like this:
| /var/qmail/bin/qmail-inject $(/bin/cat /etc/group | /bin/grep alle: |
/bin/awk -F':' '{print $4}' | /bin/sed 's/,/ /g')
which will alias cause to deliver the message but now the From adress is
rewritten to alias, which was not my goal of course.
Any hints?
Thanx
Mirko
---
mailto:[EMAIL PROTECTED]
http://sites.inka.de/sites/picard