> I just set up a Debian system using testing as the source. I moved from a > Gentoo Linux system. I installed Sendmail. I am able to send and receive > e-mail outside of this box with no problems. But, cron is not able to > send any e-mails from within the box. Here is the error message: > > ----- The following addresses had permanent fatal errors ----- > jeff > (reason: 530 5.7.0 Authentication required) > (expanded from: jeff) > > It wants to authenticate local mail to local users. > > Any help would be appreciated. > > Thanks, > Jeff
I have done some digging around with my problem. Here is some more information. I have the two lines in my sendmail.mc files: DAEMON_OPTIONS(`Family=inet, NAME=MTA-v4, Port=smtp')dnl DAEMON_OPTIONS(`Family=inet, NAME=MSP-v4, Port=submission, M=Ea')dnl With those two lines I get the following error when using mailx: [EMAIL PROTECTED] /etc/mail # mail -v jeff Subject: Test Message This is a test . Cc: jeff... Connecting to [127.0.0.1] port 587 via relay... 220 apple.stikman.com ESMTP Sendmail 8.14.1/8.14.1/Debian-9; Thu, 25 Oct 2007 12:35:54 -0700; (No UCE/UBE) logging access from: localhost(OK)-localhost [127.0.0.1] >>> EHLO apple.stikman.com 250-apple.stikman.com Hello localhost [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-EXPN 250-VERB 250-8BITMIME 250-SIZE 250-DSN 250-AUTH DIGEST-MD5 CRAM-MD5 LOGIN PLAIN 250-STARTTLS 250-DELIVERBY 250 HELP >>> VERB 250 2.0.0 Verbose mode >>> STARTTLS 220 2.0.0 Ready to start TLS >>> EHLO apple.stikman.com 250-apple.stikman.com Hello localhost [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-EXPN 250-VERB 250-8BITMIME 250-SIZE 250-DSN 250-AUTH DIGEST-MD5 CRAM-MD5 LOGIN PLAIN 250-DELIVERBY 250 HELP >>> VERB 250 2.0.0 Verbose mode >>> MAIL From:<[EMAIL PROTECTED]> SIZE=47 [EMAIL PROTECTED] 530 5.7.0 Authentication required root... Using cached ESMTP connection to [127.0.0.1] via relay... >>> RSET 250 2.0.0 Reset state >>> MAIL From:<> SIZE=1071 530 5.7.0 Authentication required postmaster... Using cached ESMTP connection to [127.0.0.1] via relay... >>> RSET 250 2.0.0 Reset state >>> MAIL From:<> SIZE=2095 530 5.7.0 Authentication required MAILER-DAEMON... Saved message in /var/lib/sendmail/dead.letter Closing connection to [127.0.0.1] >>> QUIT 221 2.0.0 apple.stikman.com closing connection Can't send mail: sendmail process failed with error code 69 If I change the two lines in my sendmail.mc file to this: DAEMON_OPTIONS(`Family=inet, NAME=MTA-v4, Port=smtp')dnl DAEMON_OPTIONS(`Family=inet, NAME=MSP-v4, Port=submission')dnl Then the mail works as expected. I had the following line in my old sendmail.mc file when I was using Gentoo: DAEMON_OPTIONS(`Port=587, Name=MSA, M=Ea') Because I want port 587 to require authentication and cron worked fine. But, when I put the M=Ea in the Debian version of Sendmail, I am not able to send mail using cron. Is it possible to me to require authentication on the 587 port, but still allow local mail on the server to work? Sorry for the lengthy e-mail. But, thanks for any help that you guys can offer me. Jeff -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]