OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: DSN without attachment?

From: Markus Schwengel (markus.schwengelgooglemail.com)
Date: Sat May 15 2010 - 01:57:00 CDT


On Fri, May 14, 2010 at 16:53, Wietse Venema <wietseporcupine.org> wrote:
> Noel Jones:
>> > So the question remains the same: How can i tell postfix to not
>> > include the original message in the DSN or at least strip the
>> > attachment?
>>
>> This might help:
>> http://www.postfix.org/postconf.5.html#bounce_size_limit
>>
>> But for locally submitted mail it might be better to use the
>> quarantine function of your milter.
>
> This will effectively enforce "sendmail -R hdrs" (return headers
> only) when the global bounce_size_limit limit is set to a small
> value.
>
>        Wietse
>

In this case I don't like the quarantine function because users
(senders) should get some kind of notice that their mail was rejected
because of a virus. With quarantine the mail is put into the hold
queue and nothing else happens.

I'll give bounce_size_limit a try, thank you.

Markus

Markus