This recipe works elsewhere for me,
but on my own linux box I can't get it
to work. Can someone interpret the log for me and suggest some
thing I can try ---- provided I haven't already? [g]
I am not able to get sendmail to work using the recipe from my Linux box
where I fetch mail for that account, but use sendmail for outgoing mail.
Even when I tried a simple
! aristotle(_at_)g0lem(_dot_)net
it still did not work from here.
Any advice appreciated.
Hank
SHELL=/bin/bash
PATH=$HOME/bin:/usr/bin:/bin:/usr/local/bin:
MAILDIR=$HOME/mail # You'd better make sure it exists
#MAILDIR=$HOME/Mail
PMDIR=$HOME/Procmail
#INCLUDERC=$PMDIR/lists.rc
#LOGFILE=$MAILDIR/procmail.log
#LOGFILE=/mail/procmail.log
#LOGFILE=/dev/null
LOGFILE=$MAILDIR/log.`date +%y-%m-%d`
# log message abstracts
LOGABSTRACT=all
SENDMAIL=/usr/sbin/sendmail
#SENDMAIL=/usr/lib/sendmail
FORMAIL=/usr/bin/formail
#VERBOSE=no
VERBOSE=yes
#LINEBUF=16384
#LINEBUF=4096
LINEBUF=32768
LOCKEXT=.lock
:0c:
BACKUP.mbx
# Reject with auto-reply (Also see Headers)
:0
* ^(To|From|Received|Reply-To|Sender):(_dot_)*aristotle(_at_)g0lem(_dot_)net
{
:0Whc
|(formail -rI "Precedence: Junk" \
-I "X-Hoser: I refuse unsolicited spam mail" \
-I "X-Eject: You are Nuked!" \
-A "X-Loop: shin(_at_)sysmatrix(_dot_)net"; \
cat $HOME/.reply \
)| $SENDMAIL -oi -t
:0
/dev/null
}
---------- Forwarded message ----------
Date: Thu, 28 Feb 2002 15:26:07 -0500
From: shin(_at_)sysmatrix(_dot_)net
Subject: /home/shin/mail/log.02-02-28
procmail: [7325] Thu Feb 28 15:26:07 2002
procmail: Assigning "LINEBUF=32768"
procmail: Assigning "LOCKEXT=.lock"
procmail: Locking "BACKUP.mbx.lock"
procmail: Assigning "LASTFOLDER=BACKUP.mbx"
procmail: Opening "BACKUP.mbx"
procmail: Acquiring kernel-lock
From aristotle(_at_)g0lem(_dot_)net Thu Feb 28 15:26:07 2002
Subject: TEST
Folder: BACKUP.mbx 920
procmail: Unlocking "BACKUP.mbx.lock"
procmail: Match on
"^(To|From|Received|Reply-To|Sender):(_dot_)*aristotle(_at_)g0lem(_dot_)net"
procmail: Executing "(formail -rI "Precedence: Junk" \
-I "X-Hoser: I refuse unsolicited spam mail" \
-I "X-Eject: You are Nuked!" \
-A "X-Loop: shin(_at_)sysmatrix(_dot_)net"; \
cat $HOME/.reply \
)| $SENDMAIL -oi -t"
procmail: Assigning "LASTFOLDER=(formail -rI "Precedence: Junk" \
-I "X-Hoser: I refuse unsolicited spam mail" \
-I "X-Eject: You are Nuked!" \
-A "X-Loop: shin(_at_)sysmatrix(_dot_)net"; \
cat $HOME/.reply \
)| $SENDMAIL -oi -t"
From aristotle(_at_)g0lem(_dot_)net Thu Feb 28 15:26:07 2002
Subject: TEST
Folder: (formail -rI "Precedence: Junk" \ -I "X-Ho 913
procmail: Assigning "LASTFOLDER=/dev/null"
procmail: Opening "/dev/null"
From aristotle(_at_)g0lem(_dot_)net Thu Feb 28 15:26:07 2002
Subject: TEST
Folder: /dev/null 920
procmail: Notified comsat: "shin(_at_)0:/dev/null"
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail