Good day,

Head all broke already. It seems everything is right, but something does not work. We have Postfix,

user_list

/^user1@*/ OK/^user2@*/ OK/^user3@*/ OK/.*@*/ REJECT 5.4.3. Sorry.. 

allow_urls list

 domain1.ru limited_classdomain2.ru limited_class 

I want only those in the user_list list to send mail only to allow_urls

 smtpd_restriction_classes = limited_classlimited_class = check_sender_access regexp:/etc/postfix/border/user_list, rejectsmtpd_sender_restrictions = check_recipient_access hash:/etc/postfix/border/allow_urls 

nicherta does not come out .. already changed places, and didn’t do anything .. either sends to everyone, or nobody else at all ..

Ay Nid HELP)

  • why is it here? /.*@*/ REJECT 5.4.3. Sorry .. there ... er_list, reject - ArcherGodson

1 answer 1

Knowledgeable people suggested what the problem is. A bit confused. User_list

 /^user1@*/ limited_class /^user2@*/ limited_class /^user3@*/ limited_class /.*@*/ REJECT 5.4.3. Sorry.. 

allow_urls list

 domain1.ru OK domain2.ru OK 

config itself

 smtpd_restriction_classes = limited_class limited_class = check_recipient_access hash:/etc/postfix/border/allow_urls reject smtpd_sender_restrictions = check_sender_access regexp:/etc/postfix/border/user_list 
  • you will go so far)) nobody needs to get answers - ArcherGodson