Postfix : warning: unknown smtpd restriction: "OK" , prosim o radu

Petr Bartel cyber na irix-servis.cz
Středa Duben 12 16:14:41 CEST 2006


Ahoj lidi,
po upgrade se memu postfixu prestali libit tabulky mysql

postfix 2.2.10-1, mysql 5.0.19

Apr 12 15:55:39 mail postfix/smtpd[12412]: warning: unknown smtpd
restriction: "OK"
Apr 12 15:55:39 mail postfix/smtpd[12412]: NOQUEUE: reject: RCPT from
ip-85-160-146-183.eurotel.cz[85.160.146.18
3]: 451 Server configuration error; from=<eva.sediva na slavia.as>
to=<greygrey na centrum.cz> proto=ESMTP helo=<Slapo
jag28>

mam to jmeno v tabulce "slapoag28"

...........
smtpd_client_restrictions =     permit_mynetworks,
                                permit_sasl_authenticated,
                                check_client_access
mysql:/etc/postfix/mysql-virtual_client_access.cf,
                                reject_rbl_client bl.spamcop.net,
                                reject_rbl_client blackholes.easynet.nl,
..........

mysql-virtual_helo.cf
user = postfix
password = *****
dbname = postfix
table = postfix_access
select_field = access
where_field = source
additional_conditions = and type = 'helo'
hosts = 127.0.0.1

mysql> describe postfix_access;

id      | int(11) unsigned auto_increment
source  | varchar(128)
access  | varchar(128)
type    | enum('recipient','sender','client','helo')
comment | text


mysql> select * from postfix_access where source='slapojag28';
+----+------------+--------+------+----------------+
| id | source     | access | type | comment        |
+----+------------+--------+------+----------------+
| 74 | slapojag28 | OK     | helo | slavia pobocka |
+----+------------+--------+------+----------------+
1 row in set (0.00 sec)

Proc si stezuje na to OK co je spatne ?

Diky moc
   Petr Bartel


Další informace o konferenci Linux