How to reject addresses by TLD in Postfix?
Dear all,
I know that postfix can reject sender address by defining in mian.cf "smtpd_sender_restrictions = hash:/etc/postfix/sender_access". In sender_access file u can define whatever address such as yahoo.com REJECT My question is how can i reject the whole domain instead of full address like .jp, .ro, .my Thank You |
Use a regexp or pcre map:
Code:
/etc/postfix/main.cf: |
and after that i need to issue command postmap /etc/postfix/sender_access. Is it right
|
Never postmap for regexp or pcre tables. A postfix reload will cause postfix to read the tables immediately (or at its earliest convenience).
|
All times are GMT -5. The time now is 06:32 AM. |