--- Sudev Barar <[EMAIL PROTECTED]> wrote: > 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 Thanks sir as u have said i "added" DAEMON_OPTIONS(`Port=smtp,Addr=xxx.xxx.xxx.xxx, Name=MTA')dnl
I am still learning how to configure sendmail..so my query now is that the sendmail.mc file says dnl # The following causes sendmail to only listen on the IPv4 loopback address dnl # 127.0.0.1 and not on any other network devices. Remove the loopback dnl # address restriction to accept email from the internet or intranet. dnl # DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1,Name=MTA')dnl so i commented the entry and made a new one which contains the ip of my machine......means the answer that you have said. This is been done before the query i made in the forum. so the mails to 127.0.0.1 is not getting relayed, now question is "Is it necessary to have a smtp port 25 open for localhost, irrespective of whether we have different smtp server or not? i hope you got what my query is thanks... sudeep __________________________________ Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more. http://info.mail.yahoo.com/mail_250 _______________________________________________ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/