Quote:
Originally Posted by sandiphw Hi,
Sorry for misunderstanding. The files I attached are original one without any modification by me recently.
There is one line in zmmta.cf
POSTCONF smtpd_recipient_restrictions FILE postfix_recipient_restrictions.cf
which I understand points to file postfix_recipient_restrictions.cf which need to be modified to block unknown receipent. So I had added the following line in this file:
reject_unknown receipent
(seeing syntax of rest parameters)
Then I restart zimbra, but it didn't work. Where I am wrong?
Thanks for your co-operation to understand my problem |
Sandip,
If you insist on modifying it in this file instead of zmmta.cf, then the syntax needs to be
Quote:
|
smtpd_reject_unlisted_recipient
|
Note it must start with "smtpd" and the word is "unlisted" rather than "unknown." Both of these elements are sourced
here at Postfix. In addition, there is no space between any of the words, each is separated by an underscore character (_).
You may need to add "=yes" to the end of that expression if there is a setting somewhere else in a file you haven't found that has made it "no" but according to Postfix the default for that setting is "yes" if you have inserted it.
This is not one of those places where the computer understands what you MEANT to say, you have to be precise to every character.
Cheers,
Dan