|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Accept all subdomains
From: J.R. Koiter (jrkoiter
nucleon.nl)
Date: Sat Aug 26 2006 - 05:09:21 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
I'm trying to get Postfix to accept mail for all subdomains of a certain
(virtual) domain, let's say example.nl, and to deliver it all to one and the
same mailbox. But I did not yet manage to get this to work. I'm new to Postfix
and this is what I came up with to configure this:
Relevant main.cf entries:
home_mailbox = Maildir/
virtual_mailbox_base = /home/vmail
virtual_mailbox_domains = /etc/postfix/conf/virtual_mailbox_domains
virtual_mailbox_limit = 0
virtual_mailbox_maps = regexp:/etc/postfix/conf/virtual_mailbox_maps
virtual_minimum_uid = 1000
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
/etc/postfix/conf/virtual_mailbox_domains:
example.nl
.example.nl
/etc/postfix/conf/virtual_mailbox_maps
/^joost
.*\.?example\.nl$/ example.nl/joost/
Apparently I do not yet understand how Postfix works, because I think this
should work, but it doesn't :-) The smtp server rejects mail to eg.
joost
yada.example.nl, saying that relaying is not allowed. Can someone more
experienced with Postfix point me in the right direction and save me some
valuable time?
Regards,
Joost
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]