Release from EFA quarantine link broken

Questions and answers about how to do stuff
Post Reply
Ashton_M27
Posts: 2
Joined: 27 Feb 2014 10:28

Release from EFA quarantine link broken

Post by Ashton_M27 »

I have come across an issue regarding the link that is generated in the autoreply from my EFA server to users that have "spam mails" sent to them.
The link is meant to allow users to release mails that are deemed to be legitimate that are in quarantine.

Long story short is, the syntax of the link is causing it to break, this is the output for example

If you are satisfied that this message is not spam, you can release it from
quarantine by clicking
http://efa001.example.com/cgi-bin/relea ... mber=20140[..] <== (This is what causes the issue due to a line break)
27&id=04B36100151.A9107&token=42df7e9a7cafe8a310db5051245bfafc


The only work around I have come across is copying the entire URL...

http://efa001.example.com/cgi-bin/relea ... mber=20140[..]
27&id=04B36100151.A9107&token=42df7e9a7cafe8a310db5051245bfafc[/b]

and editing it by removing the square brackets and replacing it with a "2" for the current month for example :

http://efa001.example.com/cgi-bin/relea ... 51245bfafc[/b]

It could be due to word wrapping that this placeholder occurs, but is there a way to overcome this?

Is there a way to modify the hyperlink (shorten maybe?) to release the quarantined mail and if so, can you please provide me with assistance on how to go about it.

Thanks in advance
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Release from EFA quarantine link broken

Post by shawniverson »

It appears that your mail server is breaking the line. EFA sends this link as a single line of text...
Ashton_M27
Posts: 2
Joined: 27 Feb 2014 10:28

Re: Release from EFA quarantine link broken

Post by Ashton_M27 »

Ok if that is so, can that URL be edited anyway? That was my question...
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Release from EFA quarantine link broken

Post by shawniverson »

I don't see how this could be done considering that you need the id passed at the minimum, and it is part of what is wrapped around....

Maybe you could modify the url in the signature to a non-fqdn and rename release-msg.cgi to maybe just r.cgi

http://efa/cgi-bin/r.cgi

I'm not sure that would be enough though.

You would probably have to ditch the token system entirely too, and maybe even the date and replace the logic with a find operation (like in learn-msg.cgi), although I wouldn't recommend it,

but if you just had to do it.... :think:
Post Reply