procmail
[Top] [All Lists]

Runaway newlines

2002-06-24 17:49:18
Hi,

I got a weird problem with procmail. I got 2 diffrent script checking email messages. Both return either everything with an extra header or nothing. But when I check the size of the inbox of the user, it's 2 bytes big. It contains 2 newlines. This would cause the mailbox to function inproperly. But I can't figure out what causes these 2 newlines. First I thought one of the script might return those newlines, but I couldn't see any output when I should not and only lots of output when I has to. Maybe something could be wrong in the procmailrc file

I got this .procmailrc file:

DNSBL = /usr/local/bin/dnsbl.pl
VIRUS = /usr/local/bin/checkvirus.pl
SPAMFILE = /spam.file
LOCKEXT = .lock

:0 fhwb
| $VIRUS $HOME

:0
* ^X-VIRUSCHECK: Found
# well... rejected
/dev/null

:0 fhw
| $DNSBL

:0 :headc$LOCKEXT
* ^X-DNSBL: REJECT
| cat >> $HOME/$SPAMFILE


Can anybody help me out with this?


Thanks in Advanced,


Frank de Bot!

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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