Interesting end to - Re: Open relay from localhost and other questions

2017-04-25 Thread Robert Moskowitz
More testing. There seems to be something not working with the mynetworks policy bank. If the email is from a user not in the mysql database, but still on a mynetworks address, sending to a user also not in the database, I get the Open relay. But if the target user IS in the database, the

Re: Troubleshooting Policy Banks - Re: Open relay from localhost and other questions

2017-04-24 Thread Patrick Ben Koetter
* Robert Moskowitz : > How do I trace what is happening with policy banks? > > https://www.ijs.si/software/amavisd/amavisd-new-docs.html#pbanks > > How can I tell if the IP address is being supplied? How can I tell what is > in MYNETS? Increase the log level and amavis

Troubleshooting Policy Banks - Re: Open relay from localhost and other questions

2017-04-24 Thread Robert Moskowitz
How do I trace what is happening with policy banks? https://www.ijs.si/software/amavisd/amavisd-new-docs.html#pbanks How can I tell if the IP address is being supplied? How can I tell what is in MYNETS? etc. thanks On 04/24/2017 04:40 PM, Robert Moskowitz wrote: On 04/22/2017 01:00

Re: Open relay from localhost and other questions

2017-04-24 Thread Robert Moskowitz
On 04/22/2017 08:14 AM, Dominic Raferd wrote: On 22 April 2017 at 00:00, Benny Pedersen > wrote: Robert Moskowitz skrev den 2017-04-21 21:16: Been doing some research. mynetworks should stop the localhost from seeming like

Re: Open relay from localhost and other questions

2017-04-24 Thread Robert Moskowitz
On 04/22/2017 01:00 AM, Benny Pedersen wrote: Robert Moskowitz skrev den 2017-04-21 21:16: Been doing some research. mynetworks should stop the localhost from seeming like an Open relay. I don't have this problem on my old production server. I am researching it. check originating policy

Re: Open relay from localhost and other questions

2017-04-22 Thread Dominic Raferd
On 22 April 2017 at 00:00, Benny Pedersen wrote: > Robert Moskowitz skrev den 2017-04-21 21:16: > > Been doing some research. mynetworks should stop the localhost from >> seeming like an Open relay. I don't have this problem on my old >> production server. I am researching it. >

Re: Open relay from localhost and other questions

2017-04-21 Thread Benny Pedersen
Robert Moskowitz skrev den 2017-04-21 21:16: Been doing some research. mynetworks should stop the localhost from seeming like an Open relay. I don't have this problem on my old production server. I am researching it. check originating policy banks in amavisd, make sure local originated

Re: Open relay from localhost and other questions

2017-04-20 Thread Robert Moskowitz
On 04/20/2017 02:34 AM, Dominic Raferd wrote: On 19 April 2017 at 21:48, Robert Moskowitz > wrote: This is my new test setup. ​..​ Then concern that it is coming from an open relay? Apr 10 03:34:38 z9m9z amavis[2045]:

Re: Open relay from localhost and other questions

2017-04-20 Thread Robert Moskowitz
On 04/20/2017 04:51 AM, Dino Edwards wrote: In the @lookup_sql_dsn I have the following which works with no problem: @lookup_sql_dsn = ( ['DBI:mysql:database=dbase;host=127.0.0.1;port=3306', 'sqluser', 'somepassword']); I’m not exactly sure what you are attempting to do with the

RE: Open relay from localhost and other questions

2017-04-20 Thread Dino Edwards
In the @lookup_sql_dsn I have the following which works with no problem: @lookup_sql_dsn = ( ['DBI:mysql:database=dbase;host=127.0.0.1;port=3306', 'sqluser', 'somepassword']); I’m not exactly sure what you are attempting to do with the $sql_select_policy statement, maybe you can

Re: Open relay from localhost and other questions

2017-04-20 Thread Dominic Raferd
On 19 April 2017 at 21:48, Robert Moskowitz wrote: > This is my new test setup. > ​..​ > > > Lots of questions. The 4th line has a amavis SQL failure. > Then concern that it is coming from an open relay? > Amavis gets called a 2nd then 3rd time? Should I put