|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: [ripper] (ripper
evhr.net)Date: Fri Jan 25 2002 - 15:12:19 CST
when i do mysql_query("select * from mail_hosting.relay_ip where policy =
'OK'"); in php it gives me all the ips without any problems
here is the pop-before-smtp.cf file :
user = *******
password = **********
dbname = mail_hosting
table = relay_ip
select_field = policy
where_field = ip
hosts = localhost
----- Original Message -----
From: "Ralf Hildebrandt" <Ralf.Hildebrandt
charite.de>
To: <postfix-users
postfix.org>
Sent: Friday, January 25, 2002 9:58 PM
Subject: Re: postfix/smtpd[10191]: warning: unknown smtpd restriction: "OK"
> On Fri, Jan 25, 2002 at 10:00:38PM +0100, [ripper] wrote:
>
> > mynetworks = 192.168.0.0/28, 127.0.0.0/8, 193.252.0.0/10,
213.169.160.0/19
> > relay_domains = mysql:/etc/postfix/relay_domains.cf
> > smtpd_recipient_restrictions = check_client_access
> > mysql:/etc/postfix/pop-before-smtp.cf permit_mynetworks
> > check_relay_domains
>
> Bizarre.
>
> Your smtpd_recipient_restrictions (in particular check_client_access
> mysql:/etc/postfix/pop-before-smtp.cf) is not returning "OK" but "OK "
> or " OK"! (maybe an additional space or unprintable character??)
>
> Check if your database contains entries where the key is an IP but the
> value is != "OK" !
>
> --
> Ralf Hildebrandt (Im Auftrag des Referat V A)
Ralf.Hildebrandt
charite.de
> Charite Campus Virchow-Klinikum Tel. +49 (0)30-450
570-155
> Referat V A - Kommunikationsnetze - Fax. +49 (0)30-450
570-916
> "The Internet is like a giant jellyfish. You can't step on it. You
> can't go around it. You've got to get through it."-John Evans
>
> -
> To unsubscribe, send mail to majordomo
postfix.org with content
> (not subject): unsubscribe postfix-users
>
-
To unsubscribe, send mail to majordomo
postfix.org with content
(not subject): unsubscribe postfix-users
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]