Cannot receive email from sendmail under redhat 9
Dear all,
Under redhat 9, I install the sendmail with version 8.12.8-4, It can
receive
emails from the users of the same server but cannot receive from those of
other servers. Why? Note that the service have already enabled in both the
ipop and the imap file. Please give us possible suggestion, thank.
John
Re: Cannot receive email from sendmail under redhat 9
On Mon, 20 Aug 2007 11:31:15 +0800, Simon lee wrote:
> Under redhat 9, I install the sendmail with version 8.12.8-4, It can
> receive
> emails from the users of the same server but cannot receive from those
> of other servers. Why? Note that the service have already enabled in
> both the ipop and the imap file. Please give us possible suggestion,
> thank.
Perhaps because sendmail was started to listen only on 127.0.0.1.
Re: Cannot receive email from sendmail under redhat 9
On 2007-08-20, Simon lee <simonlee [at] yahoo.com> wrote:
> Dear all,
>
> Under redhat 9, I install the sendmail with version 8.12.8-4, It can
> receive
> emails from the users of the same server but cannot receive from those of
> other servers. Why? Note that the service have already enabled in both the
> ipop and the imap file. Please give us possible suggestion, thank.
Have a look in your /etc/mail/sendmail.mc, it could be that this line needs
commenting out :
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
Once you've sorted that, you can check that sendmail is listening on all
interfaces with :
# netstat -tlp
You should see something like :
tcp 0 0 *:smtp *:* LISTEN xxxx/sendmail
HTH.
Regards,
Nrth.