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.
eochoa
Posts: 2
Joined: Wed Mar 11, 2020 3:00 pm

Add domain identificatior in code outside email for filter spam

Postby eochoa » Wed Mar 18, 2020 4:12 pm

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: 83
Joined: Tue Jun 17, 2014 3:31 am
Contact:

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

Postby barrydegraaff » Tue Apr 28, 2020 2:33 pm

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
Admin of Zimbra-Community Github: https://github.com/orgs/Zimbra-Community/
Developer of Zimbra OpenPGP Zimlet, Zimbra ownCloud Zimlet and more.
A Zetalliance Founder http://www.zetalliance.org/

Return to “Developers”

Who is online

Users browsing this forum: No registered users and 1 guest