Date: Thu, 3 Jan 2002 14:08:38 -0500 From: "Michael Scheidell" <scheidell@secnap.net> To: <freebsd-hackers@FreeBSD.ORG> Subject: Sendmail or elm stoped working for non-root in 4.4-STABLE Message-ID: <002801c1948a$0d452ec0$2801010a@MIKELT>
next in thread | raw e-mail | index | archive | help
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 user@host.tld < laptops.txt works. elm -s "test" scheidell@fdma.com < laptops.txt failes: Failed: /usr/sbin/sendmail: Bad file descriptor elm -V -s "test" scheidell@fdma.com < laptops.txt works: Sending mail... scheidell@fdma.com... 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:<scheidell@hackertrap.somehost.com> SIZE=1192 250 2.1.0 <scheidell@hackertrap.somehost.com>... Sender ok >>> RCPT To:<scheidell@fdma.com> 250 2.1.5 <scheidell@fdma.com>... Recipient ok >>> DATA 354 Enter mail, end with "." on a line by itself >>> . 250 2.0.0 g03IeuW37448 Message accepted for delivery scheidell@fdma.com... Sent (g03IeuW37448 Message accepted for delivery) Closing connection to ns.fdma.com. >>> QUIT 221 2.0.0 mail.fdma.com closing connection Mail to scheidell@fdma.com... Mail sent! so, what should I be looking for? -- Michael Scheidell Secnap Network Security, LLC scheidell@secnap.net 1+(561) 368-9561 See updated IT Security News at http://www.fdma.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002801c1948a$0d452ec0$2801010a>