Received-SPF: pass (Last token {include:_spf.customer.net} (res=PASS)) client-ip=64.235.150.237; envelope-from=<bob@serve.net>; x-ip-name=15pmail.ess.barracuda.com;
X-Received: from 15pmail.ess.barracuda.com (15pmail.ess.barracuda.com [64.235.150.237])
by netwin.co.nz (SurgeMail 7.3p) with ESMTP (TLS) id 8091732-1391920
for <surgemail-list@netwin.co.nz>; Wed, 06 Feb 2019 22:04:53 +0000
X-Return-Path: bob
X-Received: from ganymede.customer.net (ganymede.customer.net [136.179.32.230]) by mx29.ess.sfj.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Wed, 06 Feb 2019 22:04:49 +0000
X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=192.168.10.11;
X-Received: from [192.168.10.11] (unverified [192.168.10.11])
by ganymede.customer.net (SurgeMail 7.2i) with ESMTP (TLS) id 6916820-1879441
for <surgemail-list@netwin.co.nz>; Wed, 06 Feb 2019 14:04:49 -0800
X-Return-Path: bob
Subject: Re: [SurgeMail List] Gateway based on sender IP address
To: surgemail-list@netwin.co.nz
References: <ea09624f-1aae-1b53-21bd-980043d7b2a6@serve.net>
<83614242-97c6-2f56-1b38-613d4f61f92a@netwinsite.com>
<7f0e6295-af1d-1909-c5a2-1fd2bdfb9a21@serve.net>
<fb193bf0-629c-4dc1-b3ee-89f4ddcfc900@netwinsite.com>
<415df2e9-cd36-7c89-13aa-929b2adb816c@serve.net>
<f08c33f5-0f59-1fbf-4cd9-5eca82e46d56@netwinsite.com>
From: Bob Fera
Message-ID: <7f600824-f941-618f-f426-b6506577b3e1@serve.net>
Date: Wed, 6 Feb 2019 14:04:42 -0800
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: <f08c33f5-0f59-1fbf-4cd9-5eca82e46d56@netwinsite.com>
Content-Language: en-US
X-X-Authenticated-User: rmf@zis.com
X-BESS-ID: 1549490689-637139-29395-9018-1
X-BESS-VER: 2019.1-r1902061954
X-BESS-Apparent-Source-IP: 136.179.32.230
X-BESS-Outbound-Spam-Score: 0.00
X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.209147 [from
cloudscan22.us-east-2a.ess.aws.cudaops.com]
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------
0.00 HTML_MESSAGE BODY: HTML included in message
0.00 BSF_BESS_OUTBOUND META: BESS Outbound
X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS63616 scores of KILL_LEVEL=7.0 tests=HTML_MESSAGE, BSF_BESS_OUTBOUND
X-BESS-BRTS-Status:1
X-Originating-IP: 64.235.150.237
X-Country: code=US country="United States" ip=64.235.150.237
X-ORBS-Stamp: hostkarma_yellow, hostkarma_quitok
X-Rcpt-To: <surgemail-list@netwin.co.nz>
X-SpamDetect: ****: 4.1 sd=4.1 lv=0.00 nok=12/0 m=6 nf=0 Close 0.04(X-myrbl:Color=white) 0.90(X-Phrase:isspam) 0.75(X-Verify-Helo:-ERR) 0.30(StandardTLD) 0.40(X-NotAscii:utf) 0.44(X-LangGuess:English) 0.45(spfpass) 0.46(X-ORBS-Stamp:yellow) 0.50(X-Verify-Helo:wrongip) Saned 5.0 Sval 4.1 bsan 5.0 Moved 5.0->4.1 Sval 4.1
X-NotAscii: charset=utf-8
X-LangGuess: English
X-Probe: +OK skipped, known ip address
X-Phrase: IsSpam score=1.00
X-Verify-Helo: -ERR wrongip: 15pmail.ess.barracuda.com -> 209.222.*.* not in 64.235.150.237
X-Encryption: SSL encrypted
X-MyRbl: Color=White Age=532 Spam=0 Notspam=10 Stars=3 Good=3934 Friend=5769 Surbl=5 Catch=0 r=0.00085 ip=64.235.150.237
X-IP-stats: Incoming Last 0, First 55, in=280, out=0, spam=0 ip=64.235.150.237
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
This message came from the internet, do not TRUST any links, do NOT enter your password on any website link from any email.
Ha! I just ran a quick test (originating a few messages from a test
system), and it appears to work!!! Going to try it for real. I think
this will resolve a big problem for us.
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
On 2/6/2019 1:44 PM, Surgemail Support
wrote:
Actually, plan 'b', try this:
g_gateway_ignorewild_ip "ip.of.sending.servers"
that might do exactly what you want.
chrisP.
On 7/02/2019 7:21 AM, Bob Fera wrote:
If I remove the "gateway" settings, will g_route and
g_route_except to behave the same way as g_gateway and
g_gateway_ifnot for local email addresses?
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
On 2/5/2019 5:45 PM, Surgemail
Support wrote:
What I'm suggesting is remove g_gateway rule, and replace
it with g_route rule to send everything to the gateway, with
the exception... ?
ChrisP.
On 6/02/2019 2:22 PM, Bob Fera
wrote:
Hmm, not sure....
I have g_gateway (domain=*) set to a smarthost, and ideally
I'd like to bypass that smarthost for messages coming from
IP address x.x.x.x. (I'm also utilizing g_gateway_ifnot.)
Currently the only case where I'm using g_route is to send
mail destined for one particular domain to a different host
(sounds like I could use g_gateway for that, too). How does
g_route_except interact with those other settings? In other
words what takes priority over what?
If we can't get this concept to work and I have to do the
routing based on sender email address, is there any way to
restrict that a particular sender email comes from a
specific IP address(es)? And, in that case, can "dest" in
g_route be "*" (i.e. use MX)?
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
On 2/5/2019 4:57 PM, Surgemail
Support wrote:
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