| |||||||||||||||||||||||||||||||
|
I'm missing something simple I think. I have been experimenting on using mysql for mynetworks. I have: mynetworks = mysql:/etc/postfix/mysql/access.conf user = <user> password = <password> dbname = postfix table = access select_field = action where_field = ip hosts = localhost This is access.conf setup for the sql query. I have access table: action IP relay 64.114.232.0/22 I try and send an email from a client on: 64.114.232.10 and I get relay access denied. I add the single IP to the access table: action IP relay 64.114.232.10 and the client can send mail. I take out mynetworks from using an sql query and just have: mynetworks = /etc/postfix/mynetworks in mynetworks: 64.114.232.0/22 relay and the client can relay through postfix. Does postfix use the slash notation in mysql lookups for mynetworks? Or is it just for the flat file postfix will do the slash for IP lookups? Thanks, Keith
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com