X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=115-188-8-213-adsl.sparkbb.co.nz;
X-Received: from [192.168.1.66] (115-188-8-213-adsl.sparkbb.co.nz [115.188.8.213])
by netwin.co.nz (SurgeMail 7.3p) with ESMTP (TLS) id 8061410-1391920
for <surgemail-list@netwin.co.nz>; Wed, 06 Feb 2019 00:57:58 +0000
X-Return-Path: surgemail-support
Subject: Re: [SurgeMail List] Gateway based on sender IP address
To: surgemail-list@netwin.co.nz
References: <ea09624f-1aae-1b53-21bd-980043d7b2a6@serve.net>
From: Surgemail Support
Message-ID: <83614242-97c6-2f56-1b38-613d4f61f92a@netwinsite.com>
Date: Wed, 6 Feb 2019 13:57:55 +1300
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101
Thunderbird/60.5.0
MIME-Version: 1.0
In-Reply-To: <ea09624f-1aae-1b53-21bd-980043d7b2a6@serve.net>
Content-Language: en-US
X-Authenticated-User: surgemail-support
X-Rcpt-To: <surgemail-list@netwin.co.nz>
X-SpamDetect: : 0.000000
X-Info: aspam skipped due to (g_smite_skip_relay)
X-Encryption: SSL encrypted
X-IP-stats: Incoming Last 0, First 2, in=48, out=0, spam=0 ip=115.188.8.213
List-Unsubscribe: <mailto:surgemail-list-leave@netwin.co.nz?subject=unsubscribe>
X-Mailing-List: surgemail-list@netwin.co.nz
List-ID: <surgemail-list@netwin.co.nz>
Precedence: bulk
Reply-To: surgemail-list@netwin.co.nz
Content-Transfer-Encoding: 8bit
Content-Transfer-Encoding: 8bit
Does this help you?
g_route_except "ip.address"
ChrisP.
On 6/02/2019 12:09 PM, Bob Fera wrote:
Hello all,
I've been hunting around with no luck on this. Is there any way to
get Surgemail to send outbound mail to a specific
gateway/smarthost (or, more specifically in my case, no smarthost)
depending on the ip address the message came from (i.e. the
sender's ip address)? "g_route" does it based on sender's email
address, which I guess I'll use if I have to, but in my particular
case the IP address would be better.
Given that, does "g_route" allow "*" for the "dest" field (i.e.
use MX record to send directly and bypass the smarthost)?
In other words, and for more context, I'm trying to get emails
generated by a specific system on my network to go out directly
rather than through my smarthost/scanning service.
Thanks!
Bob
--
Bob Fera
I.T. Manager
Zenith Information Group
18757 Burbank Blvd., Suite 116
Tarzana, CA 91356
Phone: 818-206-8634 Ext. 160
Fax: 818-345-2605
www.zis.com
Members of NACHA
The Electronic Payments Association