-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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.
Jeff Jansen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGTSE9GfIHDMaiC9cRAub7AJ938/FBRK9DQ+Vr+UuN+OxFEkeWHACgrRss
5IszAqbRnZXzY5HDf0eItSY=
=DxIG
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users