White, Daniel E. (GSFC-770.0)[AEGIS]:
I found out how to do it from command line:

echo -e "Testing Mail\nThank you" | mailx -v -s "Testing Mail" -S 
"reply-to=yom...@example.com"  m...@example.com<mailto:m...@example.com>

Wietse Venema wrote:
This smells like a common webserver problem, where the webserver
submits email messages that appear to come from rhe web server's
UNIX account (www-ser...@example.com). Adding a Reply-To: header
is the WRONG solution for that. Instead, specify the correct
envelope sender address:

   /usr/bin/sendmail -f yom...@example.com recipient....

On 2022-06-30 23:41, Bob Proulx wrote:
WDYT about using a canonical table to map www-d...@example.com to
desi...@example.com?  Then no Reply-To would be needed since the From:
address would be correct.

On 01.07.22 18:26, Rob McGee wrote:
Of course this would only work in cases where only a single envelope
sender address is used.  In the case of a webmail client with multiple
users, it won't scale.  The better choice is to consult documentation
for that webmail and configure it to use sender addresses of logged-in
users.

webmail applications should have own ways to set envelope from: address, e.g. using SMTP authentication or setting "-f" parameter to sendmail
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Due to unexpected conditions Windows 2000 will be released
in first quarter of year 1901

Reply via email to