Hi,
I'm trying to define independent domain reject list for inboud than
outbound:
This works fine configuring:
smtpd_sender_restrictions =
permit_mynetworks,
check_sender_access hash:/etc/postfix/domainslist_in
Works ok, but for in and out with the same file. I have not found a way
to distinguish between in/out on main.cf options, and I'm trying to use
"-o" overriding on master.cf services configuration:
smtp inet n - y - 150 smtpd
-o syslog_name=smtpd-25
-o smtpd_sender_restrictions=permit_mynetworks,{check_sender_access
hash:/etc/postfix/domainslist_out}
But this not working as expected, This warnings appears on log:
smtpd-25/smtpd[15203]: warning: {check_sender_access
hash:/etc/postfix/domainslist_out} is unavailable. unsupported dictionary type:
{check_sender_access hash
smtpd-25/smtpd[15203]: warning: {check_sender_access hash:/etc/postfix/domainslist_out}
lookup error for"du...@testing.com"
Of course,hash is supported and works fine in "regular" configuration. File
exists, and if I run manually:
postmap -qdu...@testing.com hash:/etc/postfix/domainslist_out
works fine.
What's wrong? This is not the correct way to do this?
Thanks a lot !!