| |||||||||||||||||||||||||||||||
|
> Hi folks, > > I'm looking to get pointed in the correct direction on which documentation > to read if I plan on doing MySQL mapping for virtual user accounts for which > my Postfix installation is the final destination ... however, it won't be > storing messages locally. I'm just offering a relay service to where all > recipients can have the mail forwarded/relayed to whatever email of their > choice. > > I'd like to integrate this using a relational database such as MySQL, and > I've found several pieces of documentation out there which discusses setting > up MySQL with Postfix. However much of the documentation talks about local > virtual accounts which I don't care for. I just want to figure out a table > schema and mechanism to forward on the email. it seems that you need virtual_alias_maps. you need to read the MYSQL README. you will have something like this in your .cf file: hosts = yoursqlhost user = yourdbuser password = yoursqlpassword dbname = mail query = SELECT destination from virtual_alias where alias = '%s' This assumes a virtual_alias table with two fields: alias and destination. you will also need to add the domain to virtual_alias_domains.
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com