Koozali.org: home of the SME Server

Turn off SMTP Proxy

Offline crusader

  • ****
  • 71
  • +0/-0
    • http://www.far-galaxy.de
Turn off SMTP Proxy
« on: October 01, 2004, 08:52:57 AM »
How do I turn off the smtp proxy in my E-Smith Server Version 6. I already found the option to turn off the smtp proxy but it's not working. My Server is relaying all mails by itself what it should not.

What options do I have to turn off to solve this problem?
Can someone help me with this?

Offline hardijs

  • ****
  • 77
  • +0/-0
masq
« Reply #1 on: October 06, 2004, 04:56:58 PM »
/etc/rc.d/init.d/masq

see for the port 25 transparent "proxying"

to temporarily disable that edit the masq file - coment the line
then
prompt# service masq restart

to get back - uncoment the line you comented previously
then service masq restart

the best solution for this to stick is to have your choice written in database and then  issue the post-upgrade event and then reboot your server (this might be what you have missed).

also - why would you like to have smpt proxy off - unless of course there is little hard drive space on your sme...

Offline crusader

  • ****
  • 71
  • +0/-0
    • http://www.far-galaxy.de
Turn off SMTP Proxy
« Reply #2 on: October 06, 2004, 05:41:33 PM »
Quote
the best solution for this to stick is to have your choice written in database and then issue the post-upgrade event and then reboot your server (this might be what you have missed).


how can I do this?

Quote
also - why would you like to have smpt proxy off - unless of course there is little hard drive space on your sme...


I need this, because, I have another server which does the e-mails for me. And most of time I get my e-mails back because, the isp server tells me it's from an ip range which belongs to a dynamic range. So I can't deliver most of my e-mails

PsyDuck

Turn off SMTP Proxy
« Reply #3 on: October 07, 2004, 08:01:44 AM »
Did you follow these instructions?

Snippet from: http://www.ibiblio.org/pub/linux/distributions/e-smith/current/iso/RELEASE-NOTES.txt

---------------------------------------------------
A transparent SMTP proxy has been added, to force all outgoing SMTP connections to go through the SME server. This feature enhances security with respect to viruses and worms that use SMTP to propagate themselves.

If you wish to disable this proxy, you can do so via:

  /sbin/e-smith/config setprop smtpfront-qmail Proxy disabled
  /sbin/e-smith/signal-event remoteaccess-update
-----------------------------------------------------------

Offline crusader

  • ****
  • 71
  • +0/-0
    • http://www.far-galaxy.de
Turn off SMTP Proxy
« Reply #4 on: October 07, 2004, 12:31:52 PM »
Yes but it seems to have no effect.

PsyDuck

Turn off SMTP Proxy
« Reply #5 on: October 07, 2004, 12:53:47 PM »
Ok...worked for me though.

What happens if you try to telnet to an external smtp server?

Offline crusader

  • ****
  • 71
  • +0/-0
    • http://www.far-galaxy.de
Turn off SMTP Proxy
« Reply #6 on: October 07, 2004, 01:13:25 PM »
It seems to work.

PsyDuck

Turn off SMTP Proxy
« Reply #7 on: October 07, 2004, 01:25:16 PM »
Well, if you can connect to external smtp-servers with telnet then the smtp proxy has been disabled.

You're shure that the settings in your mailclient isn't pointing to your smtp-server?

Perhaps I'm trying to solve something other than your issue?

wb0yrq

smtp proxy strangeness
« Reply #8 on: October 15, 2004, 02:27:53 AM »
I too had to disable transparent proxy of smtp (just did it, so will know if it works in the morning)
this is at a remote site that uses mail services elsewhere, and rebuilt from a crashed 5.x system.
users where getting intermittent connectivity to the remote smtp server/pop server, also not being able to send 5mb files. If they vpn'd into the machine, (from the local network) it would work.

wb0yrq

Control panel
« Reply #9 on: October 15, 2004, 02:29:12 AM »
It would be nice to have items like this in a control panel. what other wonderful hidden things can i do with /sbin/e-smith/db configuration setprop ?