Koozali.org: home of the SME Server

Sending mail via External Mail Account with SMTP proxy enabled

Offline smeghead

  • *
  • 563
  • +0/-0
Sending mail via External Mail Account with SMTP proxy enabled
« 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
..................

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Re: Sending mail via External Mail Account with SMTP proxy enabled
« Reply #1 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 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

Offline smeghead

  • *
  • 563
  • +0/-0
Re: Sending mail via External Mail Account with SMTP proxy enabled
« Reply #2 on: October 08, 2013, 01:14:23 PM »
Doh!

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

Ta muchly
..................