Re: HOWTO for send/post email using EXMH on Ubuntu/Debian?

Alexander Zangerl <[email protected]>
Newsgroups gmane.mail.exmh.user
Message-ID <[email protected]>
On Mon, 10 Dec 2007 15:38:14 PST, [email protected] writes:
>I think I may have this somewhat figured out, in the case of using postfix
>et al to effect the send/post to my ISP's MTA using the "relayhost"
>parameter of the /usr/share/postfix/main.cf postfix config file, and also
>the "mts" parameter of the /etc/nmh/mts.conf config file.

you are correct, that is the way things are supposed to be.

>Additionally, it occurs to me that postfix is pretty heavyweight in terms
>of likely running daemons etc, and I only need to get outgoing email over

there's a bunch of smaller mail transfer agents out there,
eg. nullmailer.

>I note that one can config /etc/nmh/mts.conf such that nmh's "post"
>command interacts directly with an SMTP server. However, it looks from the
>mh-tailor(5) manpage like one cannot specify the SMTP port to use (it
>defaults to the standard one (which my ISP isn't using)), nor can one
>specify using SMTP-over-TLS, apparently (which I'd prefer to do).
>
>Does anyone have any feedback/thoughts?

the alternative setup is

 mts: sendmail
 sendmail: /usr/lib/sendmail

in mts.conf and

 postproc: /usr/lib/mh/spost

in ~/.mh_profile, which makes exmh/nmh use spost to
run a local sendmail as submission program, which then does 
its magic. 

i use this (well, close to) because i want some extra local
functionality happening before my mail goes out
(see http://www.snafu.priv.at/mystuff/kuvert/):

basically, as long as the program you list as sendmail in mts.conf
takes the standard sendmail options and reads a message from stdin,
nmh is happy. 

as to "no daemon", that is exactly what the spost setup provides.

regards
az


-- 
+ Alexander Zangerl + DSA 42BD645D + (RSA 5B586291)
You are in a twisty maze of lusers all alike. -- Paul Martin 
While, on the surface, this appears to be true. In actual fact, when examined
closely, each and every luser is uniquely and serially stupid. -- Geoff Lane

_______________________________________________
Exmh-users mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/exmh-users
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHXeIHpy/2bEK9ZF0RAsL9AJ9oqqYn6U5tr2GND+nlvWmKgrMvSgCdGHxB
z+mWOrTbNhncTwLincZmUFQ=
=lG4W
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.