| |||||||||||||||||||||||||||||||
|
> you can either "compute" the result dynamically (SUBSTRING family > functions) or compute this in advance using a trigger. If you have the > necessary privileges, the trigger may be a better option (if you don't > want to clutter your tables, use a table just for this). Be careful when computing filenames from addresses, sanity checks on the character class are a good idea (though if user names in the database are known to be safe a-priori, pulling characters out of valid data is not unreasonable). With stored names, I would avoid complex queries and just store an explicit path in the database. -- 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:majordomo?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.
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com