Loading ...
Sorry, an error occurred while loading the content.
 

Re: reporting

Expand Messages
  • Muhammad Yousuf Khan
    ... Thanks for the help. but any suggestion for the attachment size.
    Message 1 of 12 , Nov 21, 2012
      On Wed, Nov 21, 2012 at 9:13 PM, Ralf Hildebrandt <r@...> wrote:
      > * Muhammad Yousuf Khan <sirtcp@...>:
      >
      >> is there any way that i can collect reports in which i can check who
      >> is the "sender" who is the "receiver" what was the mail "subject", if
      >
      > You can log this using
      >
      > header_checks with:
      > /^Subject:/ WARN
      >
      > and mime_header_checks with:
      > /filename=\"(.*)\.(...)\"$/ WARN Attachment $1.$2

      Thanks for the help. but any suggestion for the attachment size.


      >
      > --
      > [*] sys4 AG
      >

      >
    • Ralf Hildebrandt
      ... Not possible with postfix alone. If you put Amavis in the loop, you get to see the attachment names & sizes at loglevel 2 -- [*] sys4 AG http://sys4.de,
      Message 2 of 12 , Nov 21, 2012
        * Muhammad Yousuf Khan <sirtcp@...>:

        > > 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

        --
        [*] 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
      • Muhammad Yousuf Khan
        ... Thanks, i am already planning to integrate Amavis with postfix after some basic tests
        Message 3 of 12 , Nov 22, 2012
          On Thu, Nov 22, 2012 at 12:58 PM, Ralf Hildebrandt <r@...> wrote:
          > * Muhammad Yousuf Khan <sirtcp@...>:
          >
          >> > 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
          >

          Thanks, i am already planning to integrate Amavis with postfix after
          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
          >
        • Wietse Venema
          ... That was the next paragraph, which you deleted: As a matter of principle, detailed content management is not built into Postfix. With Postfix, such things
          Message 4 of 12 , Nov 22, 2012
            Muhammad Yousuf Khan:
            > [cut]
            >
            > > 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.

            That was the next paragraph, which you deleted:

            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.

            Wietse
          Your message has been successfully submitted and would be delivered to recipients shortly.