I'm having trouble getting OpenSMTPD's aliases to resolve at all. I
would be grateful for any suggestions. I'm very much liking the simple
config and the way it operates otherwise. Using -current, I have the
following:
smtpd.conf:
listen on lo0
listen on em0 port 587 tls enable auth
listen on em0
map aliases { source db "/etc/mail/aliases.db" }
accept for local deliver to mda "procmail -f -"
accept from all for domain svartalfheim.net deliver to mda "procmail -f -"
accept from all for domain oppositeofpeople.org deliver to mda "procmail
-f -"
accept from all for domain brosemer.org deliver to mda "procmail -f -"
accept from all for domain gleipnir.org deliver to mda "procmail -f -"
accept from all for domain humphreyaircraft.com deliver to mda "procmail
-f -"
accept from local for all relay
aliases (I made one line for testing - added the domain because of
googling for errors):
dan: o...@svartalfheim.net
And I have run newaliases which said:
/etc/mail/aliases: 1 aliases
If I do the following:
mail -s Test d...@brosemer.org < procmail.log
My mail logs show this (with verbose logging):
Jun 10 05:01:36 laufey smtpd[17871]: smtp_new: incoming client on
listener: 0x835e20
Jun 10 05:01:36 laufey smtpd[17871]: session_pickup: greeting client
Jun 10 05:01:36 laufey smtpd[17871]: command: EHLO args: localhost
Jun 10 05:01:36 laufey smtpd[17871]: command: MAIL FROM args:
<o...@laufey.svartalfheim.net>
Jun 10 05:01:36 laufey smtpd[17871]: session_rfc5321_mail_handler:
sending notification to mfa
Jun 10 05:01:36 laufey smtpd[17871]: smtp: got imsg_mfa_mail/rcpt
Jun 10 05:01:36 laufey smtpd[17871]: smtp: imsg_queue_create_message
returned
Jun 10 05:01:36 laufey smtpd[17871]: command: RCPT TO args:
<d...@brosemer.org>
Jun 10 05:01:36 laufey smtpd[17871]: smtp: got imsg_mfa_mail/rcpt
Jun 10 05:01:36 laufey smtpd[17871]: bd6df05b:
from=<o...@laufey.svartalfheim.net>, relay=1000@localhost [IPv6:::1],
stat=LocalError (530 5.0.0 Recipient rejected: d...@brosemer.org)
Jun 10 05:01:36 laufey smtpd[17871]: session_destroy: killing client:
0x20ba16000