On Mon, Apr 12, 2010 at 12:26:09PM +0200, Rene Maroufi wrote:
> Hello,
> 
> In my smtpd.conf i have this:
> 
> map aliases { source db "/etc/mail/aliases.db" }
> 
> and:
> 
> accept from all for local deliver to maildir
> 
> If i send a mail to an alias smtpd rejected the mail. The Log says: 530
> Recipient rejected: postmas...@lofn.maroufi
> 
> I tried something and finally this works:
> 
> accept from all for local alias aliases deliver to maildir
> 
> But the Manpage doesn't say something about "for local alias aliases"
> 
> And a second error in the Manpage: The Manpage says:
> 
>  map map { [type maptype] source mapsource }
> 
> And the maptype must be db. But if i write:
> 
> map aliases { type db source "/etc/mail/aliases.db" }
> 
> Than smtpd -n says its an syntax error.
> 
> Actually map only works without maptype and aliases works only with a
> alias mapname statement in the accept rule. Thats different from the
> manpage.

Both fixed in -current.

> 
> Cheers
> Reni
> -- 
> Reni Maroufi
> i...@maroufi.net

Reply via email to