[Users] Rewrite URLs in message obfuscated by Outlook's safelinks stuff

H.Merijn Brand linux at tux.freedom.nl
Fri Mar 22 10:15:47 UTC 2024


On Thu, 21 Mar 2024 14:50:37 -0400, George Avrunin <avrunin at comcast.net> wrote:

> On Tue, 19 Mar 2024 14:13:48 +0100
> "H.Merijn Brand" <linux at tux.freedom.nl> wrote:
> 
> > > May I ask how your rm_disclaim.pl script is applied?  Do you do this in
> > > claws-mail, e.g., through an action or something, or is it part of the
> > > process of receiving mail, or what?    
> > 
> > Yes, with an action
> > 
> >  Menu name [ Remove Disclaimer                    ]
> >  Command   [ /home/merijn/bin/rm_disclaim.pl %f   ]
> >  (*) Shell command   ( ) filter action
> > 
> > Key binding Shift-Ctrl-D  
> 
> Is your rm_disclaim.pl script available.  I'd like to see what else it does,
> too.

I'll post an excerpt from it here, as my original contains a lot of very
custom procedures inclusing fixing mails from known people that mail me
stuff that I *need* to read, but in a way that I cannot the way they
post it (one extreme example is a person that e-mails me in HTML-only
with 16 different font faces amongst which Times New Roman and Comic
Sans, 12 small icons in their signature, 4 company logo's etc etc). The
remaining script is about half the size of the original.

For the Outlook decoding look at line 322 and on and line 511

I had to xz-compress it and add the link to be able to post. Original
attachment marked as spam :( https://tux.nl/Files/rm_disclaim.pl.xz

> George

-- 
H.Merijn Brand  https://tux.nl   Perl Monger   http://amsterdam.pm.org/
using perl5.00307 .. 5.37        porting perl5 on HP-UX, AIX, and Linux
https://tux.nl/email.html http://qa.perl.org https://www.test-smoke.org
                           
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20240322/3b91bc33/attachment.sig>


More information about the Users mailing list