Hello Shawn, 

[email protected] (Shawn Wallbridge), 2012.03.19 (Mon) 09:20 (CET):
> I am setting up a new mail server using OpenBSD 5.0. Initially this
> was the smtpd.conf I went with, based on the guide on calomel.org
> (https://calomel.org/opensmtpd.html) and this post on daemon forums
> (http://www.daemonforums.org/showthread.php?t=6228).
> 
> # cat /etc/mail/smtpd.conf
> <snip>
> map "virtual" { source db "/etc/mail/virtual.db" }
> <snip>
> accept from all for domain "domain1.com" alias "virtual" deliver to maildir
> accept from all for domain "domain1.org" alias "virtual" deliver to maildir
> accept from all for domain "domain1.net" alias "virtual" deliver to maildir
> <snip>
> 
> # cat /etc/mail/virtual
> 
> # Tried both with and with out : separators
> [email protected]      user1
> [email protected]      user2
> [email protected]      user3
> [email protected]  user4

take a look at ``usr.sbin/smtpd/makemap.8'' and prepend 
``domain1.com: true''
``domain2.org: true''
etc., where ``true'' can be replaced by any string. 

bye, Marcus

Reply via email to