Re: sendmail works only for localhost
On Wed, 9 Feb 2005, Chavdar Videff wrote:
> I am ready to provide any necessary information, but what I need is a little
> help about the step-by-step configuration: I mean - apt-get install, after
> that check X is ok, after that edit Y.conf to get what you want, etc.
1) Check /etc/mail/sendmail.mc for these lines:
dnl #
dnl # Daemon options - restrict to servicing LOCALHOST ONLY !!!
dnl # Remove `, Addr=' clauses to receive from any interface
dnl # If you want to support IPv6, switch the commented/uncommentd lines
FEATURE(`no_default_msa')dnl
dnl DAEMON_OPTIONS(`Family=inet6, Name=MTA-v6, Port=smtp, Addr=::1')dnl
DAEMON_OPTIONS(`Family=inet, Name=MTA-v4, Port=smtp, Addr=127.0.0.1')dnl
dnl DAEMON_OPTIONS(`Family=inet6, Name=MSP-v6, Port=submission, Addr=::1')dnl
DAEMON_OPTIONS(`Family=inet, Name=MSP-v4, Port=submission, Addr=127.0.0.1')dnl
remove the ', Addr=127.0.0.1' and ', Addr=::1',
2) rebuild sendmail.cf - likely via
`make -f /etc/mail/sendmail/Makefile sendmail.cf'
3) /etc/init.d/sendmail restart
Try your test again
--
Rick Nelson
Personally, I think my choice in the mostest-superlative-computer wars has to
be the HP-48 series of calculators. They'll run almost anything. And if they
can't, while I'll just plug a Linux box into the serial port and load up the
HP-48 VT-100 emulator.
(By jdege@winternet.com, Jeff Dege)
Reply to: