Postfix yüklü sistemlerde giden mailleri, direk göndermek yerine, relay sunucusunun üzerinden göndermek için relayhost tanımını kullanırız.
http://www.postfix.org/postconf.5.html#relayhost
/etc/postfix/main.cf:
http://www.postfix.org/postconf.5.html#relayhost
/etc/postfix/main.cf:
# INTERNET OR INTRANET
# The relayhost parameter specifies the default host to send mail to
# when no entry is matched in the optional transport(5) table. When
# no relayhost is given, mail is routed directly to the destination.
#
# On an intranet, specify the organizational domain name. If your
# internal DNS uses no MX records, specify the name of the intranet
# gateway host instead.
#
# 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]
#relayhost = uucphost
#relayhost = [an.ip.add.ress]
Yorumlar
Yorum Gönder