Hi everyone.
We have 2 postfix servers, one for every email from our company and the
other inside our LAN just sending Nagios notifications. The thing is
that we need to configure the SMTP authentication in the notifications
server to allow relay. We don't want to put the server's IP on
mynetworks because we don't really trust on it.
We have all the configuration steps we found on the internet but it is
not working, we cant see any authentication attempt on the server.
Any help will be great.
Here's the configuration of the server:
[root@rt-soc ~]# postconf -n
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 = localhost
inet_protocols = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
masquerade_domains = nagios.domain.com
mydestination = $myhostname, localhost.$mydomain, localhost
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
relayhost = 172.16.18.100:25
sample_directory = /usr/share/doc/postfix-2.6.6/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_sasl_auth_enable = yes
smtp_sasl_mechanism_filter = digest-md5
smtp_sasl_password_maps = hash:/etc/postfix/sasl-passwords
smtp_sasl_security_options =
smtpd_sasl_path = inet:172.16.18.100:12345
smtpd_sasl_type = dovecot
unknown_local_recipient_reject_code = 550
Thanks in advance.
Regards.
Alfonso.