2 msgRemote backup Postfix server
7 msgchose interface for outgoing mail
2 msgIllegal address syntax ... in MAIL command: <...
1 msgMail Infrastructure and Zertificon
1 msgsasl password
6 msgpostfix TLS (configuration/user) problem
7 msgVirtual Alias Domain
3 msgcopy of email
2 msgDNS Caching?

Using mysql for mynetworks
\ Keith (12 Mar 2008)
. \ Magnus Bäck (12 Mar 2008)
. . \ Keith (12 Mar 2008)
. . . \ mouss (12 Mar 2008)
. . . . \ Keith (12 Mar 2008)

5 msgBlocking e-mail from a domain, to a particular ...
5 msgprevent open relay
15 msgcannot get mail from outside to my smtp server
6 msgError connecting Postfix to LDAP
5 msgConfig ok for TLS/SASL/Client Cert via port 587?
7 msgmail flow architecture
3 msgvirtual forward + deliver
1 msgRe: RESOLVED: Using Canonical Maps as an Overri...
14 msgdual mail server
3 msghow to specify different outgoing IP
Subject:Using mysql for mynetworks
Group:Postfix-users
From:Keith
Date:12 Mar 2008


 

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