Newsgroups: comp.os.linux.help,comp.os.linux.questions,comp.os.linux.networking,comp.os.linux.misc,comp.os.linux.redhat Date: Mon, 24 Mar 2003 15:42:23 -0700
> >>> MAIL From:<jhaefner@bnr233.bnr.usu.edu> > 550 5.0.0 Access denied > /home/jhaefner/dead.letter... Saved message in /home/jhaefner/dead.letter > Closing connection to [127.0.0.1] > >>> QUIT > 221 2.0.0 closing connection > > Any ideas where the "Access denied" is coming from?
edit /etc/mail/sendmail.mc
comment out the line that reads:
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
then:
"m4 /etc/mail/sendmail.mc > /etc/sendmail.cf"
Do this as root.
jeff
Make sure these two lines are in your sendmail.cf
O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA O DaemonPortOptions=Port=smtp,Addr=<yourIP>, NAME=MTA
This will allow localhost delivery and the IP of the NIC card receiving connections. Once you update this in sendmail.cf run
/etc/init.d/sendmail restart
ken k