Connecting with SQLGrey: Difference between revisions

No edit summary
No edit summary
Line 25: Line 25:
Now restart zimbra, and it should all just work!
Now restart zimbra, and it should all just work!


root# su - zimbra
  root# su - zimbra
zimbra$ zmcontrol stop
  zimbra$ zmcontrol stop
zimbra$ zmcontrol start
  zimbra$ zmcontrol start
 


Good luck, and enjoy.
Good luck, and enjoy.


--
--
Daniel Eugenin M.
Daniel Eugenin M.

Revision as of 20:32, 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.

Jump to: navigation, search