Try putting:

mts: sendmail

in your mts.conf file.

Shantonu

Rohan Oberoi writes:
>Any suggestions gratefully welcomed.
>
>I have an account on a system where no one's using MH.  However, Pine
>and Elm work fine, so I assume MH should.
>
>% uname -a
>FreeBSD ainaz.pair.com 4.1.1-STABLE FreeBSD 4.1.1-STABLE #0: Thu Nov 9 16:53:2
>0 EST 2000 [EMAIL PROTECTED]:/usr/src/sys/compile/PAIRk  i386
>
>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.
>
>I really need to get MH working here (and I would reinstall MH, but
>I'm not the sysadmin, so I really need to figure out exactly what the
>problem is and what the sysadmin needs to do to fix it).
>
>Here is the mts.conf file as it is now:
>
>% cat /usr/local/etc/nmh/mts.conf 
># nmh mail transport interface customization file.
># Check the mh-tailor(5) man page for a list of
># all the available options for this file.
>#
># The exceptions file for /etc/hosts used by
># `post' to try to find official names.
>hostable: /usr/local/etc/nmh/hosts
>#
># Name that nmh considers `local'.  If not set, nmh will
># query the system for this value (gethostname, etc...).
>#localname: foo.bar.com
>#
># The following directive allows email address masquerading.  The
># string "draft_from mmailid username_extension" will allow all three 
># types.
>masquerade: 
>#
># Default location of mail drops.  If this option is
># set, but empty, the user's home directory is used.
>mmdfldir: /var/mail
>#
># The name of the maildrop file in the directory where maildrops
># are kept.  If this is empty, the user's login name is used.
>mmdflfil:
>#
># Hardcoded POP server name (prevents inc'ing from local mail spool).
>#pophost: localhost
>#
># List of smtp servers to try if using smtp support
># servers: localhost
>sendmail: /usr/sbin/sendmail
>
>
>

*-------------------------------------------*
|Shantonu Sen * (617)225-7269 * [EMAIL PROTECTED]|
|Electrical Engineering and Computer Science|
|Massachusetts Institute of Technology, 2002|
*-------------------------------------------*

Reply via email to