On 7/10/2013 1:27 PM, Feel Zhou wrote: > Hello,my friend > This is Tom, I'm sending my greeting from China > > /etc/postfix/main.cf <http://main.cf> > smtpd_sender_restrictions = > check_sender_access hash:/etc/postfix/sender_reject_addr_check > /etc/postfix/sender_reject_addr_check > badu...@example.com <mailto:badu...@example.com> REJECT > So, badu...@example.com <mailto:badu...@example.com>,this email > address can not send mail via my mail server, It's working well > > last week, add another restrictions > ip must use @example.com <http://example.com> as sender address, > This IP can not use @anotherexample.com <http://anotherexample.com> > as sender address. It's can working > > The problem is " badu...@example.com <mailto:badu...@example.com> > REJECT", the first restrictions can not working, How can I let these > two restrictions working together, Thanks a lot > > TOM
So you have two smtpd_sender_restrictions sections defined in main.cf and you want to combine them? Please show your "postconf -n" output and the main.cf rule that seem to be missing. -- Noel Jones