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

Re: Milters and Aliasing

Expand Messages
  • Noel Jones
    ... Please do not top-post. Verbose logging ignored. Provide non-verbose unaltered logging, and postconf -n of the non-working configuration, and explain
    Message 1 of 7 , Jan 18, 2013
      On 1/18/2013 4:51 PM, Amir A. wrote:
      > When I mean it doesn't work is that anytime I use any sort of
      > aliases (domain --> domain via Zimbra's GUI) or a simple forwarder
      > (userdne -------> userexists in /etc/aliases) it never works with
      > a milter however sending to the original/real addresses always works.

      Please do not top-post.
      Verbose logging ignored. Provide non-verbose unaltered logging, and
      'postconf -n' of the non-working configuration, and explain what
      isn't working as expected.

      http://www.postfix.org/DEBUG_README.html#mail




      -- Noel Jones
    • Viktor Dukhovni
      ... This milter rejects the recipient, don t use milters that reject recipient addresses you want to receive. Milters process the original address from the
      Message 2 of 7 , Jan 18, 2013
        On Fri, Jan 18, 2013 at 05:51:06PM -0500, Amir A. wrote:

        > Jan 17 11:49:02 zimbra postfix/smtpd[26986]: NOQUEUE:
        > milter-reject: RCPT from mail-ie0-f175.google.com[209.85.223.175]:
        > 550 5.1.1 User unknown; from=<ahotma@...>
        > to=<amir@...>
        > proto=ESMTP helo=<mail-ie0-f175.google.com>

        This milter rejects the recipient, don't use milters that reject recipient
        addresses you want to receive. Milters process the original address from
        the RCPT TO: command, not the results of alias expansion. Perhaps your
        milter is expecting something else.

        Don't blame the messenger, Postfix is just reporting the milter
        verdict. This sure does not look like a Postfix problem.

        --
        Viktor.
      • Jose-Marcio Martins da Cruz
        ... j-chkmail (and most milters) doesn t access any user table (aliases, ...). It can do recipient verification if you tell it to do (sometimes useful on a
        Message 3 of 7 , Jan 19, 2013
          Amir A. wrote:
          > When I mean it doesn't work is that anytime I use any sort of aliases (domain
          > --> domain via Zimbra's GUI) or a simple forwarder (userdne ------->
          > userexists in /etc/aliases) it never works with a milter however sending to the
          > original/real addresses always works.
          >
          > ++++++++++++++++++++++++++++++++++++++++++++
          >
          > This a an example of working NON-MILTERED TRANSACTION:
          >
          > Jan 16 13:19:52 zimbra postfix/smtpd[13047]: dict_proxy_lookup:
          > table=ldap:/opt/zimbra/conf/ldap-vam.cf flags=lock|fold_fix
          > key=@... -> status=0 result=@...
          > Jan 16 13:19:52 zimbra postfix/smtpd[13047]: maps_find: virtual_alias_maps:
          > proxy:ldap:/opt/zimbra/conf/ldap-vam.cf(0,lock|fold_fix):
          > @... = @...
          > Jan 16 13:19:52 zimbra postfix/smtpd[13047]: mail_addr_find:
          > amir@... -> @...

          ...

          > +++++++++++++++++++++++++++++++++++++++++++++++++++++++
          >
          > This is an example of non-WORKING MILTERED TRANSACTION

          ...

          > Jan 17 11:49:02 zimbra postfix/smtpd[26986]: NOQUEUE: milter-reject: RCPT from
          > mail-ie0-f175.google.com[209.85.223.175]: 550 5.1.1 User unknown;
          > from=<ahotma@...> to=<amir@...> proto=ESMTP
          > helo=<mail-ie0-f175.google.com>

          j-chkmail (and most milters) doesn't access any user table (aliases, ...). It
          can do recipient verification if you tell it to do (sometimes useful on a
          gateway). In this case, you shall maintain a table of valid recipients. IMHO,
          this feature is useful on a zimbra server only if it is on a border of your
          domain and you want to detect address harvest.

          If this may be your problem, please post j-chkmail logs related to this, and
          post a question to me or to j-chkmail users list as this isn't a postfix problem.


          --

          Envoyé de ma machine à écrire.
          ---------------------------------------------------------------
          Spam : Classement statistique de messages électroniques -
          Une approche pragmatique
          Chez Amazon.fr : http://amzn.to/LEscRu ou http://bit.ly/SpamJM
          ---------------------------------------------------------------
          Jose Marcio MARTINS DA CRUZ http://www.j-chkmail.org
        • Robert Schetterer
          ... for info spamass-milter has -x: pass email address through alias and virtusertable expansion works nice here Best Regards MfG Robert Schetterer -- [*] sys4
          Message 4 of 7 , Jan 19, 2013
            Am 19.01.2013 12:46, schrieb Jose-Marcio Martins da Cruz:
            > Amir A. wrote:
            >> When I mean it doesn't work is that anytime I use any sort of aliases
            >> (domain
            >> --> domain via Zimbra's GUI) or a simple forwarder (userdne ------->
            >> userexists in /etc/aliases) it never works with a milter however
            >> sending to the
            >> original/real addresses always works.
            >>
            >> ++++++++++++++++++++++++++++++++++++++++++++
            >>
            >> This a an example of working NON-MILTERED TRANSACTION:
            >>
            >> Jan 16 13:19:52 zimbra postfix/smtpd[13047]: dict_proxy_lookup:
            >> table=ldap:/opt/zimbra/conf/ldap-vam.cf flags=lock|fold_fix
            >> key=@... -> status=0
            >> result=@...
            >> Jan 16 13:19:52 zimbra postfix/smtpd[13047]: maps_find:
            >> virtual_alias_maps:
            >> proxy:ldap:/opt/zimbra/conf/ldap-vam.cf(0,lock|fold_fix):
            >> @... = @...
            >> Jan 16 13:19:52 zimbra postfix/smtpd[13047]: mail_addr_find:
            >> amir@... -> @...
            >
            > ...
            >
            >> +++++++++++++++++++++++++++++++++++++++++++++++++++++++
            >>
            >> This is an example of non-WORKING MILTERED TRANSACTION
            >
            > ...
            >
            >> Jan 17 11:49:02 zimbra postfix/smtpd[26986]: NOQUEUE: milter-reject:
            >> RCPT from
            >> mail-ie0-f175.google.com[209.85.223.175]: 550 5.1.1 User unknown;
            >> from=<ahotma@...> to=<amir@...>
            >> proto=ESMTP
            >> helo=<mail-ie0-f175.google.com>
            >
            > j-chkmail (and most milters) doesn't access any user table (aliases,
            > ...). It can do recipient verification if you tell it to do (sometimes
            > useful on a gateway). In this case, you shall maintain a table of valid
            > recipients. IMHO, this feature is useful on a zimbra server only if it
            > is on a border of your domain and you want to detect address harvest.
            >
            > If this may be your problem, please post j-chkmail logs related to this,
            > and post a question to me or to j-chkmail users list as this isn't a
            > postfix problem.
            >
            >

            for info spamass-milter has

            -x: pass email address through alias and virtusertable expansion

            works nice here


            Best Regards
            MfG Robert Schetterer

            --
            [*] 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
          Your message has been successfully submitted and would be delivered to recipients shortly.