OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
check_recipient_access

list-userbackenhoernchen.de
Date: Thu Jan 03 2008 - 04:37:33 CST


Hi,

i set up a
'smtpd_recipient_restrictions=$check_r,permit_mynetworks,reject' in the
master.cf. I also put an entry in the main.cf 'check_r =
check_recipient_access mysql:/etc/postfix/mysql-check_r'.

The SQL Statemant creates an result like:

domain.tdl FILTER myfilter:[127.0.0.1]:12345

This does not work. The log says can't use lookup tables here and should
use classes instead. With

'check_r = check_recipient_access hash:/etc/postfix/check_r'

and the same entry it works.

Secondly, when a mail is sent from a sasl-auth client to eg.
adomain.tdl and belsewhere.tdl both mails will be filtered. Is there
any way to change this behavior?

Thanx,

Corren