caff doesn't send emails via SMTP with my From address
Bug #317563 reported by
Muelli
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
signing-party (Debian) |
Fix Released
|
Unknown
|
|||
signing-party (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: signing-party
I configured caff with
$CONFIG{'email'} = 'my@address';
and I'm trying to send the signed mails.
Caff does, however, use "user@hostname" as the FROM address in the SMTP dialog, which makes it impossible for me to send the signed-keys.
I expected it to use the $CONFIG{'email'} as FROM address and not my user@hostname.
Also there is no way to configure that.
A workaround is to either use ssmtp or configure the smtpd that it doesn't barf on a malformed FROM address. Both are a hassle to setup and to maintain. I'd love to have a simple CAFF option for that.
Changed in signing-party (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
Changed in signing-party (Debian): | |
status: | Unknown → New |
Changed in signing-party (Debian): | |
status: | New → Won't Fix |
Changed in signing-party (Debian): | |
status: | Won't Fix → Fix Released |
To post a comment you must log in.
It uses the specified email and owner variables for the From: header. However, the Envelope FROM in the SMTP session is decided by the Mail::Internet perl module that caff uses.
I think it should be possible to use the MailFrom option from this perl module to specify the envelope from.
It's a design decision from caff to make it agnostic of which email transport you use. Otherwise we would have to reimplement SMTP and sendmail and ... functionality in this script, and in the next script, etc. Adding such an option to caff is hence not 'simple' as it complicates the codebase, rather than abstracting the sending away to the tools that are good at sending email.