smtpd: Aliases only work with for local alias aliases

Previous thread: none

Next thread: new mail notifications stopped working by Andreas Gerdd on Monday, April 12, 2010 - 5:15 am. (6 messages)
From: Rene Maroufi
Date: Monday, April 12, 2010 - 3:26 am

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: postmaster@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.

Cheers
Reni
-- 
Reni Maroufi
info@maroufi.net

From: Jacek Masiulaniec
Date: Tuesday, April 20, 2010 - 1:22 pm

Previous thread: none

Next thread: new mail notifications stopped working by Andreas Gerdd on Monday, April 12, 2010 - 5:15 am. (6 messages)