Adding

set sendmail=/usr/sbin/ssmtp.exe

to /etc/mail.rc allows nail to work with ssmtp.

What's weird, is that nail saw every command line option as an email address:

$ echo test | nail -s "subject" [EMAIL PROTECTED]
$ smtp-server: 501 <-s>: recipient address must contain a domain
. . . message not sent.

Yet, if I typed:

$ echo test | nail -v -s "subject" [EMAIL PROTECTED]
It *verbosely* displayed the above error.

Go figure.

-Ross

> > * Mon 2004-10-18 Harold Leatherman Hunt II <huntharo AT msu.edu>
> > I don't have sendmail, only exim.

Reply via email to