10 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Maildrop problem
FromSent OnAttachments
Jérôme BlionMay 17, 2007 3:30 pm 
Jeff JansenMay 17, 2007 8:44 pm 
Jérôme BlionMay 18, 2007 4:33 am 
Aldisa AdminMay 18, 2007 5:49 am 
Jérôme BlionMay 18, 2007 6:22 am 
Alessandro VeselyMay 18, 2007 8:40 am 
moussMay 18, 2007 3:03 pm 
Jérôme BlionMay 18, 2007 7:30 pm 
Sam VarshavchikMay 18, 2007 8:21 pm 
Jérôme BlionMay 19, 2007 5:50 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Maildrop problemActions...
From:Jérôme Blion (jero@free.fr)
Date:May 18, 2007 4:33:33 am
List:net.sourceforge.lists.courier-users

Jeff Jansen a écrit :

Jérôme Blion wrote:

if( /^X-Virus-Status: INFECTED/:h ) { `echo "INFECTE" > /tmp/maildrop/virus` exit }

My mail is dropped. If I remove the if block (and all its content), everything is OK, I can receive my mails and headers are just fine (no spam, no virus)

I don't see where I'm wrong.

The 'exit' statement tells maildrop to stop processing the message and quit. (see 'man maildropfilter') So it echoes the line to the file and quits. There are no delivery instructions. I think that if you want the message delivered, then you need to remove the 'exit' line.

Hello,

My mail is clean !!! I want it to be delivered as it is NOT infected !

BR. Jerome Blion.