Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: bigdaddy on February 01, 2005, 08:11:23 AM
-
Hi all,
I was wondering what the best method would be to disable smtpfront or simply get it to just listen on localhost.
I want to do this because I have a primary mailserver in our DMZ (qmail), and because our Mitel server takes over the smtp process, it breaks any attempt to use SMTP_AUTH + STARTTLS/SSL.
The only reason I need to do this is because many staff have road-warrior type set-ups with their laptops, and I don't want to make them try to change their settings every time they're in and out of the office *grief*.
I would imagine that, using the templates system, one would just remove the lines that make reference to the local network(s).
If anyone has any suggestions, it would be most appreciated.
re,
Nick
-
...Nevermind, I found a solution:
It was in a post from 2003.
http://forums.contribs.org/index.php?topic=8870.msg33384#msg33384
Until we make it configurable, this should work.
[root@sme1-60 root]# mkdir -p \
/etc/e-smith/templates-custom/etc/rc.d/init.d/masq
[root@sme1-60 root]# touch \
/etc/e-smith/templates-custom/etc/rc.d/init.d/masq/{35SMTPProxy,90adjustSMTPProxy}
[root@sme1-60 root]# /sbin/e-smith/expand-template \
/etc/rc.d/init.d/masq
[root@sme1-60 root]# /etc/init.d/masq restart
Note that this was done to prevent worms and viruses from talking to external
smtp servers to propagate themselves.