Subject: procmail strange behavior...
To: None <netbsd-help@netbsd.org>
From: Samuel Hornus <Samuel.Hornus@crans.org>
List: netbsd-help
Date: 07/25/2001 19:35:04
Saluto,

Reading verbose logs from fetchmail and procmail, I discovered that
fetchmail do not erase mails in the mail server because it believes that
procmail has not delivered them properly :
`mda did not return null value : keeping mail'
BUT the procmail logfile tells me everything is fine and indeed, the mail
arrives to the right destination !
so that every 60 seconds I receive the same mails + the new mails. and so
on...

here are my rc-files for these funky programs :

any HELP would be GREATLY appreciated :-)

------------------------------------------------------------
.fetchmailrc
------------------------------------------------------------
set postmaster "kusanagi"
set bouncemail
set no spambounce
set properties ""
set daemon 60
poll ptt.crans.org with proto POP3
       user 'hornus' there with password * is 'kusanagi' here ssl mda "/usr/pkg/bin/procmail -Y -d %T"

------------------------------------------------------------

*****

------------------------------------------------------------
.promailrc
------------------------------------------------------------
PATH=/bin:/usr/bin:/usr/pkg/bin
MAILDIR=/home/kusanagi/Incoming
ORGMAIL=$MAILDIR/probleme
LOGFILE=/home/kusanagi/.ProcMailLog
DEFAULT=$MAILDIR/divers

SHELL=/bin/sh

UMASK=077

VERBOSE="on"

:0c
* ^From.*kusanagi
* ^Subject: Statistiques procmail
stat-procmail

:0:
* ^From.*hornus
hornus

:0:
* ^TO.*netbsd
netbsd

:0:
divers
------------------------------------------------------------

-- 
Samuel.