> On Wed, Jul 08, 2009 at 04:04:33PM -0400, [email protected] wrote: > >> alias_maps = dbm:/etc/postfix/aliases, dbm:/etc/newcompany/aliases, >> nis:mail.aliases > > Are you sure you want a local aliases(5) file and not a virtual(5) aliases > file? Generally, and especially for non-system users, the latter is better.
I was under the impression that virtual was to affect an entire domain, not just a subset of users belonging to the same domain. If I am mistaken, then would this work best? (I can't yet get rid of dbm:/etc/postfix/aliases): /etc/postfix/main.cf: # # Below commented as I do not believe I need this entry. # virtual_alias_domains = example.com # virtual_alias_maps = hash:/etc/postfix/virtual alias_maps = dbm:/etc/postfix/aliases, nis:mail.aliases /etc/postfix/virtual: [email protected] postmas...@hostx [email protected] j...@hostx [email protected] j...@hostx # Uncomment entry below to implement a catch-all address # @example.com j...@hostx Also, can virtual use the colon delimited format that aliases uses? I.e., /etc/postfix/virtual: [email protected]: postmaster [email protected]: joe [email protected]: jane # Uncomment entry below to implement a catch-all address # @example.com: jim > > Use local aliases(5) sparingly, for pipes and large :include: MLM > lists. Implement mail forwarding via virtual(5). Regards, .vp
