Conall O'Brien <conall at conall.net> 88 lines of wisdom included:
> After digging around postfix.org and google a little bit, I know I want
> to implement virtual mappings and aliases for the first item on my list.
> Problem is, after following these instructions [1], and adding these
> lines to my main.cf:
>> virtual_mailbox_domains = a.example.net, b.example.net
> virtual_mailbox_maps = hash:/etc/postfix/virtual/mailboxes
> virtual_alias_maps = hash:/etc/postfix/virtual/maps
Ordinarily, you're going to want to set more than that including:
virtual_mailbox_base
virtual_uid_maps
virtual_gid_maps
This is the specific part of the document you want:
http://tardis.linux.ie/2228/www.porcupine.org
assuming you're trying to use domains with non-UNIX accounts.
Make sure you're using a relatively up-to-date Postfix (2.0+). Use
``postconf -d mail_version'' to get the version.
> Postfix won't accept any mail (citing error 554 - relay access denied),
> even to $mydestination DNS records. maps is an empty file, mailboxes
> is simply a catch-all setup for a.example.net and b.example.net
You need to start looking at your maillog (or mail.log) file in
/var/log.
> My other, more trivial question is regarding mailbox extensions. On my
> Red Hat box and numerous Debian boxes, I've set
>> $mailbox_delimiter = +
The parameter in question is
recipient_delimiter
no '$' and replace 'mailbox' with 'recipient'.
# postconf -n | grep delimiter
recipient_delimiter = +
--
Philip Reynolds | RFC Networks Ltd.
philip.reynolds at rfc-networks.ie | +353 (0)1 8832063
http://people.rfc-networks.ie/~phil/ | www.rfc-networks.ie
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!