Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: smeghead on October 08, 2013, 09:28:59 AM

Title: Sending mail via External Mail Account with SMTP proxy enabled
Post by: smeghead on October 08, 2013, 09:28:59 AM
Hi all

I have a client that uses their SME8 for email with smtp proxy on.  They need to be able to access an external server for inbound & outbound mail for an associated business; the mail needs to be sent from their mail server not the SME8.

Is there a config setting I can use/tweak to maintain the benefit of the proxy but also allow this email account to work as required?

TIA
Title: Re: Sending mail via External Mail Account with SMTP proxy enabled
Post by: mmccarn on October 08, 2013, 12:53:10 PM
Can't you still get to the external mail server on port 465 or 587?  I don't have the SMTP proxy enabled, but the code looks like it only intercepts port 25.

If not, you might be able to create a version of the Squid Proxy Bypass (http://wiki.contribs.org/Firewall#Bypass_Proxy) templates to do what you want - you'd need to create custom versions of 35SMTPProxy and 90adjustSMTPProxy in /etc/e-smith/templates-custom/etc/rc.d/init.d/masq
Title: Re: Sending mail via External Mail Account with SMTP proxy enabled
Post by: smeghead on October 08, 2013, 01:14:23 PM
Doh!

I compltely forgot about the Squid Bypass stuff, will give it a crack

Ta muchly