Re: relay denied in postfix

2014-03-16 Thread bluethundr
Do not list your domain in more than one place, otherwise postfix will log warnings and various things may not work as expected. Good advice. Thanks. Apparently your virtual_mailbox_domains lookup isn't working. Test your lookup with: postmap -q example.com

Re: relay denied in postfix

2014-03-16 Thread bluethundr
Sorry, I don't use sql and am unable to provide help beyond knowing what response postfix expects. Maybe someone else can help with your sql queries. Start a new thread asking about this specific problem. No problem, Noel. Thanks for your response. I'll do that at some point shortly I'm

Re: relay denied in postfix

2014-03-16 Thread bluethundr
Hi Sergei Try the connection specified in the files manually by logging as that exact user and running the query. You might get some useful error messages from MySQL. I tried pulling the info specified in the mysql_domains.cf file that's specified to retrieve domain info in my postfix

Re: relay denied in postfix

2014-03-16 Thread bluethundr
On 2014-03-16 21:32, Viktor Dukhovni wrote: On Mon, Mar 17, 2014 at 02:28:02AM +0100, Sergei wrote: On Sunday 16 March 2014 21:19:24 bluethu...@jokefire.com wrote: user=mail password=secret dbname=maildb table=domains select_field=domain where_field=domain hosts=127.0.0.1

Re: relay denied in postfix

2014-03-16 Thread bluethundr
On 2014-03-16 21:52, bluethu...@jokefire.com wrote: On 2014-03-16 21:32, Viktor Dukhovni wrote: On Mon, Mar 17, 2014 at 02:28:02AM +0100, Sergei wrote: On Sunday 16 March 2014 21:19:24 bluethu...@jokefire.com wrote: user=mail password=secret dbname=maildb table=domains

Re: relay denied in postfix

2014-03-16 Thread bluethundr
On 2014-03-16 22:27, Viktor Dukhovni wrote: On Sun, Mar 16, 2014 at 10:04:38PM -0400, bluethu...@jokefire.com wrote: Better: query = SELECT domain FROM domains WHERE domain='%s' AND enabled = 10 there is no need to select all the columns. (No idea what the significance of enabled =

mail to domain bounced, to hostname accepted

2011-11-27 Thread bluethundr
there is no evidence of it anywhere on the file system. [code] [root@mail ~]# ls -l /home/vmail/crispycode.com/bluethundr/cur/ total 0 [/code] This is how I have my virtual domains and users defined in the database: [code] Database changed mysql select * from domains; +-+ | domain

mail to domain bounced, to hostname accepted

2011-11-27 Thread bluethundr
there is no evidence of it anywhere on the file system. [code] [root@mail ~]# ls -l /home/vmail/crispycode.com/bluethundr/cur/ total 0 [/code] This is how I have my virtual domains and users defined in the database: [code] Database changed mysql select * from domains; +-+ | domain

mail to domain bounced, to hostname accepted

2011-11-27 Thread bluethundr
there is no evidence of it anywhere on the file system. [code] [root@mail ~]# ls -l /home/vmail/crispycode.com/bluethundr/cur/ total 0 [/code] This is how I have my virtual domains and users defined in the database: [code] Database changed mysql select * from domains; +-+ | domain

mail to domain bounced, to hostname accepted

2011-11-27 Thread bluethundr
there is no evidence of it anywhere on the file system. [code] [root@mail ~]# ls -l /home/vmail/crispycode.com/bluethundr/cur/ total 0 [/code] This is how I have my virtual domains and users defined in the database: [code] Database changed mysql select * from domains; +-+ | domain