Hi!

It's about urlview not doing the work, and I'd like to see if my Mutt:

Mutt 1.6.2 (2016-07-01)
...
System: Linux 4.7.2-hardened-r1-160906 (x86_64)
ncurses: ncurses 6.0.20150808 (compiled with 6.0)
libidn: 1.33 (compiled with 1.32)
...
Compiler:
Using built-in specs.
...
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/5.4.0/lto-wrapper
...
Configured with: /var/tmp/portage/sys-devel/gcc-5.4.0/work/gcc-5.4.0/configure 
...

(I just noticed, as I'm second-time proofreading this or so, that the above
line is suspicious to me, that's the build dir in Gentoo, and it's been empty
since my last system update... Could that be something bad, how bad?...)

( But anyway, pls. see what my Mutt is like by gunzip'ing the attached:
Mutt-1.6.2.txt.gz
  ; it's not built with emerge --they use the sidebar and do not keep to
mainstream Mutt--, but I compiled it out-of-portage, the, let's call it
linux-form-scratch way... )

Or is my urlview maybe old...? Looking it up:

# equery l urlview
 * Searching for urlview ...
[IP-] [  ] net-misc/urlview-0.9:0
#
And that's the only one available in my Gentoo Portage, so I doubt.

What the problem is, the urlview will not find the links correctly. Pls.
follow on.

gunzip this attached email:
t-com_racun.O.eml.gz (O for original)

( you can also download it from:
http://www.croatiafidelis.hr/cenz/iskon-tcom-mr/message/20160913.203031.48fe8c4f.en.html
more exactly from where it reads: "Poruka kao e-pismo" (means "Message
as email"):
http://www.croatiafidelis.hr/cenz/iskon-tcom-mr/mbox/20160913.203031.48fe8c4f.rfc822
)

Try to open that t-com_racun.O.eml email with:

$ mutt -f t-com_racun.O.eml

The folder opens. Hit Enter to view the email. Now do:
^B

If it's not just my Mutt, then you will get this what I paste (just I did
sed 's/http/htNOtp/' and such, to not clutter with links):

===================================================================
UrlView 0.9: (25 matches) Press Q or Ctrl-C to Quit!

->    1 
htNOtp://www.mailchimp.com/abuse/abuse.phtml?u=0d5eb20e6e39c5bf888683064&id=daad2b5f43&e=40bc5160c5
      2 
mailNOto:unsubscribe-mc.us9_0d5eb20e6e39c5bf888683064.daad2b5f43-40bc516...@mailin1.us2.mcsv.net?subject=unsubscribe
      3 
htNOtp://hrvatskitelekom.us9.list-manage.com/unsubscribe?u=0d5eb20e6e39c5bf888683064&id=6706e0975c&e=40bc5160c5&c=daad2b5f43
      4 www.hrvatskitelekom.hr/
      5 htNOtps://moj.hrvatskitelekom.hr/publi=
      6 htNOtps://play.google.com/store/apps/details?id=3Dcom.hrv=
      ...[14 lines cut here]...
     21 htNOtp://hrvatskitelekom.us9.list-manage.c=
     22 htNOtp://hrvatskitelekom.=
     23 
htNOtp://hrvatskitelekom.us9.list-manage.com/unsubscribe?u=3D0d5eb20e6e39c5=
     24 htNOtp://hrvatskitelekom.us9.list-manage1.com/profile?u=3D0d5eb20e=
     25 htNOtp://hrvatskitelekom.us9.list-manage.co=
===================================================================
(without the "===" lines).

And that's not the links that are in this email.

