... Thanks, i am already planning to integrate Amavis with postfix after some basic testsMessage 1 of 12 , Nov 22, 2012View SourceOn Thu, Nov 22, 2012 at 12:58 PM, Ralf Hildebrandt <r@...> wrote:
> * Muhammad Yousuf Khan <sirtcp@...>:Thanks, i am already planning to integrate Amavis with postfix after
>> > and mime_header_checks with:
>> > /filename=\"(.*)\.(...)\"$/ WARN Attachment $1.$2
>> Thanks for the help. but any suggestion for the attachment size.
> Not possible with postfix alone. If you put Amavis in the loop, you
> get to see the attachment names & sizes at loglevel 2
some basic tests
> [*] sys4 AG
> http://sys4.de, +49 (89) 30 90 46 64
> Franziskanerstraße 15, 81669 München
> Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
> Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
> Aufsichtsratsvorsitzender: Joerg Heidrich
... That was the next paragraph, which you deleted: As a matter of principle, detailed content management is not built into Postfix. With Postfix, such thingsMessage 1 of 12 , Nov 22, 2012View SourceMuhammad Yousuf Khan:
> [cut]That was the next paragraph, which you deleted:
> > Postfix has built-in "WARN" actions in header_checks that can log
> > message subjects and attachment names, but there is no built-in
> > support to log details such as attachment sizes.
> if not built-in then any workaround would you like to suggest.
As a matter of principle, detailed content management is not built
into Postfix. With Postfix, such things should be done with an
external content filter or proxy.
If you are asking for cut-and-paste configuration details, then
I have to disappoint you.