mohrr wrote:
The solution I'm looking for is an SMTP server that accepts mail from anywhere (with authentication) and allows users to use whatever From: address they want.
I've spent the last hour looking for a way to do this, playing with Postfix, exim, courier, etc., but can't find it. Perhaps I'm just looking in the wrong place.
In exim, to accept relaying, you set the
hostlist relay_from_hosts =
line in exim.conf
If you want the address rewritten (sendmail calls this masquerading, I believe), check the
/etc/email-addresses
file.