Bug 32245 - vacation does not parse mal formed from headers
Summary: vacation does not parse mal formed from headers
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA9-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2023-09-05 13:56 CEST by Marc Krämer
Modified: 2023-12-08 12:57 CET (History)
5 users (show)

See Also:
Source RPM: vacation-1.2.7.1-11.mga9.src.rpm
CVE:
Status comment:


Attachments

Description Marc Krämer 2023-09-05 13:56:48 CEST
having mail headers the form like:
From: "ABC"
	<de.fg@ab.de>
To: "xx@yy.de" <xx@yy.de>

is added/replied to as 
"ABC"

the mail address is not recognized - I guess because there is a linebreak and many spaces before <>
Comment 1 Lewis Smith 2023-09-05 21:07:49 CEST
Thank you for the report.

Is this a new problem, or could it always have existed without being discovered?
'vacation' [Automatic mail answering program for Linux] has almost never been updated, at least not for years.
Where do the strange mail headers come from? Are they recent, or have they always been like that? I agree about the possibility of the linebreak being the problem. Are you able to test this idea by frigging:
From: "ABC"
	<de.fg@ab.de>
to
From: "ABC" <de.fg@ab.de>

It seems our version of this program is the latest...

CC: (none) => lewyssmith

Comment 2 Marja Van Waes 2023-10-21 18:18:29 CEST
There are two old, but still open, bug reports upstream, about the From: address not being handled correctly. 

https://sourceforge.net/p/vacation/bugs/

Isn't this just another one?

CC: (none) => marja11

Comment 3 Marc Krämer 2023-10-27 11:51:49 CEST
I guess so....
I don't know if there is a more accurate variant to handle out-of-office messages, or if the sf source is outdated.

But it is not nice if the reciepient does not get an answer just because of that.
Comment 4 Marc Krämer 2023-10-27 11:52:39 CEST
Will u report it upstream, should I?
Comment 5 Marja Van Waes 2023-10-29 15:07:56 CET
(In reply to Marc Krämer from comment #4)
> Will u report it upstream, should I?

Do you mind doing it?

I hope it'll help. Since August 2010 they haven't fixed any issue reported there :-(
Comment 6 Marc Krämer 2023-10-30 12:20:50 CET
looks like the beta version fixes the bug:
https://sourceforge.net/projects/vacation/files/vacation/1.2.8.0-beta1/

I'll test the beta, report, and make the update, if possible
Comment 7 Lewis Smith 2023-11-02 17:30:38 CET
That would be great. It is effectively a bug known upstream, and the project is moribund: the update you found is from 2014....
If the update does not fix the problem, this should go in ERRATA, and we might consider dropping it.

Thanks to both Marja & Marc for juggling this.
Comment 8 Marc Krämer 2023-11-03 15:33:49 CET
@Lewis: even if it does not work well, it is better than nothing, as we don't have an alternative. I did not have the time yet, to test that update, but the comments suggest, it is fixing it.
Comment 9 Marc Krämer 2023-11-05 11:04:23 CET
Updated vacation package:

This updates fixes issues with mail headers containing line breaks.

========================

Updated packages in core/updates_testing:
========================
vacation-debugsource-1.2.8.0-1.beta1.1.mga9
vacation-debuginfo-1.2.8.0-1.beta1.1.mga9
vacation-1.2.8.0-1.beta1.1.mga9

SRPM:
vacation-1.2.8.0-1.beta1.1.mga9.src.rpm

Assignee: bugsquad => qa-bugs

Comment 10 Marja Van Waes 2023-11-05 13:08:39 CET
Advisory from comment 9 added to SVN. Please remove the "advisory" keyword if it needs to be changed. It also helps when obsolete advisories are tagged as "obsolete"

Keywords: (none) => advisory

Comment 11 Lewis Smith 2023-11-06 22:17:45 CET
Thanks again to Marc for the update, and Marja for the Advisory.

CC: lewyssmith => (none)

Comment 12 Herman Viaene 2023-11-20 17:58:56 CET
MGA9-64 Xfce on Acer Asppire 5253
No installation issues.
No previous updates, no wiki, started googling, but couldn't make any sense  of it. Leaving for someone else. At least I cann't see anything disturbed by it.

CC: (none) => herman.viaene

Comment 13 Brian Rockwell 2023-12-08 04:33:23 CET
I tested vacation - it works as best I can tell.  Was able to issue the commands and it seemed to happily do the functions.

Whiteboard: (none) => MGA9-64-OK
CC: (none) => brtians1

Comment 14 Thomas Andrews 2023-12-08 05:50:23 CET
Sounds like the best we are going to do. Thanks.

Validating.

Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs

Comment 15 Mageia Robot 2023-12-08 12:57:38 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2023-0138.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.