Request for assistance

John Abreau jabr at abreau.net
Tue Dec 17 22:41:16 EST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Content-Type: text/plain; charset=us-ascii

mark_glassberg at valley.net writes:

> Thank you...I think.  It worked.  So, if you would, since .muttrc uses
> sendmail -oi -oem -t to send mail, how would I get my system to do what
> I just did?

The options mean the following:

    -oi - "IgnoreDots": override the default where a "." on a line 
          by itself is interpreted as the end of the message

    -oem - "ErrorMode=m": On errors, mail the error message back to me

    -t - Use the message headers to find where to send the message

These options work when you invoke sendmail on the command line (or mutt 
invokes sendmail on a pipe), but are not relevant to talking to a 
remote instance of sendmail through an SMTP connection. 

I happen to have a co-located server I can ssh to, and I use an 
ssh tunnel for sending via SMTP (and another for receiving via 
IMAP with fetchmail). If you have or can get a shell account, 
you could do the same. 

Let's say you can ssh to shell.example.com, and you can send mail 
when logged in there. You'd set up a DSA or RSA keypair for ssh, 
and then use ssh-agent to cache the local key so you can ssh 
to shell.example.com without typing your keypair's passphrase 
each time.

Once you've got that working, you'd change that entry in your 
muttrc file from 

    sendmail -oi -oem -t

to

    ssh shell.example.com nc localhost 25


- --
John Abreau / Executive Director, Boston Linux & Unix
Email jabr at blu.org / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9
PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Exmh version 2.5 07/13/2001

iQCVAwUBPf/uW1V9A5rVx7XZAQIJ/AP/Xnt6vFLiDeNlfW4jOCGPfGvFhotC+/sP
VROd8oXsS3z5gtW5245X1P7t3oQmaa+QTD4Bb9BrjZoTj8FQ8ngGttQbZnDI9uca
Jt/D1OlEtDOJZGMBR67Uq+5C+UElK384JHe1u7jgkPnPbQrc6WtKPcvco0+WONvw
3MHDPF+XbA4=
=sUkg
-----END PGP SIGNATURE-----




More information about the Discuss mailing list