[Top] [All Lists]

Email getting eaten

2007-01-17 09:57:31
I have a user with the following .procmailrc

DATE=`date '+%d-%b-%Y'`

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


This shows up in the logs:

Jan 17 09:27:05 akane postfix/local[49448]: B64EB118B5CC: to=<the- 
user(_at_)mail(_dot_)covisp(_dot_)net>, orig_to=<the-user>, relay=local, 
status=sent (delivered to command: /usr/local/bin/procmail -t -a  

procmail: [49895] Wed Jan 17 09:27:05 2007
procmail: Assigning "LOGABSTRACT=ON"
procmail: Locking "/home/the-user/archive-17-Jan-2007.gz.lock"
procmail: Extraneous copy-flag ignored
procmail: Executing " gzip -fc9 >> $HOME/archive-$DATE.gz"
procmail: Unlocking "/home/the-user/archive-17-Jan-2007.gz.lock"
procmail: Bypassed locking "/var/mail/the-user.lock"
procmail: Assigning "LASTFOLDER=/var/mail/the-user"
procmail: Opening "/var/mail/the-user"
procmail: Acquiring kernel-lock
procmail: Notified comsat: "the-user(_at_)560:/var/mail/the-user"
   Folder: /var/mail/the-user

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

the /var/log/procmail looks like this:

20070117092705: TOPD="",
FromU="root", DFrom="", FromD="",
Subject="test #3", Relayhost="",
From="root(_at_)mail(_dot_)covisp(_dot_)net (Charlie  
Root)", EnvTo="", EnvFrom"root(_at_)mail(_dot_)covisp(_dot_)net"
User the-user(_at_)akane(_dot_)covisp(_dot_)net has a .procmailrc, processing...

And the /etc/procmailrc ends with:

LOG="User $LOGNAME(_at_)$HOST has a .procmailrc, processing...$NL"

So the /etc/procmailrc is completing, the headers all look right, but  
somewhere the message is getting eaten.  If I remove the  
users .procmailrc, then mail is delivered normally to /var/mail/the-user

And, while I am here, why is there a "procmail: Extraneous copy-flag  
ignored" error?

"What's a Velvet Underground?"
   "You wouldn't like it."
"Oh, Be-bop."

procmail mailing list   Procmail homepage:

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