invalid MAIL FROM email address using "sendmail -t"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ssmtp (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When using ssmtp with the "sendmail -t" command to override the from address, it uses
MAIL FROM:<from: <email address hidden>>
instead of
MAIL FROM: <email address hidden>
Postfix will actually accept this bogus email address, but gmail will not.
Here is the debugging output of the command showing the invalid MAIL FROM.
$ sendmail -t -d9
from: <email address hidden>
to: <email address hidden>
subject: test has-dev
[<-] 220 mouthwateringme
[->] EHLO has-dev.
[<-] 250 DSN
[->] STARTTLS
[<-] 220 2.0.0 Ready to start TLS
[->] HELO has-dev.
[<-] 250 mouthwateringme
[->] MAIL FROM:<from: <email address hidden>>
Here is my /etc/ssmtp/
<email address hidden>
mailhub=HIDDEN:587
rewriteDomain=
hostname=
FromLineOverrid
UseTLS=YES
UseSTARTTLS=YES
$ lsb_release -rd
Description: Ubuntu 14.04.4 LTS
Release: 14.04
$ apt-cache policy ssmtp
ssmtp:
Installed: 2.64-7
Candidate: 2.64-7
Version table:
*** 2.64-7 0
500 http://
100 /var/lib/