On Fri, Jun 10, 2011 at 10:58:09AM -0400, Daniel Brosemer wrote:
> 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
> 

OHAI !

Your smtpd.conf is invalid and I am responsible for this.
I have documented how to setup aliases but I did not update the examples... 
Will fix that tonight

Here's how it should read:

        map "myaliases" { source db "/etc/mail/aliases.db" }

        accept for local alias myaliases deliver to mbox
                         ^^^^^^^^^^^^^^^

Gilles

-- 
Gilles Chehade
http://www.poolp.org

Reply via email to