Connecting with SQLGrey: Difference between revisions

No edit summary
 
No edit summary
Line 1: Line 1:


Download SQLGrey from:
Download SQLGrey from:
Line 9: Line 8:
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 18: Line 17:
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:29, 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.

Jump to: navigation, search