[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Email addressess (was Emacs - formatting and dating files)
> Sorry, I use QMail, although I assume that there is an analogue to the
> Sendmail functionality. Changing to Sendmail is not an option (and not
> something I'd like to do anyway :-)
> Surely this hack would present me as baz [at] ecosse.net and not
> TheEnglishman [at] ecosse.net?
The only gripe I have with qmail is (from what I can so far work out) the
pain of header-rewriting - it can't do fancy stuff :)
*However*, providing your MTA talks directly to sendmail (which in qmail is a
simple wrapper for qmail-inject for compatibility), rather than by setting up
a TCP connection to local SMTP, you can do what you want with basic
environment variables :)
Try plonking something similar to the following in your .profile :
QMAILHOST=ecosse.net
QMAILINJECT=f
QMAILNAME='Bazza'
QMAILUSER=TheEnglishman
export QMAILHOST QMAILINJECT QMAILNAME QMAILUSER
and see if that works (you can probably work out what each bit does) - this
works well for mailx. If not, you may have to do funny things with your mail
client...I had to modify /usr/lib/mh/mtstailor to send mail via a sendmail
wrapper which essentially looked at `whoami` and set those four variables
accordingly if it was me -- MH isn't an easy MUA to work with, but I just
find exmh (tcl/tk frontend for MH) rather a decent client, I can't give it up
:)
Chris...
--
Chris Johnson \ "If not for me then, do it for yourself. If not
sixie@nccnet.co.uk \ for then do it for the world." -- Stevie Nicks
www.nccnet.co.uk/~sixie/ ~---------------------------------------+
Redclaw chat - http://redclaw.org.uk - telnet redclaw.org.uk 2000 \______
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.