If you don't specify the return codes necessary, postfix will reject based on any return value right?
So it would just be:
Quote:
|
zmprov mcf zimbraMtaRestriction "reject_rbl_client foo.bar.tld=127.0.0.2"
|
Before running that see what other checks you have enabled so you don't accidentally turn them off. Optionally you can use + to add one at a time.
Quote:
|
zmprov gacf | grep zimbraMtaRestriction
|
So to skip .4 you might set something like this (on one line):
Quote:
|
zmprov mcf zimbraMtaRestriction reject_invalid_hostname zimbraMtaRestriction reject_non_fqdn_hostname zimbraMtaRestriction reject_non_fqdn_sender zimbraMtaRestriction reject_unknown_sender_domain zimbraMtaRestriction "reject_rbl_client foo.bar.tld=127.0.0.1" zimbraMtaRestriction "reject_rbl_client foo.bar.tld=127.0.0.2" zimbraMtaRestriction "reject_rbl_client foo.bar.tld=127.0.0.3" zimbraMtaRestriction "reject_rbl_client foo.bar.tld=127.0.0.5"
|
Careful with reject_unknown_client & reject_unknown_hostname as they can block more than you think sometimes...