[PATCH v2] sendmail: automatically determine sender if not specified

Kaarle Ritvanen kaarle.ritvanen at datakunkku.fi
Sat Feb 8 10:16:54 UTC 2014


On Wed, 5 Feb 2014, Denys Vlasenko wrote:

> I just committed the following change:
>
> http://git.busybox.net/busybox/commit/?id=07f417b6ab92e0429f302ff6783bb9681b60120e
>
> but I'm unsure it is good enough for your use case.

This is probably good enough for the use case I have now at hand because 
I'm in control of the SMTP server's configuration. I can configure it to 
fill in the correct domain part when the client provides a plain username, 
but normally mail servers seem to reject such submissions. RFC 5321 
specifies envelope addresses to always include the domain name part.

To emulate the setup where a sendmail daemon is running locally with the 
default configuration, the sendmail applet should use the host's FQDN as 
the domain part of the sender address as in my patch.

BR,
Kaarle


More information about the busybox mailing list