I have some findings to add following up on a thread mostly between
Vaclav Barta and Adrian Aichner,
http://list-archive.xemacs.org/xemacs-beta/200110/msg00078.html
The difficulty sending out mail doesn't have to do with Vaclav's local
mail setup. It is specific to Xemacs; Gnu emacs (on the same machine)
doesn't suffer from the problem.
I have RedHat 7.2 and the "normal" variables in emacs:
send-mail-function sendmail-send-it
sendmail-program "/usr/lib/sendmail"
Gnu emacs invokes sendmail -oi -f christian(a)xpogen.com -oem -odb -t
which is good.
But Xemacs invokes sendmail -oi -f brech -oem -odb -t
and THAT'S BAD!
Because now sendmail puts in brech(a)localhost.localdomain as the
Return-Path, and many mailers will reject the message as they cannot
resolve the originating domain.
By the way,
* Supplying Return-Path: as a header in the message does not help;
sendmail overrides it.
* Gnu emacs has "/usr/sbin/sendmail" as the send-mail-program,
but changing that has no effect.
* I'm serious about mail in emacs. I've been using VM for years.
And, the Return-Path problem is unrelated to VM.
Question: How can I influence what Xemacs puts after the -f option to
sendmail?
Thanks
Christian