Add token and ID to header for MailWatch

Questions and answers about how to do stuff
Post Reply
N1029676
Posts: 4
Joined: 07 Jul 2017 07:48

Add token and ID to header for MailWatch

Post by N1029676 » 07 Jul 2017 07:55

I've been using EFA for almost 12 months now and am having a lot of success with it.

However, I'm also manually marking messages as spam because it appears unprofessional to have the 'mark as spam' url appearing in the footer when they reply to messages. So I was wondering if there was a way to add the Token that MailWatch uses to send the message to the bayes filter as a header instead of a text body variable.

My plan is to create an Outlook add-in or macro that looks at these two values and then sends the required info to the /cgi-bin/learn-msg.cgi script when the user presses a 'Report as spam' button in the toolbar. I already have a proof-of-concept reading the ID, but I can't figure out how to get the token in there.

User avatar
shawniverson
Posts: 2251
Joined: 13 Jan 2014 23:30
Location: Rushville, Indiana, USA
Contact:

Re: Add token and ID to header for MailWatch

Post by shawniverson » 09 Jul 2017 21:58

This sounds cool. In fact eFa4 will be deprecating the inline sigs.

So, perhaps we could change the custom function for the inline sig to instead add a header with the token? I could help you do this.
Version 3.0.2.3 released! Update now to keep your eFa secure!

N1029676
Posts: 4
Joined: 07 Jul 2017 07:48

Re: Add token and ID to header for MailWatch

Post by N1029676 » 09 Jul 2017 23:21

I would appreciate any guidance. I vaguely understand how to run custom actions on messages after being processed, I just don't know where to get the token variable.

I'll be happy to share my Outlook work once it is tested.

User avatar
shawniverson
Posts: 2251
Joined: 13 Jan 2014 23:30
Location: Rushville, Indiana, USA
Contact:

Re: Add token and ID to header for MailWatch

Post by shawniverson » 13 Jul 2017 22:58

Version 3.0.2.3 released! Update now to keep your eFa secure!

N1029676
Posts: 4
Joined: 07 Jul 2017 07:48

Re: Add token and ID to header for MailWatch

Post by N1029676 » 14 Jul 2017 01:05

That issue reads like it won't be available for v3. Accurate?

pdwalker
Posts: 661
Joined: 18 Mar 2015 09:16

Re: Add token and ID to header for MailWatch

Post by pdwalker » 14 Jul 2017 16:51

That's what the "v4" suggests to me.

N1029676
Posts: 4
Joined: 07 Jul 2017 07:48

Re: Add token and ID to header for MailWatch

Post by N1029676 » 14 Jul 2017 17:04

pdwalker wrote:
14 Jul 2017 16:51
That's what the "v4" suggests to me.
His earlier comment of "I could help you do this." suggests to me he initially was going to assist me with v3 implementation. But thank you for clarifying his intent...

User avatar
shawniverson
Posts: 2251
Joined: 13 Jan 2014 23:30
Location: Rushville, Indiana, USA
Contact:

Re: Add token and ID to header for MailWatch

Post by shawniverson » 14 Jul 2017 22:56

Clarification incoming...

Referencing viewtopic.php?f=8&t=2055 ...

This is not a bug fix, but rather an enhancement, therefore, I am going to develop it for v4 FIRST.

Now, once I get it for v4, if someone wants to backport it (or if I have time, I will), then we will bring it to v3.

v4 is a priority, it is only a matter of time before CentOS 6x becomes obsolete.

https://wiki.centos.org/About/Product

November 30th, 2020

Keep in mind that the world, on the other hand, has really moved on.
Version 3.0.2.3 released! Update now to keep your eFa secure!

pdwalker
Posts: 661
Joined: 18 Mar 2015 09:16

Re: Add token and ID to header for MailWatch

Post by pdwalker » 17 Jul 2017 08:50

... I suppose I should retire my centos 5 server then ...

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests