I agree for normal systems. However, in certain situations it may be useful to have a 'root' mailbox. If you have local_transport = lmtp:unix:/var/lib/imap/socket/lmtp in /etc/postfix/main.cf to make single instance store work as expected, the aliases file has no effect and postfix will deliver syslog messages to root. One can then grant access to this box for other users via Cyrus.
It's possible to use single instance store *and* use aliases, but the configuration is more convoluted:
- remove your domain from "mydestination" - add it to "relay_domains" - activate transport_map, e.g,
"transport_map = hash:/etc/postfix/transport"
- activate virtual_map, e.g.,
"virtual_maps = hash:/etc/postfix/virtual"
- in /etc/postfix/transport:
your.domain lmtp:unix:/your/lmtp/socket
-put your aliases in /etc/postfix/virtual:
[EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
(note that the third line will deliver mail to a top level shared folder, the last line will map to an address in localhost which in turn will use /etc/postfix/aliases)
- postmap /etc/postfix/virtual - postmap /etc/postfix/transport
Aliases for "your.domain" will be managed through the virtual map, while all other aliases will follow the mapping in aliases.
I hope I did not forget any step
Bye -- Luca Olivetti Wetron Automatización S.A. http://www.wetron.es/ Tel. +34 93 5883004 Fax +34 93 5883007