On 21.06.22 12:04, Víctor Rubiella Monfort wrote:
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}

get rid of {}'s.

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"

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I feel like I'm diagonally parked in a parallel universe.

Reply via email to