Aldisa Admin a écrit :
> 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.
Hello
- Try to answer at the end of the mail you are answering too. It's
easier to follow the discussion...
- When I remove the "if block", mails are correctly delivered.
- I don't want viruses to be delivered ! I want correct mails to be
delivered.
- Is it mandatory to have a "to" instruction at the end of the
maildroprc?
- The biggest problem I see is that my Regexp is matched whereas in
this case, this should not. So, there is something wrong in my regexp...
But I don't see where is the error.
-------------------------------------------------------------------------
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