The error message that is send back to the sender is generated by
postfix and looks like this:

<-------------->
This is the mail system at host <HOSTNAME>

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The mail system
<-------------->

This is generated by postfix. I can manipulate the text using
bounce_template_file in main.cf

The mail.log looks like this:

 postfix/cleanup[25529]: 092DF1EAE84: to=<....@...>, orig_to=<@...>,
relay=none, delay=0.04, delays=0.04/0/0/0, dsn=5.7.1, status=bounced
(Eicar-Test-Signature)



On Wed, May 12, 2010 at 16:46, Noel Jones <njo...@megan.vbhcs.org> wrote:
> On 5/12/2010 9:28 AM, Markus Schwengel wrote:
>>
>> Hi all,
>>
>> I'm using postfix 2.4.6 and clamav-milter 0.9.6 to scan mails for viruses.
>> clamav-milter is set to reject mails in case of a virus found.
>> Postfix then sends a DSN to the sender with the original mail (and the
>> virus) attached.
>>
>> Is there a way to tell postfix to not include the attachment in it's DSN?
>>
>> cheers,
>>   Markus
>
>
> If you're rejecting mail with a milter, postfix does not create a DSN.
>
>  -- Noel Jones
>

Reply via email to