You still need to add delivery instructions at the end of the script.
Please refer to following in the docs:
http://www.courier-mta.org/maildropfilter.html#to
Hope this helps.
Abid
On 18-May-07 7:33 AM, Jérôme Blion wrote:
> 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.
>>
>> Jeff Jansen
>>
>>
>
> Hello,
>
> My mail is clean !!! I want it to be delivered as it is NOT infected !
>
> BR.
> Jerome Blion.
>
>
> -------------------------------------------------------------------------
> 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
>
-------------------------------------------------------------------------
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