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

Re: smtp_generic_maps and localhost/content_filter

Expand Messages
  • 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 1 of 4 , Sep 1, 2008
      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.