On Wed, 2004-12-29 at 11:08, redhat linux wrote:
> hi
> i have configured sendmail on my machine, hostname of
> the machine is testserver and i am getting these
> errors in maillog
> 
> Dec 29 11:10:42 testserver sendmail[3343]:
> iBT5ed27003343: to=root, ctladdr=root (0/0),
> delay=00:00:03, xdelay=00:00:00, mailer=relay,
> pri=30199, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0,
> stat=Deferred: Connection refused by [127.0.0.1]
> 
> what i'm missing here? what i need to check here?
> i am running redhat 9.0
> kernel 2.4.20-8
> thanks in advance
> sudeep

By default red-hat sendmail does not allow relaying for other machines.
You need to rebuild sendmail.mc by adding :
DAEMON_OPTIONS(`Port=smtp,Addr=xxx.xxx.xxx.xxx, Name=MTA')dnl
 where xxx.xxx.xxx.xxx is machine from where relaying is to occur.

Then run m4 macro to build new sendmail.cf by giving command:
#m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf

restart service sendmail....
HTH
-- 
Sudev Barar
Learning Linux


_______________________________________________
ilugd mailinglist -- [email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[email protected]/

Reply via email to