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

Re: Milters and Aliasing

Expand Messages
  • 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 1 of 7 , Jan 19, 2013
    • 0 Attachment
      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 2 of 7 , Jan 19, 2013
      • 0 Attachment
        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.