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

Forwarding with virtual_alias_maps ...open-relay ?

Expand Messages
  • dums2000@voila.fr
    Hello, ( From France !) I have postfix installed with virtual domain using LDAP maps, amavisd-new and spamassassin. My problem : I have LDAP users, and I use
    Message 1 of 1 , Oct 4, 2006
    • 0 Attachment

      Hello, ( From France !)

      I have postfix installed with virtual domain using LDAP maps, amavisd-new and spamassassin.

      My problem :

      I have LDAP users, and I use virtual_alias_maps to forward mails to users who want mail to their other adress.But in the mailq, It seems my smtpd_sender_restrictions (with RBL restrictions) are not used, and so I think I'm going to be considered as an open relay :

      Example, in my mailq, I have :

      1st Example :

      06846124085     2561 Wed Oct  4 19:29:06  arthurbrooks@...
      (host mx1.mail.yahoo.com[67.28.113.73] said: 451 mta209.mail.re4.yahoo.com Resources temporarily unavailable. Please try again later.  [#4.16.4:70]. (in reply to end of DATA command))
                                               my-user-forwading-mail
      @...

      --> so It seems Yahoo don't want to accept mail. ( Is my smtpd_sender_restrictions failed ??? )

      2nd Example :

      9201E124077    19770 Wed Oct  4 19:45:31  bounce@...
      (Host or domain name not found. Name service error for name=yahoo.fr type=MX: Host not found, try again)
                                              my_user_forwarding-mail
      @...

      --> I'm very worry about this DNS lookup failure, Only happened when mails to my users with forwarding mails

      So , I don't understand, I think my smtpd_sender_restrictions failed when users have forwarding mails in virtual_alias_maps, but Am I right ????

      Thanks to help me so ...my mailq grows ....

      This is my ‘postconf –n’

      alias_maps = hash:/etc/postfix/aliases

      allow_mail_to_commands = alias,forward,include

      allow_mail_to_files = alias,forward,include

      append_dot_mydomain = yes

      biff = no

      canonical_maps = ldap:canonical1

      config_directory = /etc/postfix

      content_filter = smtp-amavis:[127.0.0.1]:10024

      delay_warning_time = 4h

      inet_interfaces = all

      local_recipient_maps = ldap:accounts ldap:accountsbackup1 $alias_maps $virtual_alias_maps

      maps_rbl_domains = blackholes.mail-abuse.org, dialups.mail-abuse.org, relays.mail-abuse.org, rbl.maps.vix.com, dul.maps.vix.com

      message_size_limit = 10000000

      mydestination = localhost.localdomain

      mydomain = ifma.fr

      myhostname = mail.ifma.fr

      mynetworks = 172.16.0.0/16 , 172.17.0.0/16 , 192.168.0.0/16, 192.168.159.202, 193.54.231.20

      mynetworks_style = subnet

      myorigin = $mydomain

      propagate_unmatched_extensions = canonical, virtual, alias,forward, include

      recipient_bcc_maps = ldap:bcc1

      smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandrake Linux)

      smtpd_client_restrictions = permit_mynetworks

      smtpd_helo_required = no

      smtpd_recipient_restrictions = reject_non_fqdn_sender,    permit_mynetworks,    reject_unauth_destination,    reject_rbl_client blackholes.wirehub.net,    reject_rbl_client bl.spamcop.net,    reject_rbl_client list.dsbl.org,    reject_rbl_client dnsbl.njabl.org,    reject_rbl_client relays.ordb.org,    reject_rbl_client dynablock.wirehub.net,    reject_rbl_client opm.blitzed.org,    permit

      smtpd_sender_restrictions = reject_non_fqdn_sender,    reject_unknown_sender_domain,    permit_mynetworks,    reject_rbl_client blackholes.wirehub.net,    reject_rbl_client bl.spamcop.net,    reject_rbl_client list.dsbl.org,    reject_rbl_client dnsbl.njabl.org,    reject_rbl_client relays.ordb.org,    reject_rbl_client dynablock.wirehub.net,    reject_rbl_client opm.blitzed.org,    permit

      transport_maps = hash:/etc/postfix/transport , ldap:transport1, ldap:transportbackup1

      unknown_local_recipient_reject_code = 450

      virtual_alias_maps = hash:/etc/postfix/virtual

      virtual_gid_maps = static:1001

      virtual_mailbox_base = /var/spool/vmail

      virtual_mailbox_domains = ifma.fr, backup1.ifma.fr

      virtual_mailbox_maps = ldap:homedir , ldap:backupdir1

      virtual_uid_maps = static:1001

       

       

       

       

       

       

    Your message has been successfully submitted and would be delivered to recipients shortly.