procmail
[Top] [All Lists]

Email getting eaten

2007-01-17 09:57:31
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

---EOF


This shows up in the logs:

---MAILLOG
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, 
delay=0,  
status=sent (delivered to command: /usr/local/bin/procmail -t -a  
"$EXTENSION")
---MAILLOG

---$HOME/pm.log
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
---$HOME/pm.log

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


the /var/log/procmail looks like this:

---/var/log/procmail
20070117092705: TOPD="covisp.net",
FromU="root", DFrom="", FromD="mail.covisp.net",
Subject="test #3", Relayhost="",
To="the-user(_at_)mail(_dot_)covisp(_dot_)net", 
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...
---/var/log/procmail

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: 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>