Hello,

I'm new to postfix and I inherited a server that was already configured with the below. I need to relay subdomain.ni.example.com to another server. I looked at the documentation and it seemed pretty straight forward until I ran into the fact that the ni.example.com was already being relayed. What I found interesting is that it is being relayed to local (I think) and the previous admin is using the luser_relay.

Can you help me relay subdomain.ni.example.com to another host (mailhost2.ni.example.com) without breaking what is already in place and working?

Thanks,
Hank

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = $myhostname, localhost
inet_protocols = all
local_recipient_maps =
luser_relay = [email protected]
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = ni.example.com
myhostname = engbook.ni.example.com
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
recipient_delimiter = +
relay_domains = $mydestination
sample_directory = /usr/share/doc/postfix-2.6.6/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_enforce_tls = no
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_tls_loglevel = 1
smtpd_use_tls = yes
unknown_local_recipient_reject_code = 550

Reply via email to