Re: DNS - Postfix



On Sep 21, 2006, at 4:22 PM, Dave Kingsley wrote:
Our DNS server coughed a major hairball and our
postfix based email setup suddenly stopped working.
[ ... ]
Our problem seemd to be centered around MX records.?!

What do I need to post (file chuncks, etc.) to aid getting help?

The mailserver must have access to the DNS, or it will need to forward all email to a mail relay which does have working DNS. It is likely that if you add the IP address of a working nameserver to /etc/ resolv.conf on your mailserver, it will become happy again until you can fix your own DNS.

Otherwise, you can change the "relayhost" setting /usr/local/etc/ postfix/main.cf:

# In the case of SMTP, specify a domain, host, host:port, [host]:port,
# [address] or [address]:port; the form [host] turns off MX lookups.
#
# If you're connected via UUCP, see also the default_transport parameter.
#
#relayhost = $mydomain
#relayhost = [gateway.my.domain]
#relayhost = [mailserver.isp.tld]

Uncomment the last and replace the stuff within the square brackets with the IP address of your ISP's mailserver...

--
-Chuck


_______________________________________________
freebsd-isp@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to "freebsd-isp-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Update dns for local address space
    ... list that as your mailserver, nobody on the internet will know how to ... unless they are also part of your private network. ... reverse lookup on all connections. ... I've never mocked about with DNS in any *nix og *bsd operating systems. ...
    (comp.unix.bsd.freebsd.misc)
  • Desperate to email; Can you HELP?
    ... I have re-examined my email setup on this new installation over the last ... Broadband, A local router device, DNS provided by ATT, ... Local IP of router 192.168.1.1, Static IP for ISP network connection(external ... with IP equal to default server 192.168.16.2. ...
    (microsoft.public.windows.server.sbs)
  • Re: groupwise: 450 MX lookup failure
    ... Kann der Hausinterne DNS externe namen ... SMTP/MIME 'undeliverables' an einen anderen mailserver, ... Wieder DNS? ... eingetragen habe, aber den anderen mailserver im LAN sollte der GWIA ...
    (de.comp.sys.novell)
  • Re: 550 wont relay to...
    ... >>> im DNS eine Weile dauern aber das kann doch nicht diesen Fehler ... da hinter dem alten MX ja auch noch ein Mailserver ... >>> steht der die Mails annehmen sollte. ... Mailservern beim Provider?! ...
    (microsoft.public.de.german.exchange2000.general)
  • Re: Virtueller SMTP Fehler
    ... Da ich das aber nicht genau deuten kann poste ich mal den Quelltext: ... Ich habe nie einen MX Record in DNS eingegeben, da ich das SMTP Service rein zum senden verwenden will. ... Einen Smarthost habe ich nicht genannt, da die Domäne und der Mailserver den selben namen haben --> einen Smarthost wäre ja eine weiterleitung auf einen andern Mailserver?!? ...
    (microsoft.public.de.inetserver.iis)