Re: Using MySQL for virtual_users

2014-07-16 Thread Viktor Dukhovni
On Tue, Jul 15, 2014 at 07:42:16PM -0700, Michael Carter wrote: I've tested this using postmap: postmap -q te...@mydomain.org mysql:/etc/postfix/mysql-virt-users.cf When I try this I get back the correct local user name: In main.cf, I've added this file to the virtual_users line:

Re: Using MySQL for virtual_users

2014-07-16 Thread Mike Carter
The file names match on my system. I hand typed them here. Any other input? Sent from my iPhone On Jul 16, 2014, at 12:45 AM, Viktor Dukhovni postfix-us...@dukhovni.org wrote: On Tue, Jul 15, 2014 at 07:42:16PM -0700, Michael Carter wrote: I've tested this using postmap: postmap

Re: Using MySQL for virtual_users

2014-07-16 Thread li...@rhsoft.net
Am 16.07.2014 15:39, schrieb Mike Carter: The file names match on my system. I hand typed them here. Any other input? read what you posted! mysq-virt-users.cf != mysql-virt-users.cf why don't you just use copypaste? On Jul 16, 2014, at 12:45 AM, Viktor Dukhovni postfix-us...@dukhovni.org

Re: Using MySQL for virtual_users

2014-07-16 Thread Mike Carter
Yes, I mis-typed them here. I see that. Let's just assume that they match on my system and move beyond that as a reason. So assuming the references are correct, the files match, etc etc, what *else* should I be looking at. Thanks. Sent from my iPhone On Jul 16, 2014, at 6:46 AM,

Re: Using MySQL for virtual_users

2014-07-16 Thread li...@rhsoft.net
Am 16.07.2014 15:49, schrieb Mike Carter: Yes, I mis-typed them here. I see that. Let's just assume that they match on my system and move beyond that as a reason. So assuming the references are correct, the files match, etc etc, what *else* should I be looking at. nobody is interested in

Re: Using MySQL for virtual_users

2014-07-16 Thread Viktor Dukhovni
On Wed, Jul 16, 2014 at 06:49:26AM -0700, Mike Carter wrote: Yes, I mis-typed them here. I see that. Let's just assume that they match on my system and move beyond that as a reason. I'm afraid that would be unwise. Post the output of postconf -n (not retyped), and then we'll talk. Also check

Re: Using MySQL for virtual_users

2014-07-16 Thread Michael Carter
Fair enough. Thanks Viktor. On Jul 16, 2014, at 7:12 AM, Viktor Dukhovni postfix-us...@dukhovni.org wrote: On Wed, Jul 16, 2014 at 06:49:26AM -0700, Mike Carter wrote: Yes, I mis-typed them here. I see that. Let's just assume that they match on my system and move beyond that as a reason.

Using MySQL for virtual_users

2014-07-15 Thread Michael Carter
Hello all, I'm trying to use MySQL for temporary/throwaway address management for one of my hosted domains. I've set up MySQL so that it returns a local user name when it finds a match. I've tested this using postmap: postmap -q te...@mydomain.org mysql:/etc/postfix/mysql-virt-users.cf When