Hello list,
I have decided to test out the latest version of OpenSMTPD and for the most
part it is working well. Incoming emails are handled properly. However, I
cannot send emails to anyone outside of my server and I am having trouble
determining why. Below is my smtpd.conf file:
pki mail cert "/etc/ssl/mail.crt"
pki mail key "/etc/ssl/private/mail.key"
table aliases file:/etc/mail/aliases
table domains file:/etc/mail/domains
table credentials file:/etc/mail/credentials
table virtuals file:/etc/mail/virtuals
table secrets file:/etc/mail/secrets
# Listeners
#
listen on lo0
listen on lo0 port 10028 tag DKIM
listen on egress tls pki mail hostname "mail.blackcatenterprises.co"
listen on egress port submission tls-require pki mail \
hostname "mail.blackcatenterprises.co"
# Actions
#
action "local" mbox alias <aliases>
action "domains" lmtp "/var/dovecot/lmtp" rcpt-to virtual <virtuals>
action "dkim" relay host smtp://127.0.0.1:10027
action "outbound" relay host tls+auth://[email protected]:587 \
auth <secrets>
# Matches
#
match for local action "local"
match from any for domain <domains> action "domains"
match tag DKIM action "outbound"
match for any action "dkim"
When I try to send an email message to myself, I get the following error:
Jun 28 18:44:47 panther smtpd[30423]: ad8e51d16395db47 smtp
event=failed-command address=192.168.1.1
host=FIOS_Quantum_Gateway.fios-router.home command="RCPT TO:<
[email protected]>" result="550 Invalid recipient"
Any help would be greatly appreciated.
Thanks,
Matt