OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Using a mix of local delivery and virtual domains

0xc0000022lgmail.com
Date: Fri Aug 25 2006 - 11:16:01 CDT


Hi,

I am currently using a setup
where I am using primarily virtual domains and users. However, I'd
like to deliver some of the
mails to a local account (such as root), but to no avail. I did not succeed
in getting this to
run. The Postfix book by Kyle Dent is of no help in this specific
case, so I decided to post here. If I have overlooked something in the
list
archive, just point me to it.

Thanks in advance for any helpful comments.

Partial main.cf
-----------------------------------------------------
myhostname = <the "primary" hostname>
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = localhost, localhost.localnet
local_recipient_maps = unix:passwd.byname $alias_maps
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command =
mailbox_size_limit = 0
home_mailbox = Maildir/
recipient_delimiter = +
inet_interfaces = all
transport_maps = mysql:/etc/postfix/virtual_domains-...
virtual_alias_domains =
virtual_alias_maps = mysql:/etc/postfix/virtual_forwardings-...
virtual_mailbox_maps = mysql:/etc/postfix/virtual_mailboxes-...
virtual_mailbox_domains = mysql:/etc/postfix/virtual_domains-...
virtual_mailbox_base = /home/vmail
-----------------------------------------------------