Postfix outbound mail problem

Discussion in 'Installation/Configuration' started by draecos, Mar 28, 2008.

  1. draecos

    draecos New Member

    Hi,

    Bit of a newbie Postfix user here.

    Ive got an issue where I have email being sent to a destination mail server that is connected to a broadband connection that has no A record but has a PTR record.

    The following line shows in the logs:

    postfix/smtpd[27005]: warning: xx.xx.xx.xx: hostname xx.xxx.xxx.xxx.co.uk verification failed: Name or service not known

    (ive removed the ip and hostname for privacy).

    How can I stop Postfix from attempting the DNS lookup when trying to deliver the mail?

    Ive tested it with emails to my Googlemail and Hotmail accounts and there are no issues as you would expect...

    Cheers,

    Dave
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Set
    Code:
    disable_dns_lookups = yes
    in /etc/postfix/main.cf and restart Postfix.
     

Share This Page