Koozali.org: home of the SME Server

unable to use external smtp server from internal network

fredjupp

unable to use external smtp server from internal network
« on: January 31, 2005, 07:53:24 PM »
Gentle readers,

i am onn 6.0. If i try to connect to an external smtp server, i always get the prompt from qmail-smtpfront.

This happens with outlook(express) and also with telnet <mailserver> 25. Happens on all pcs on internal network.

Does someone know, how the redirection is done and how i can get rid of it?

Kind regards

Klaus F.

pistonpilot

unable to use external smtp server from internal network
« Reply #1 on: January 31, 2005, 08:06:09 PM »
I pay for smtp service and use port 7721 to send my mail.  I do not send through e-smith or ClarkConnect servers as they are on dynamic DNS or they are still listed as dynamic in the spam databases making mail sent from the smtp server to be refused in some places.

What I noticed, was that even if you tell your mail client to use port 25 on another server, E-smith will intercept it and take it as its own.

You must use a different port or turn off the outgoing mail on e-smith.

Michiel

unable to use external smtp server from internal network
« Reply #2 on: January 31, 2005, 11:51:26 PM »
Quote from: "pistonpilot"
What I noticed, was that even if you tell your mail client to use port 25 on another server, E-smith will intercept it and take it as its own.

You must use a different port or turn off the outgoing mail on e-smith.


SME will indeed intercept all traffic for port 25 and forward it to the smtp server you indicated in the server manager (Server Manager -> E-Mail -> Address of Internet provider's mail server).

This is a feture I really like, as it allows roaming users to plug in their notebook and start sending e-mail without having to change their client's smtp settings.

Just point SME to your ISP's smtp server and you should be fine.

Michiel

Offline NickR

  • *
  • 283
  • +0/-0
    • http://www.witzendcs.co.uk/
Re: unable to use external smtp server from internal network
« Reply #3 on: February 01, 2005, 08:55:41 AM »
Quote from: "fredjupp"
i am onn 6.0. If i try to connect to an external smtp server, i always get the prompt from qmail-smtpfront.

This happens with outlook(express) and also with telnet <mailserver> 25. Happens on all pcs on internal network.

Does someone know, how the redirection is done and how i can get rid of it?


This is by design.  There is an SMTP proxy running and it's actually very useful in most cases - it's particularly effective at stopping virus infected machines from send mail with their own SMTP engine!
If you want to disable it, try doing:

# /sbin/e-smith/db configuration setprop smtpfront-qmail Proxy disabled
# /sbin/e-smith/signal-event email-update
--
Nick......

fredjupp

Re: unable to use external smtp server from internal network
« Reply #4 on: February 02, 2005, 08:52:21 PM »
NickR solved the problem for me.Thanks a lot!!

Quote from: "NickR"
Quote from: "fredjupp"
i am onn 6.0. If i try to connect to an external smtp server, i always get the prompt from qmail-smtpfront.

This happens with outlook(express) and also with telnet <mailserver> 25. Happens on all pcs on internal network.

Does someone know, how the redirection is done and how i can get rid of it?


This is by design.  There is an SMTP proxy running and it's actually very useful in most cases - it's particularly effective at stopping virus infected machines from send mail with their own SMTP engine!
If you want to disable it, try doing:

# /sbin/e-smith/db configuration setprop smtpfront-qmail Proxy disabled
# /sbin/e-smith/signal-event email-update

mbachmann

unable to use external smtp server from internal network
« Reply #5 on: February 03, 2005, 10:12:07 AM »
You can view your current SMTP host with

/sbin/e-smith/db configuration show SMTPSmartHost.