[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Using local addresses with procmail (= sendmail)



On Tue, 4 Dec 2001 14:35:24 +0100, "Jef Hendrickx" <jef@xxxxxxxxxxxx> wrote:

:>Hello,
:>
:>When playing with Procmail, I've noticed when I enter local users to forward
:>an email to, sendmail sends 24 messages until it hits too many hubs. I'm
:>sure prcomail works because when I enter e-mail-addresses outside the
:>server(RAQ3) it works fine.
:>
:>Procmailrc:
:>
:>:0c
:>* ^TOme@xxxxxxxxxxxx
:>! me@xxxxxxxxxxxxxxxxx
:>
:>=>Does not work when the 2nd e-mail address is local, when it isn't it works
:>great.
:>
:>So I'm pretty sure it has something to do with the way sendmail (doesn't)
:>deliver(s) local mail. Sendmail seems to deliver the message and then add it
:>back to the mail queue. It does add a "Recieved:"-header to the message so a
:>mail-loop is avoided.
:>
:>Things i checked already:
:>-the procmail man
:>-the procmail log
:>-o'reilly's sendmail book
:>-sendmail log
:>
:>I've tried to do my homework but since I'm not a sendmail expert, I might
:>missed it.
:>
:>Any suggestions?
:>
:>Jef

PATH=/usr/bin:/usr/local/bin
MAILDIR=$HOME/mail
LOGFILE=$MAILDIR/procmail.log
VERBOSE=no
COMSAT=no
SENDMAIL=/usr/sbin/sendmail

# Drop it directly in the pop box otherwise it will create a mail loop
# Be sure to upload this file as asci/text mode. Anything missed goes to me

:0
* ^Received:.*mtv@xxxxxxxxxxxxxx
! vanecek

:0
* ^Received:.*mev@xxxxxxxxxxxxxx
! maryv

:0
! vanecek

I have the above in a user account on a qube2 and it works fine. Not sure this
helps.