Add domain identificatior in code outside email for filter spam

Have a great idea for extending Zimbra? Share ideas, ask questions, contribute, and get feedback.
Post Reply
eochoa
Posts: 2
Joined: Wed Mar 11, 2020 3:00 pm

Add domain identificatior in code outside email for filter spam

Post by eochoa »

Hi every one.

Recently we adquire a filter cloud for checking a spam emails, but the clout tools requiere add a domain identification key using the following format
X-ETP=DOMAIN-AUTH-TOKEN <Id Token> in all outbound emails, my version of zimbra is 8.8.15

i see many solutions but all not working becouse only filtering subjet headers, and i need add this code for my clud tools filter the outbound email

can any help¡? :) ;)
reagards
Emmanuel
User avatar
barrydegraaff
Zimbra Employee
Zimbra Employee
Posts: 242
Joined: Tue Jun 17, 2014 3:31 am
Contact:

Re: Add domain identificatior in code outside email for filter spam

Post by barrydegraaff »

Hello,

This can be done with a milter filter, you can google to find the best way to do this. One way is using python :

https://github.com/Zimbra-Community/mai ... ter/milter

I suggest to test this on a test server first.


If all your mail comes from the Web-UI it can also be done with a Zimlet viewtopic.php?t=44681

There is also this wiki article, did you look at that? I did not try it, but it seems like an easy solution:
https://wiki.zimbra.com/wiki/How_to_add ... -To_header

Probably you can also do this with postfix, google `postfix add custom header` and then apply it to Zimbra.
--
Barry de Graaff
Email: barry.degraaff [at] synacor [dot] com
Admin of Zimbra-Community Github: https://github.com/orgs/Zimbra-Community/ and the
Zimlet Gallery https://gallery.zetalliance.org/extend/
Post Reply