On Thu, Sep 24, 2009 at 10:57:56AM -0400, wiskbr...@hotmail.com wrote: > Can I have two or more virtual aliases maps??
Yes, but it is best to avoid this if possible. > If so, should I declare them like this? > > main.cf: > alias_maps = dbm:/etc/postfix/aliases, nis:mail.aliases > virtual_alias_maps = dbm:/etc/postfix/virtual.abc, > dbm:/etc/postmaster/virtual.xyz Don't use DBM if at all possible, CDB or Berkeley DB is better. Don't use multiple indexed tables, where a single consoliated indexed table works much better. Use make(1) to build a single table from two source files. > Can my virtual table contain special characters? Yes, but lookup keys and RHS values are in rfc822 quoted form, and may need to have their local parts in "double-quotes" if certail special characters are used. > reason that I am asking is because some of my users have names like > o'dywer; are these legal in this table? The single-quote character is not special in rfc822, so it can be used without quoting. (Brain damage in old versions of Outlook not-withstanding). > I have not seen any complaints when I did a postmap on the file. postmap(1) is not an RFC822 syntax checker. It just builds tables from "key value" files. You can't use lookup keys with white-space, as postmap does not understand any quoting. -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:majord...@postfix.org?body=unsubscribe%20postfix-users> If my response solves your problem, the best way to thank me is to not send an "it worked, thanks" follow-up. If you must respond, please put "It worked, thanks" in the "Subject" so I can delete these quickly.