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

Re: virtual(8) with content_filter ??

Expand Messages
  • Wietse Venema
    ... 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
    Message 1 of 5 , Feb 1, 2010
    View Source
    • 0 Attachment
      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.

      Wietse
    • Jordi Espasa Clofent
      ... Thanks for response Wietse. I suspect that I m missing something essential. - 44@dadprod01.mcario.com - the sender - 99@dadprod01.mcario.com - the
      Message 2 of 5 , Feb 1, 2010
      View Source
      • 0 Attachment
        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
        Feb 1 13:24:38 dadprod01 postfix/smtpd[21939]: connect from
        localhost.xxxx.xxxx[127.0.0.1]
        Feb 1 13:24:38 dadprod01 postfix/smtpd[21939]: 0852CDA8F5:
        client=localhost.xxxx.xxxx[127.0.0.1]
        Feb 1 13:24:38 dadprod01 postfix/cleanup[21934]: 0852CDA8F5:
        message-id=<4B66C804.2050407@...>
        Feb 1 13:24:38 dadprod01 postfix/qmgr[7392]: 0852CDA8F5:
        from=<44@...>, size=840, nrcpt=1 (queue active)
        Feb 1 13:24:38 dadprod01 postfix/smtpd[21939]: disconnect from
        localhost.xxxx.xxxx[127.0.0.1]
        Feb 1 13:24:38 dadprod01 postfix/pipe[21936]: 9EFB0DA8F4:
        to=<99@...>, relay=filtres, delay=0.61,
        delays=0.27/0.01/0/0.32, dsn=2.0.0, status=sent (delivered via filtres
        service)
        Feb 1 13:24:38 dadprod01 postfix/qmgr[7392]: 9EFB0DA8F4: removed
        Feb 1 13:24:38 dadprod01 postfix/virtual[21940]: 0852CDA8F5:
        to=<99@...>, relay=virtual, delay=0.13,
        delays=0.11/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
        Feb 1 13:24:38 dadprod01 postfix/qmgr[7392]: 0852CDA8F5: removed
        (...)

        ¿?



        --
        I must not fear. Fear is the mind-killer. Fear is the little-death that
        brings total obliteration. I will face my fear. I will permit it to pass
        over me and through me. And when it has gone past I will turn the inner
        eye to see its path. Where the fear has gone there will be nothing. Only
        I will remain.

        Bene Gesserit Litany Against Fear.
      • Wietse Venema
        ... 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
        Message 3 of 5 , Feb 1, 2010
        View Source
        • 0 Attachment
          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
        • Jordi Espasa Clofent
          ... Completey clear now. Thanks for aclaration. -- I must not fear. Fear is the mind-killer. Fear is the little-death that brings total obliteration. I will
          Message 4 of 5 , Feb 1, 2010
          View Source
          • 0 Attachment
            > If the content filter does not produce auto-replies between users
            > in the same domain, then that is a bug in the content filter.

            Completey clear now.
            Thanks for aclaration.


            --
            I must not fear. Fear is the mind-killer. Fear is the little-death that
            brings total obliteration. I will face my fear. I will permit it to pass
            over me and through me. And when it has gone past I will turn the inner
            eye to see its path. Where the fear has gone there will be nothing. Only
            I will remain.

            Bene Gesserit Litany Against Fear.
          Your message has been successfully submitted and would be delivered to recipients shortly.