On Wed, Feb 07, 2001 at 10:58:00AM +0000, Gary Coady mentioned:
> On Wed, Feb 07, 2001 at 10:42:10AM +0000, John P . Looney wrote:
> > Smeg. Throw that bunch of code out the window...we don't use sendmail...
> > the quest continues.
>> Have you tried something like this in postfix? (you have got snapshot
> 20001210 or better, right?)
>> #Using MySQL to save user-related infos
> alias_maps = mysql:/etc/postfix/mysql-aliases.cf
>> #mysql-aliases.cf
> user = someone
> password = some_password
> dbname = customer_database
> table = mxaliases
> select_field = forw_addr
> where_field = alias
> additional_conditions = and status = 'paid'
> hosts = maildb1.example.org maildbt2.example.org
Indeed. I've that working. It does aliases from a database. But not
users.
Kate
--
When I say 'free', I mean 'free': free from bond, of chain or command:
to go where you will, even to Mordor, Saruman, if you desire. "
-- Gandalf, paraphrasing the choice between Free and Non-free software
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!