Received-SPF: pass (Last token {include:_netblocks.google.com} (res=PASS)) client-ip=209.85.128.174; envelope-from=<farmv52@gmail.com>; x-ip-name=mail-yw1-f174.google.com;
X-Received: from mail-yw1-f174.google.com (mail-yw1-f174.google.com [209.85.128.174])
by netwin.co.nz (SurgeMail 7.7d) with ESMTP (TLS) id 6157880-1391920
for <surgemail-list@netwin.co.nz>; Tue, 21 Feb 2023 04:36:03 +0000
X-Return-Path: farmv52
X-Received: by mail-yw1-f174.google.com with SMTP id 00721157ae682-536c02eea4dso34608777b3.4
for <surgemail-list@netwin.co.nz>; Mon, 20 Feb 2023 20:36:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20210112;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:from:to:cc:subject:date:message-id:reply-to;
bh=O/eoy5XpHawu5c3w05II++yvT5KdFxPxoI3YLLr7YAY=;
b=oY21CByyZMAiH+JDRusNjaBih+jyK00BenR5E6ThiZPtZ/Bg8mYg/aGJTvMXJklavg
hHt9fPW87MzKWEmdhX8Qpwyf0RbhlzV5ZDEtuYjXC+CCnsEbQkOkzfcuP+mU2dLAxmM8
UFAKJ0gJRQeuLNMYjbF9T29r7Srn+6HSt9a++2SSY6IcdibXY1TySA8npMsg/Xs+9LvK
G43wEuWmMqVQzWgSP8CuiCJ1ia1StOq+do2iFMrK4YXCVvrCr/C4W4A1i9kA9oXTIjc6
uBCMeMixjkhf1N3YSr/3aZVh4Q73Ys+rPyGg5gB/W8zAmclD0FgSPouYrh1RGYlhxja8
eM9A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=O/eoy5XpHawu5c3w05II++yvT5KdFxPxoI3YLLr7YAY=;
b=TLu3tLQo79LNJ/P22woxSexKGTZ8B799VnHdmydBJlhVomY25718hQ2P0HWgxUkdZY
IqlCQtink8iQXYKZTKLXHd5CXLQlufjeSUSYO/AQdLKvwuJZminsj3+FtGLZXYc8VDje
o+tdIAnojA5vHymj6Z5EPyT6aoj4gFuV2YQJDLmVFRvZIo1RNcobghMHZhxQllILaa7R
39i38pASMwsq/6fak3lPpSgocM82NazJMaSmxyWKokplk0OT8fEjEV6j8k2P0f4symtx
RZuuJ1044icxTkgahEYWmIoNQZpSKlu8Epor+XqP4bxOHTTwSTqodM0PzjiW227D6gQd
b7ow==
X-Gm-Message-State: AO0yUKVz/9KnBCByQ1nWlR5RCUTTjF+5qa6eO87V46Rd02rXxCL4dkwu
H8KUSJLFq48oA8YqxE2bvsmRJ3Q/NL1Z1gjiI5k3z64Ar6vn2tVj3l3J1g==
X-Google-Smtp-Source: AK7set+EdRpMWsH5JV5hYlTx845VfqTUO74joOqjuVSH1ctBMeGLfnGyxntkqpN1YrONPw8K2009HOgtGRTuLX2JH4s=
X-Received: by 2002:a81:6184:0:b0:527:9d23:f6d7 with SMTP id
v126-20020a816184000000b005279d23f6d7mr2275333ywb.48.1676954162354; Mon, 20
Feb 2023 20:36:02 -0800 (PST)
MIME-Version: 1.0
References: <CAPKJoo7BD_Tb0ZKXq8k9wj3YiV+BUTXq_Jq-TV3YDV5tGinKYQ@mail.gmail.com>
<96a4a6d6-5c73-2910-67a2-690fb24ef977@netwin.co.nz>
In-Reply-To: <96a4a6d6-5c73-2910-67a2-690fb24ef977@netwin.co.nz>
From: James Bryan
Date: Tue, 21 Feb 2023 04:35:49 +0000
Message-ID: <CAPKJoo6=-13S=xWKjiHuRRghVBRXqML8YCBbZmSPhjuwJXrXkw@mail.gmail.com>
Subject: Re: [SurgeMail List] Hybrid Mail System (Multiple Delivery)
To: surgemail-list@netwin.co.nz
X-Originating-IP: 209.85.128.174
X-Country: code=US country="United States" ip=209.85.128.174
X-Qnum: 6157880
X-ORBS-Stamp: hostkarma_yellow, hostkarma_quitok
X-Rcpt-To: <surgemail-list@netwin.co.nz>
X-SpamDetect: ******: 6.0 sd=6.0 NoRule 0.90(X-Phrase:isspam) 0.10(X-myrbl:Color=yellow) 0.87(SPF Negate) 0.21(genuine_gmail) 0.74(SpamUrl) 0.26(free_email) 0.28(X-ORBS-Stamp:yellow) 0.71(BContent2) 0.32(FakeURL) 0.37(X-Verify-Helo:+OK) 0.39(genuine) 0.39(dkimok) 0.41(StandardTLD) 0.42(X-NotAscii:utf) 0.53(From: ends in numbers) 0.48(spfpass) Saned 5.0 sanityx 6.0 Moved 5.0->6.0 Sval 6.0
X-NotAscii: charset=utf-8
X-SpamUrl: email.com
X-LangGuess: English
X-FakeURL: main.domain -> netwinsite.com
X-FakeURL: main.domain -> netwinsite.com
X-Phrase: IsSpam score=1.00
X-Verify-Helo: +OK mail-yw1-f174.google.com
X-Dmarc: none, from=farmv52@gmail.com, dkim=Good known=True spf=True
Authentication-Results: netwin.co.nz header.from=gmail.com; dkim=pass (good signature)
X-Encryption: SSL encrypted
X-MyRbl: Color=Yellow Age=2008 Spam=154 Notspam=222 Stars=15791 Good=155354 Friend=188910 Surbl=280 Catch=13 r=0.01 ip=209.85.128.174
X-IP-stats: Incoming Last 6, First 5, in=1, out=0, spam=0 ip=209.85.128.174
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: quoted-printable
How about this setting
vdomain name="
email.com" address="1.1.1.0"
surgewall "1.2.3.4,
5.6.7.8"
Since surgewall will have more than one target ip server.
Is it possible to add some processes in surgewall to test/check if user exists in target servers and then send message to that server
So if both servers 1.2.3.4 and 5.6.7.8 have unique users and servers are in separate settings then I think this method should solve this problem.
James
Hi, NEVER setup one domain with two ip addresses :-),
this is the 'wrong' solution to almost any problem.
The 'domain' IS the mechanism to find the destination
serve - that's it's actual purpose :-).
Good, now we've clarified that. You do it like this:
Add a g_gateway rule to send all email to server1 for
that domain
Add a g_route rule for each user on server2
or
Add a new domain 's2.domain' and redirect users that live at
server2 to user@s2.domain
then add a rewrite rule to change the destination from s2.domain
to .domain when sent. (g_send_rewrite) (or configure server2 to
accept s2.domain as an alias)
Then ensure all email users on server1 and server2 use
gateway.server as their outgoing smtp server and not server1,2
Or you can do something similar on both server1 and
server2... each one individually listing the users to send to the
other system (yucky)
All solutions are complicated, messey and bad. It's
very easy to kick yourself in the foot and end up with a loop or
messages bouncing in certain situations depending on who sends
them etc...
Instead, simply establish a second domain name for the
other server, and all these problems go away. e.g.
user1@main.domain (server1)
user2@corp.main.domain (server2)
user3@main.domain (server1)
user4@corp.main.domain (server2)
Then on 'server1' add some redirect rules for 'server2'
users, just to help with transition.
I know you're probably gonna have to ignore this advice
because of some corporate type decision that means you have no
choice, but I'm giving it anyway :-) :-).
ChrisP.
On 21/02/2023 8:38 am, James Bryan
wrote:
Hi,
Is there any setting of surgemail to do email gateway
solutions where there are more than one platforms or mail
servers combined in a single domain?
For example
I have email @
email.com and
there have 2 location of server
How to forward / reroute / rewrite email messages on
gateway or server1 or server2 to transfer messages to a real
mailbox on the server?
Thank you
James