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

262342Re: virtual(8) with content_filter ??

Expand Messages
  • Wietse Venema
    Feb 1, 2010
      Jordi Espasa Clofent:
      > On 02/01/2010 01:14 PM, Wietse Venema wrote:
      > > Jordi Espasa Clofent:
      > >> Hi all,
      > >>
      > >> In my master.cf I have:
      > >>
      > >> smtp inet n - n - - smtpd -o
      > >> content_filter=filtres
      > >
      > > All mail that arrives via smtpd is filtered, even if it is sent
      > > between local users, or users in the same domain.
      > >
      > > If some mail is not filtered, then it did not arrive via smtpd.
      >
      > Thanks for response Wietse. I suspect that I'm missing something essential.
      >
      > - 44@... -> the sender
      > - 99@... -> the receipt with auto-reply enabled
      >
      > maillog shows:
      >
      > [...]
      > Feb 1 13:24:36 dadprod01 postfix/smtpd[21930]: connect from
      > 62.Red-217-126-43.staticIP.rima-tde.net[xxx.xxx.xxx.xxx]
      > Feb 1 13:24:37 dadprod01 postfix/smtpd[21930]: 9EFB0DA8F4:
      > client=62.Red-217-126-43.staticIP.rima-tde.net[xxx.xxx.xxx.xxx],
      > sasl_method=CRAM-MD5, sasl_username=a444@noverificar
      > Feb 1 13:24:37 dadprod01 postfix/cleanup[21934]: 9EFB0DA8F4:
      > message-id=<4B66C804.2050407@...>
      > Feb 1 13:24:37 dadprod01 postfix/qmgr[7392]: 9EFB0DA8F4:
      > from=<44@...>, size=656, nrcpt=1 (queue active)
      > Feb 1 13:24:37 dadprod01 postfix/smtpd[21930]: disconnect from
      > 62.Red-217-126-43.staticIP.rima-tde.net[xxx.xxx.xxx.xxx]
      > Feb 1 13:24:38 dadprod01 filtres.pl[21937]:
      > from=<44@...> to=<99@...>
      > antispam=smtp antivirus=smtp autoreply=smtp delays=0/0/0

      As you see, the content_filter works for accounts in the same
      domain. This answers your question in previous email, which is:

      ?How can I do to make content_filter works also with account
      of same domain?

      If the content filter does not produce auto-replies between users
      in the same domain, then that is a bug in the content filter.

      Wietse
    • Show all 5 messages in this topic