[Users] How to configure milter on Zimbra (2)
Barry de Graaff
info at barrydegraaff.tk
Wed Nov 15 17:08:48 CET 2017
Hello All,
Since I cannot find documentation of milter in Zimbra ,
I installed a milter based on this:
https://iomarmochtar.wordpress.com/2017/09/13/zimbra-prevent-user-customizing-from-header/comment-page-1/#comment-138
Then it runs the following python when sending out mails:
https://github.com/barrydegraaff/zmbr_check_sender/blob/master/check_sender_access.py
I toss this in `def header(self, name, val):`:
self.logd('barry')
try:
self.chgheader('Date',0,'1-1-1970')
except Exception, e:
self.logd('barry except'+ str(e))
And add:
Milter.set_flags(Milter.CHGBODY + Milter.CHGHDRS + Milter.ADDHDRS)
Before:
Milter.runmilter("check_sender_access", socketname, timeout)
Then in throws exception `cannot change header`, same when I try to add a header.
Can anyone tell me what am I missing here? Or point me to useful documentation?
Otherwise I will dig some more.
Thanks a lot!
Kind regards,
Barry de Graaff
Zeta Alliance Founder
zetalliance.org | github.com/Zimbra-Community
More information about the Users
mailing list