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

Re: smtp_generic_maps and localhost/content_filter

Expand Messages
  • Ralf Hildebrandt
    ... Let s ask :) -- Ralf Hildebrandt (Ralf.Hildebrandt@charite.de) snickebo@charite.de Postfix - Einrichtung, Betrieb und Wartung Tel. +49
    Message 1 of 4 , Sep 1, 2008
    • 0 Attachment
      * mouss <mouss@...>:

      > == main.cf
      >
      > content_filter=filter:[127.0.0.1]:10024
      >
      > == master.cf
      > filter ..... smtp
      > -o smtp_generic_maps=
      > ...
      >
      > do?

      Let's ask :)

      --
      Ralf Hildebrandt (Ralf.Hildebrandt@...) snickebo@...
      Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155
      http://www.arschkrebs.de I'm looking for a job
      Die Sinnlosigkeit einer Erfindung wird erst dann vollends
      deutlich, wenn sie zertifiziert ist.
    • mouss
      ... I just tested it and it works. I think it s worth adding to the docs, including amavisd-new postfix readme. by default, the sender is rewritten (the
      Message 2 of 4 , Sep 1, 2008
      • 0 Attachment
        Ralf Hildebrandt wrote:
        > * mouss <mouss@...>:
        >
        >> == main.cf
        >>
        >> content_filter=filter:[127.0.0.1]:10024
        >>
        >> == master.cf
        >> filter ..... smtp
        >> -o smtp_generic_maps=
        >> ...
        >>
        >> do?
        >
        > Let's ask :)
        >

        I just tested it and it works. I think it's worth adding to the docs,
        including amavisd-new postfix readme.


        by default, the sender is rewritten (the "foobar" address was just added
        to generic).

        Sep 1 22:36:45 imlil amavis[1607]: (01607-05) Passed CLEAN, [127.0.0.1]
        [127.0.0.1] <mouss-foobar@...> -> <mouss@...>,
        Message-ID: ...

        with it -o smtp_generic_maps=, the filter sees the original sender:

        Sep 1 22:38:19 imlil amavis[1643]: (01643-06) Passed CLEAN, [127.0.0.1]
        [127.0.0.1] <foobar@...> -> <mouss@...>, Message-ID: ...
      Your message has been successfully submitted and would be delivered to recipients shortly.