Rohan Oberoi <[EMAIL PROTECTED]> writes:
[...]
> NMH 1.0.4 is installed:
>
> % which inc
> /usr/local/bin/inc
> % inc -version
> inc -- nmh-1.0.4 [compiled on naberi.pair.com at Mon Oct 16 11:28:11 EST 2000]
>
> Receiving mail is fine, but sending mail fails to work for any address:
>
> % send
> Use "/usr/home/roberoi/Mail/draft"? y
> -- Posting for All Recipients --
> -- Network Recipients --
> rohan.oberoi at cornell.edu: loses; [USER] 553 sorry, that domain
> isn't in my list of allowed rcpthosts (#5.7.1)
> post: 1 addressee undeliverable
> send: message not delivered to anyone
> %
>
> It seems that MH is trying to use a relay SMTP server instead of just
> passing the mail along to Sendmail (actually QMail, but it has a
> Sendmail clone at /usr/sbin/sendmail). I suggested changing servers:
> localhost in the mts.conf file to sendmail: /usr/sbin/sendmail, but
> that doesn't seem to have fixed the problems.
No, that's not correct mts.conf syntax. Starting in 1.0.4+dev, you can
change the MTS from a list of SMTP servers to `sendmail' in mts.conf, but on
1.0.4 and back, the MTS is set at configure time (in your case,
--with-mts=sendmail apparently wasn't used).
To get SMTP-based sending working, you'll need to have your admin change the
"servers:" line to have one or more servers that allow your machine to relay
through them.
If there are no such servers for some reason, you'll need to configure nmh
to use the undocumented spost command. Been a long time since I've used
that, but as I recall you just need to put:
post: spost
in your .mh_profile (each user would need this, so perhaps you should just
have your sysadmin re-install nmh, this time configuring
--with-mts=sendmail).
If I'm misremembering about anything here, I'm sure someone will correct me.
-----------------------------------------------------------------------
Dan Harkless | To prevent SPAM contamination, please
[EMAIL PROTECTED] | do not post this private email address
SpeedGate Communications, Inc. | to the USENET or WWW. Thank you.