Do the following in your own $EDITOR, but the below is quicker for me to
explain than generally. (I also tried to do this editing with sed, but
didn't make it.)

Open the original email in Vim. Type exactly this:
:%s/=\n//gc
, which will ask you to remove all instances of two chars: char '=' (without
quotes) followed by newline.

(If you are using some other editor, short explanation:) in Vim you are
asked to do that on instances found from top to bottom.

Skip only first three (don't remove them!) and then just press 'a' which
will remove all the remaining 114 instances (in 42 lines). Save that
file as:

t-com_racun.eml

And now the urlview works! Try it:

$ mutt -f t-com_racun.eml

and then:
^B

That gets you:

===================================================================
UrlView 0.9: (24 matches) Press Q or Ctrl-C to Quit!

->    1 
htNOtp://www.mailchimp.com/abuse/abuse.phtml?u=0d5eb20e6e39c5bf888683064&id=daad2b5f43&e=40bc5160c5
      2 
mailNOto:unsubscribe-mc.us9_0d5eb20e6e39c5bf888683064.daad2b5f43-40bc516...@mailin1.us2.mcsv.net?subject=unsubscribe
      3 
htNOtp://hrvatskitelekom.us9.list-manage.com/unsubscribe?u=0d5eb20e6e39c5bf888683064&id=6706e0975c&e=40bc5160c5&c=daad2b5f43
      4 
htNOtps://www.hrvatskitelekom.hr/webresources/newsletter/03-2016-e-racun-mail.html?utm_source=3Dnewsletter-ht&utm_medium=3Demail&utm_content=3Dnl-web&utm_campaign=3De-racun-mail-09-2016
      5 
htNOtps://moj.hrvatskitelekom.hr/public?utm_source=3Dnewsletter-ht&utm_medium=3Demail&utm_content=3Dmoj-t&utm_campaign=3De-racun-mail-09-2016
      6 
htNOtps://play.google.com/store/apps/details?id=3Dcom.hrvatskitelekom.m.mojT&hl=3Dhr&utm_source=3Dnewsletter-ht&utm_medium=3Demail&utm_content=3Dandroid&utm_campaign=3De-racun-mail-09-2016
      7 
htNOtps://itunes.apple.com/us/app/moj-telekom-hr/id1076967450?mt=3D8&utm_source=3Dnewsletter-ht&utm_medium=3Demail&utm_content=3Dios&utm_campaign=3De-racun-mail-09-2016
     ...[14 lines cut here]...
     22 
htNOtp://hrvatskitelekom.us9.list-manage.com/track/click?u=3D0d5eb20e6e39c5bf888683064&id=3D212a61a16c&e=3D40bc5160c5
     23 
htNOtp://hrvatskitelekom.us9.list-manage.com/track/click?u=3D0d5eb20e6e39c5bf888683064&id=3Dabff7c90ab&e=3D40bc5160c5
     24 
htNOtp://hrvatskitelekom.us9.list-manage.com/track/open.php?u=3D0d5eb20e6e39c5bf888683064&id=3Ddaad2b5f43&e=3D40bc5160c5
===================================================================
(without the "===" lines).

and that was as intended. Also I can confirm that the the original email, the
t-com_racun.O.eml shows just fine in my Lurker archive (and the link
below is to its frozen image). Have a look:

http://www.croatiafidelis.hr/cenz/iskon-tcom-mr/message/20160913.203031.48fe8c4f.en.html

That fact tells me one thing. Regardless of my aforementioned provider
stepping onto standards something like M$ people do, and feeding obnoxious
HTML emails to its customers, this some 15 years or so old program Lurker (they
maintain it, but there has been no major rewrites of the code, nor the Mail
standard RFC's, has there?...)

[The fact that the some 15 yr or so old program Lurker] shows the links
right and opens them right, tells me the links in that t-com_racun.O.eml email
must still be within the standards, else Lurker wouldn't open it as
expected, would it?...

So, it appears to me, it can be only either Mutt or more likely: urlview that
do not do the work here.

So, unless it's only the above misgiving happens only in my Mutt, for some
reason, unless only me here, the question is probably:

How do I get urlview to do this right without having to covert emails, which I
don't like to do, I like to keep documents as they have been sent, untouched
in any way.

I hope I have explained it clearly and am eager to see what could this be.

Only here or?

Regards!
-- 
Miroslav Rovis
Zagreb, Croatia
http://www.CroatiaFidelis.hr

Attachment: Mutt-1.6.2.txt.gz
Description: Binary data

Attachment: t-com_racun.O.eml.gz
Description: Binary data

Attachment: t-com_racun.eml.gz
Description: Binary data

Attachment: signature.asc
Description: PGP signature

Reply via email to