Re: [SLE] Sendmail: relay for local network - how? [solved]



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


--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx



Relevant Pages

  • Re: TCPView usability
    ... Localhost calls are Not remote connections, they are internal connections to the LocalHost on the computer. ... quantity of them cause useful entries to be pushed out of view. ...
    (microsoft.public.windowsxp.network_web)
  • Re: Always allow loopbacks ?
    ... snipped) or to the original question that started the thread (which you ... to use localhost while they would block any non-legitimate connections. ... specifying the port of the server). ...
    (comp.security.firewalls)
  • Re: ssh -R from work to home and ssh from home to work
    ... intent to display X at work). ... I think the problem is that the ssh to the tunnel makes ... not root at that localhost (not sure if that was because sshd was running ... point of view on the remote, the mail appeared to come from its localhost. ...
    (comp.os.linux.networking)
  • where did all the files go
    ... If I start working on my localhost, then wanted to transfer the website so I ... knows to use the remote server in partnership with the directory (notice I ... Create a localhost project, add a crystal report and adjust the security, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: when is the hosts name not localhost ??
    ... > I have a Sun SPARCstation 20, with a hostname of 'blackbird'. ... > machine seems to accept ssh connections to localhost, ... displays all socket connections, including servers. ... > Any thoughts why this machine will not allow remote ssh connections, ...
    (comp.security.ssh)