shumei2k
asked on
Sendmail configration problem
Hi ther,
After I installed Redhat Enterprise Linux 3 AS as Mail Server for university, I could send and receive emails internally, but I could not sendmail to or receive from externally, for example, I could not sendmail to my yahoo.com account, I could not receive email from it either.
It is not network connection problem, because I could browse www.yahoo.com...
How to fix?
Thank you so much!
Shumei2k
After I installed Redhat Enterprise Linux 3 AS as Mail Server for university, I could send and receive emails internally, but I could not sendmail to or receive from externally, for example, I could not sendmail to my yahoo.com account, I could not receive email from it either.
It is not network connection problem, because I could browse www.yahoo.com...
How to fix?
Thank you so much!
Shumei2k
do you have a proper MX record in DNS?
for sending out mails u need to add this line to the /etc/mail/sendmail.mc file :
FEATURE(promiscuous_relay) dnl
just before where the lines start with" MAILER" options
this will enable ur sendmail for the relay to outside domains...........
regarding the incoming mails...u need to confirm that ur domain is registered and ur MX record entry in the DNS is made. also u make entry of the domain for which u will receive mails for in the followin file :
/etc/mail/local-host-name
in /etc/mail/access to accept mails for ur domain
and /etc/mail/virtusertable specifying all the users on ur machine.............
Charanjeet Singh
FEATURE(promiscuous_relay)
just before where the lines start with" MAILER" options
this will enable ur sendmail for the relay to outside domains...........
regarding the incoming mails...u need to confirm that ur domain is registered and ur MX record entry in the DNS is made. also u make entry of the domain for which u will receive mails for in the followin file :
/etc/mail/local-host-name
in /etc/mail/access to accept mails for ur domain
and /etc/mail/virtusertable specifying all the users on ur machine.............
Charanjeet Singh
hey!!
i beleive u must have already edited the sendmail.mc file to receive mails....from other machine.. as u are already using it for internal mails......
charanjeet singh
i beleive u must have already edited the sendmail.mc file to receive mails....from other machine.. as u are already using it for internal mails......
charanjeet singh
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
I was confused. Please see my another open question: "The difference of Glibc and Sendmail on RedHAt AS 3 and Redhat 9 "
Anyway, it looks like the sendmail.mc of RHEL AS 3 is similar as sendamil.mc of RadHat 9.
I did not find
FEATURE(promiscuous_relay) dnl
in sendmail.mc in RHEL AS 3
It works now after I commented the line:
dnl DAEMON_OPTIONS(`Port=smtp, Addr=127.0 .0.1, Name=MTA')dnl
Thank you!
Anyway, it looks like the sendmail.mc of RHEL AS 3 is similar as sendamil.mc of RadHat 9.
I did not find
FEATURE(promiscuous_relay)
in sendmail.mc in RHEL AS 3
It works now after I commented the line:
dnl DAEMON_OPTIONS(`Port=smtp,
Thank you!