procmail
[Top] [All Lists]

Re: Email getting eaten

2007-01-17 11:48:04
At 08:39 2007-01-17, Google Kreme wrote:
I have a user with the following .procmailrc

---$HOME/.procmailrc
DATE=`date '+%d-%b-%Y'`
LOGFILE=$HOME/pm.log
VERBOSE=ON
LOGABSTRACT=ON

:0cf:
| gzip -fc9 >> $HOME/archive-$DATE.gz

f flag for "fsck-me" ?

You're filtering, but redirecting the message into a file.  What do 
you expect will be left behind?

procmail: Extraneous copy-flag ignored

Copy and filer and output is redirected rather than left to 
stdout.  Something doesn't add up - you do the math.

the message WASN'T COPIED, but WAS FILTERED.  Since nothing remained 
on stdout after it was piped to the output file, there was an empty 
message left to be stored to the default delivery 
(/var/mail/the-user) -- not even headers (note the lack of a 
From/Subject excerpt?)

Bottom line - lose the 'f', your user is fscking himself.

However, the mail never shows up in /var/mail/the-user

Big surprise.


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>