Please point me in right direction.
'elm' in FBSD 4.3, 4.4-REL worked for non root.
Now, elm sometimes fails on 4.4-STABLE, for non-root
it fails using the OLD sendmail.cf, and the new one generated by make world.
/usr/sbin/sendmail is link to /usr/sbin/mailwrapper
ls -l /etc/mail/mailer.conf looks fine.
-rw-r--r--  1 root  wheel  316 Apr 21  2001 /etc/mail/mailer.conf

failure is
Failed: /usr/sbin/sendmail: Bad file descriptor
I copied over anolder version of sendmail (which I know works) and it still
failed.

there is no entry in /var/log/messages or /var/log/maillog

elm is sgid mail (like before:
ls -l /usr/local/bin/elm
-rwxr-sr-x  1 root  mail  395804 Sep 25 11:37 /usr/local/bin/elm

just like on older systems
I looked for permissions problems, and, just wanted a general look around so
used the '-Voyer' mode for elm:

elm -V

funny thing.  it worked, with -V option to elm, it sent the mail for non
root user.
sendmail -oit [EMAIL PROTECTED] < laptops.txt   works.

elm -s "test" [EMAIL PROTECTED] < laptops.txt  failes:
Failed: /usr/sbin/sendmail: Bad file descriptor

elm -V -s "test" [EMAIL PROTECTED] < laptops.txt works:

Sending mail...
[EMAIL PROTECTED] Connecting to ns.fdma.com. via esmtp...
220 mail.fdma.com ESMTP Sendmail 8.11.3/8.11.3; Thu, 3 Jan 2002
13:40:56 -0500 (EST)
>>> EHLO hackertrap.somehost.com
250-mail.fdma.com Hello [12.40.255.159], pleased to meet you
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-SIZE
250-ONEX
250-ETRN
250-XUSR
250 HELP
>>> MAIL From:<[EMAIL PROTECTED]> SIZE=1192
250 2.1.0 <[EMAIL PROTECTED]>... Sender ok
>>> RCPT To:<[EMAIL PROTECTED]>
250 2.1.5 <[EMAIL PROTECTED]>... Recipient ok
>>> DATA
354 Enter mail, end with "." on a line by itself
>>> .
250 2.0.0 g03IeuW37448 Message accepted for delivery
[EMAIL PROTECTED] Sent (g03IeuW37448 Message accepted for delivery)
Closing connection to ns.fdma.com.
>>> QUIT
221 2.0.0 mail.fdma.com closing connection
Mail to [EMAIL PROTECTED]
Mail sent!


so, what should I be looking for?

--
Michael Scheidell
Secnap Network Security, LLC
[EMAIL PROTECTED] 1+(561) 368-9561
See updated IT Security News at http://www.fdma.com/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to