Connecting with SQLGrey: Difference between revisions
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
As the zimbra user, update zimbraMtaRestriction. I've added all the other restrictions that Zimbra suggests to add as well, including several Realtime Blackhole Lists (RBL). The important one is at the end. | As the zimbra user, update zimbraMtaRestriction. I've added all the other restrictions that Zimbra suggests to add as well, including several Realtime Blackhole Lists (RBL). The important one is at the end. | ||
root# su - zimbra | root# su - zimbra | ||
zimbra$ zmprov mcf zimbraMtaRestriction reject_invalid_hostname | zimbra$ zmprov mcf zimbraMtaRestriction reject_invalid_hostname \ | ||
zimbraMtaRestriction reject_non_fqdn_sender | zimbraMtaRestriction reject_non_fqdn_sender \ | ||
zimbraMtaRestriction "check_policy_service inet:127.0.0.1:2501" | zimbraMtaRestriction "check_policy_service inet:127.0.0.1:2501" | ||
Line 16: | Line 16: | ||
Edit /opt/zimbra/conf/postfix_recipient_restrictions.cf | Edit /opt/zimbra/conf/postfix_recipient_restrictions.cf | ||
... | ... | ||
reject_unauth_destination | reject_unauth_destination | ||
'''%%contains VAR:zimbraMtaRestriction check_policy_service inet:127.0.0.1:2501%%''' | '''%%contains VAR:zimbraMtaRestriction check_policy_service inet:127.0.0.1:2501%%''' | ||
permit | permit | ||
Revision as of 20:31, 20 July 2006
Download SQLGrey from:
http://sqlgrey.sourceforge.net/
As the zimbra user, update zimbraMtaRestriction. I've added all the other restrictions that Zimbra suggests to add as well, including several Realtime Blackhole Lists (RBL). The important one is at the end.
root# su - zimbra zimbra$ zmprov mcf zimbraMtaRestriction reject_invalid_hostname \ zimbraMtaRestriction reject_non_fqdn_sender \ zimbraMtaRestriction "check_policy_service inet:127.0.0.1:2501"
Edit /opt/zimbra/conf/postfix_recipient_restrictions.cf
... reject_unauth_destination %%contains VAR:zimbraMtaRestriction check_policy_service inet:127.0.0.1:2501%% permit
Now restart zimbra, and it should all just work!
root# su - zimbra zimbra$ zmcontrol stop zimbra$ zmcontrol start
Good luck, and enjoy.
-- Daniel Eugenin M.