Page 1 of 1

help about main.cf

Posted: 13 Oct 2019 08:48
by fatima2007
hello
I have some domains that send mail to my domain and their mails blocked by EFA with this error("client host rejected. cannot find your reverse hostname"). I want to add them to the whitelist but, in the /etc/postfix/main.cf when I add this line "check_client_access hash:/etc/postfix/rbl_override," it does not work and I still don't receive those emails. what can I do now? this is a picture of my main.cf file. I attached the file. and the content of my rbl_override is like this:
110.10.2.8 OK
mail.abc.com OK
what's wrong now. I still don't receive these emails
Please help

Re: help about main.cf

Posted: 13 Oct 2019 10:57
by fatima2007
anyone isn't here??????????????

Re: help about main.cf

Posted: 13 Oct 2019 17:46
by shawniverson
You are on the right track, but you are modifying the wrong setting in main.cf

smtpd_sender_restrictions is what you need.

Re: help about main.cf

Posted: 14 Oct 2019 08:11
by fatima2007
I did it but I still have a problem in receiving mail from those domains. I changed the main.cf like this
Untitled1.jpg
Untitled1.jpg (66.84 KiB) Viewed 10448 times
(attachment untitled1) and I changed sender_access and rbl_override like this(attachment untitled2)
Untitled2.jpg
Untitled2.jpg (16.8 KiB) Viewed 10448 times

Re: help about main.cf

Posted: 14 Oct 2019 08:40
by fatima2007
Is there anyone to help me? where is my wrong?
thanks beforehand

Re: help about main.cf

Posted: 14 Oct 2019 10:30
by fatima2007
thanks. I done it :lol: :P

Re: help about main.cf

Posted: 21 Oct 2019 03:06
by pdwalker
so what did you change to make it work?