Under a standard OpenBSD 5.3 configuration with sendmail, if I have
an alias for root to go to root@mydomain, the standard daily security
messages and so forth show up in root's mailbox with the To header:

   To: root@mydomain

With OpenSMTPD, the same setup, with an smtpd.conf file like this:

   listen on lo0
   table aliases db:/etc/mail/aliases.db
   accept for local alias <aliases> deliver to mbox
   accept for any relay via tls://relayhost.mydomain certificate host.mydomain

Those standard messages show up with a To header like this:

   To: root

(And in some mail clients, this is displayed as "To: root@MISSING_DOMAIN")


Is there a way to get the root alias expanded to root@mydomain in the To
header in this situation?  The alias is being used, as the message is
relayed to relayhost.mydomain, not delivered to the local root mailbox on
host.mydomain.

-- 
Jim Lippard        [email protected]       http://www.discord.org/
GPG Key ID: 0xF8D42CFE


-- 
You received this email because you are subscribed to mailing list: 
[email protected]
To unsubscribe, send mail with subject:
        [[email protected]] unregister

Reply via email to