procmail
[Top] [All Lists]

R: [pro] Emails not retrieved automatically

2007-10-18 23:57:42
Ruud wrote:

Charles Gregory schreef:

you set the EXITCODE anywhere in your procmailrc? I've noticed
that postfix tends to take a failure code from procmail and treat it
as a program failure rather than as a 'rejected delivery'. And so it
'falls back' to its own internal delivery routines.

Ah, maybe this is an answer for Francesco too. 
Francesco, better show us your complete procmailrc. 

Thank you Ruud,
here it is:

/etc/procmailrc :
----------------------------------
DROPPRIVS=yes
SHELL=/bin/sh
GPMDIR=/usr/local/procmail
COMSAT=no
LOGFILE=/tmp/procmail
VERBOSE=yes
MAILDIR=$HOME/Maildir
DEFAULT=$HOME/Maildir/

INCLUDERC=$GPMDIR/antispam.prc
INCLUDERC=$GPMDIR/block.prc

# EOF
-----------------------------------


/usr/local/procmail/antispam.prc :
-----------------------------------
DROPPRIVS=yes
:0fw
* !^X-Givi: yes
| /usr/bin/spamc -s 256000
-----------------------------------


/usr/local/procmail/block.prc :
------------------------------------
:0
* ^From:(_dot_)*f\(_dot_)abeni(_at_)mydomain\(_dot_)it
* !^TO_(_dot_)*(_at_)mydomain\(_dot_)it
* !^TO_(_dot_)*(_at_)myotherdomain\(_dot_)com
* !^TO_(_dot_)*(_at_)myanotherdomain \.it
/tmp

# EOF
------------------------------------

Could those "# EOF" be the cause of this behaviour?

--
Francesco Abeni
f(_dot_)abeni(_at_)givi(_dot_)it



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