On Tue, 2006-05-16 at 10:43 -0400, Ken Schneider wrote:
OK. Then edit /etc/sysconfig/mail and check the following:
# Set this to "yes" if mail from remote should be accepted # this is necessary for any mail server. # If set to "no" or empty then only mail from localhost # will be accepted. # SMTPD_LISTEN_REMOTE="yes"
Ken, thanks. But that's not the problem. It *is* listening and allowing remote connections (mail from outside comes in just fine). What it isn't doing is alowing hosts on the local network to relay to the internet unconditionally. kind of like in postfix it would have been: mynetworkplaces = 127.0.0.0/8 Nevertheless, I have figured out why it isn't working. As I said before I have Scalix installed on the box. It seems scalix changes sendmail's config so it doesn't listen on the external interface, only on localhost. Instead Scalix itself listens on the external interface. No wonder my changes don't seem to have any effect! Spot the difference: hercules:~ # telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 hercules.example.com ESMTP Sendmail 8.12.11.20060308/8.12.10/SuSE Linux 0.7; Tue, 16 May 2006 20:28:35 +0200 and hercules:~ # telnet 192.168.16.2 25 Trying 192.168.16.2... Connected to 192.168.16.2. Escape character is '^]'. 220 hercules.example.com ESMTP Scalix SMTP Relay 10.0.0.175; Tue, 16 May 2006 20:28:45 +0200 (SAST) Thanks for all who responded - sorry for the time wasted.. Hans