Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 359421

Summary: mail-mta/ssmtp-2.64 FromLineOverride option is ignored
Product: Gentoo Linux Reporter: Marco Clocchiatti <ziapannocchia>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: CONFIRMED ---    
Severity: normal CC: net-mail+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: simple patch

Description Marco Clocchiatti 2011-03-18 23:19:39 UTC
mail-mta/ssmtp-2.64 FromLineOverride option is buggy

Reproducible: Always

Steps to Reproduce:
1. set FromLineOverride=never in /etc/ssmtp/ssmtp.conf
make a header.txt file, similar to this one:
From: My Name<myBox@box.org>
Subject: any
To: myFriend@foo.bar

3. do something similar to:
cat someText.txt |mutt -H header.txt myFriend@foo.bar

Actual Results:  
the from line is substituted with username@hostname

Expected Results:  
the from line should be the mutt defined:
My Name<mybox@box.org>
Comment 1 Marco Clocchiatti 2011-03-18 23:21:15 UTC
Created attachment 266401 [details]
simple patch
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-03-21 01:26:42 UTC
(Looks remarkably like bug #22821.)