It works! I can send mail from Xemacs.
I decided I did not want to go wild, got mail-lib-1.44-pkg.tar.gz,
unpacked it and copied it into /usr/share/xemacs-21.1.14/lisp/ and
then /usr/lib/xemacs/xemacs-packages/lisp/. First I thought it didn't
work, because (package-get-package-provider 'mail-lib) still gives me
(mail-lib "1.33"), but I have the new functionality, i.e., it invokes
sendmail -oi -oem -odb -t
(no more -f), and when I (setq mail-specify-envelope-from t), it uses
my user-mail-address:
sendmail -oi -f christian(a)xpogen.com -oem -odb -t
The essential bugfix is in sendmail.el revision 1.9, 2001/08/01
19:10:39 by Simon (Second change from the bottom in
http://cvs.xemacs.org/viewcvs.cgi/XEmacs/packages/xemacs-packages/mail-li...
)
Thanks to everyone, in particular Adrian!
Christian
>>>> "CB" == christian
<christian(a)xpogen.com> writes:
CB> Gnu emacs invokes sendmail -oi -f
christian(a)xpogen.com -oem -odb -t
CB> Xemacs invokes sendmail -oi -f brech -oem -odb -t
in my .emacs:
(custom-set-variables
'(user-mail-address "christian(a)xpogen.com" t))
Hence xemacs does NOT ask for the address, but xemacs -vanilla does.
Excerpt of message (sent 13 May 2002) by Adrian Aichner:
Which mail-lib version are you using?
(package-get-package-provider 'mail-lib)
gives me
(mail-lib "1.45")
Excerpt of message (sent 15 May 2002) by Adrian Aichner:
christian> Gotta go out and find a newer mail-lib; I have
1.33
Don't search, Christian.
Just get
http://ftp.xemacs.org/packages/mail-lib-1.44-pkg.tar.gz
which is the last released version.