On Mon, 2005-07-11 at 10:09 +0700, Saran Toochinda wrote:
> Hi,
>  I have set up postfix as a gateway mail relay on a linux box at our
office. 
> This gateway only connect to the internet during office hours and has 
> no DNS record anywhere. Initially I configure it to send mail directly 
> to the internet without using any intermediate host. It's work fine 
> for most of our client's mail servers. However, some of them refuse 
> our mail because it can't find reverse DNS records of our mail 
> gateway. So I have to use relayhost for these client's (using
transport_maps). I used to use 'MDaemon'
> mail server on W2K machine, it has a nice option saying that 'delivery 
> undelivered mail to this host if it can't directly send for any reason'.

If you do not have DNS entries for your mail server because your host
addresses change then contact your ISP about using one of their mail
servers.  

If you have a static address for the mail server I would suggest that you
put an entry in DNS.  It does not need to be a MX record (if it only sends
mail) and it does not need to say anything other than host123.abc.com.  The
mail relay server simply needs to announce the name to the systems it
connects.

Set the host name in the postfix main.cf file to be the same as the DNS
record.

myhostname = host123.abc.com

# You MUST specify $myhostname at the start of the text. That is an
# RFC requirement. Postfix itself does not care.
#
smtpd_banner = $myhostname  MAILRELAY NO UCE ESMTP

John

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to