Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Linux: because a PC is a terrible thing to waste -- ksh@cis.ufl.edu put this on Tshirts in '93


computers / comp.mail.sendmail / Re: using multiple smart hosts for redundancy [MXes]

SubjectAuthor
* using multiple smart hosts for redundancyNone
+* Re: using multiple smart hosts for redundancyAndrzej Adam Filip
|`* Re: using multiple smart hosts for redundancyNone
| +- Re: using multiple smart hosts for redundancyMarco Moock
| `- Re: using multiple smart hosts for redundancyHenning Hucke
+* Re: using multiple smart hosts for redundancyClaus Aßmann
|+* Re: using multiple smart hosts for redundancyMarco Moock
||`* Re: using multiple smart hosts for redundancy [MXes]Andrzej Adam Filip
|| `* Re: using multiple smart hosts for redundancy [MXes]Marco Moock
||  `- Re: using multiple smart hosts for redundancy [MXes]Andrzej Adam Filip
|`- Re: using multiple smart hosts for redundancyNone
`* Re: using multiple smart hosts for redundancyMarco Moock
 `* Re: using multiple smart hosts for redundancyNone
  +- Re: using multiple smart hosts for redundancyMarco Moock
  `- Re: using multiple smart hosts for redundancyGrant Taylor

1
using multiple smart hosts for redundancy

<tibmki$2459v$1@dont-email.me>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=582&group=comp.mail.sendmail#582

 copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: hzcnjkx...@tormails.com (None)
Newsgroups: comp.mail.sendmail
Subject: using multiple smart hosts for redundancy
Date: Fri, 14 Oct 2022 15:02:09 +0200
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <tibmki$2459v$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 14 Oct 2022 13:02:10 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="30305aa8fe55b39e198ed9ecfce96ab9";
logging-data="2233663"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19bgSILSa6DNyB8/sq3FuCjVCYKhuWDW6735Me2P7+eGA=="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
Cancel-Lock: sha1:/eDWIO4z9P2eF62Yua3Tz8VuxIc=
Content-Language: en-US
 by: None - Fri, 14 Oct 2022 13:02 UTC

Is it already possible to configure multiple smarthosts in sendmail.mc
or does this procedure still the best way to do this.

Create /etc/mail/smarttable file and compile it using makemap.

Copy provided smarttable.m4 file into cf/feature directory

*.mc file you use to generate sendmail.cf add:

FEATURE(`smarttable')dnl

http://jmaimon.com/sendmail/anfi.homeunix.net/sendmail/smarttab.html

Re: using multiple smart hosts for redundancy

<anfi+ilsq33ekef-mae5@wp.eu>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=583&group=comp.mail.sendmail#583

 copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: anf...@onet.eu (Andrzej Adam Filip)
Newsgroups: comp.mail.sendmail
Subject: Re: using multiple smart hosts for redundancy
Date: Fri, 14 Oct 2022 16:04:47 +0200
Organization: It is for me to know and for you to find out.
Lines: 23
Message-ID: <anfi+ilsq33ekef-mae5@wp.eu>
References: <tibmki$2459v$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader01.eternal-september.org; posting-host="9ffe8c7c53535a7f740433a7661fb5eb";
logging-data="2259626"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19DTQGmL/6dWZWyomAEH4n8"
Cancel-Lock: sha1:Cq4QBQKEwgYkk22nOt4Dvmud/g0=
sha1:Hcdmt68nt2N7ySvESkEQn+ZT47s=
 by: Andrzej Adam Filip - Fri, 14 Oct 2022 14:04 UTC

None <hzcnjkx656@tormails.com> wrote:
> Is it already possible to configure multiple smarthosts in sendmail.mc
> or does this procedure still the best way to do this.
>
> Create /etc/mail/smarttable file and compile it using makemap.
>
> Copy provided smarttable.m4 file into cf/feature directory
>
> *.mc file you use to generate sendmail.cf add:
>
> FEATURE(`smarttable')dnl
>
>
> http://jmaimon.com/sendmail/anfi.homeunix.net/sendmail/smarttab.html

Smarttable selects smart host based on envelope sender,
Your subject is misleading.

P.S, feature smarttable *IS NOT* included in sendmail distributions.

--
[Andrew] Andrzej A. Filip

Re: using multiple smart hosts for redundancy

<tibr2r$254sb$1@dont-email.me>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=584&group=comp.mail.sendmail#584

 copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: hzcnjkx...@tormails.com (None)
Newsgroups: comp.mail.sendmail
Subject: Re: using multiple smart hosts for redundancy
Date: Fri, 14 Oct 2022 16:18:01 +0200
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <tibr2r$254sb$1@dont-email.me>
References: <tibmki$2459v$1@dont-email.me> <anfi+ilsq33ekef-mae5@wp.eu>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 14 Oct 2022 14:18:03 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="30305aa8fe55b39e198ed9ecfce96ab9";
logging-data="2265995"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18rRJ8PtiTwmig713GbYuAhbTfM1SSklB7vJMr6iN9wNA=="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
Cancel-Lock: sha1:JaVxy1x7bxPvgE9cNZQUkZDcOJ4=
In-Reply-To: <anfi+ilsq33ekef-mae5@wp.eu>
Content-Language: en-US
 by: None - Fri, 14 Oct 2022 14:18 UTC

> Smarttable selects smart host based on envelope sender,
> Your subject is misleading.
>
> P.S, feature smarttable *IS NOT* included in sendmail distributions.
>

Indeed! :) That is why I am asking if there is a default sendmail
alternative.

Re: using multiple smart hosts for redundancy

<tic2fo$265o1$2@dont-email.me>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=585&group=comp.mail.sendmail#585

 copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: mo0...@posteo.de (Marco Moock)
Newsgroups: comp.mail.sendmail
Subject: Re: using multiple smart hosts for redundancy
Date: Fri, 14 Oct 2022 18:24:24 +0200
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <tic2fo$265o1$2@dont-email.me>
References: <tibmki$2459v$1@dont-email.me>
<anfi+ilsq33ekef-mae5@wp.eu>
<tibr2r$254sb$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 14 Oct 2022 16:24:24 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="d763220453fe31903d0ac4240c15d6ab";
logging-data="2299649"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+BzoVR8KRXtijCg/yD9DSA"
Cancel-Lock: sha1:hnJDoicBmhjNU0Oi/F+XOtU9umA=
 by: Marco Moock - Fri, 14 Oct 2022 16:24 UTC

Am 14.10.2022 um 16:18:01 Uhr schrieb None:

> Indeed! :) That is why I am asking if there is a default sendmail
> alternative.

There is confFALLBACK_SMARTHOST, but I don't know if that works
together with the normal SMART_HOST.

Oracle describes it as a fallback if the MX records to ensure the mail
will leave the current MTA if I understand it correctly.
https://docs.oracle.com/cd/E19253-01/816-4555/evenf/index.html

Re: using multiple smart hosts for redundancy

<ticbmh$j2o$1@news.misty.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=586&group=comp.mail.sendmail#586

 copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.veps.esmtp.org!not-for-mail
From: INVALID_...@esmtp.org (Claus Aßmann)
Newsgroups: comp.mail.sendmail
Subject: Re: using multiple smart hosts for redundancy
Date: Fri, 14 Oct 2022 15:01:37 -0400 (EDT)
Organization: MGT Consulting
Sender: <ml+sendmail(-no-copies-please)@esmtp.org>
Message-ID: <ticbmh$j2o$1@news.misty.com>
References: <tibmki$2459v$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 14 Oct 2022 19:01:37 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="veps.esmtp.org:155.138.203.148";
logging-data="19544"; mail-complaints-to="abuse@misty.com"
Mail-Copies-To: never
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: ca@x2.esmtp.org (Claus Assmann)
 by: Claus Aßmann - Fri, 14 Oct 2022 19:01 UTC

None wrote:
> Is it already possible to configure multiple smarthosts in sendmail.mc

doc/op.*
If the mailer
is the built-in IPC mailer, the host may be a colon
(or comma) separated list of hosts. Each is sepa-
rately MX expanded and the results are concatenated
to make (essentially) one long MX list. Hosts sep-
arated by a comma have the same MX preference, and
for each colon separated host the MX preference is
increased.

Or you could simply use a smarthost which has multiple MXs.

--
Note: please read the netiquette before posting. I will almost never
reply to top-postings which include a full copy of the previous
article(s) at the end because it's annoying, shows that the poster
is too lazy to trim his article, and it's wasting the time of all readers.

Re: using multiple smart hosts for redundancy

<ticdmb$265o1$4@dont-email.me>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=587&group=comp.mail.sendmail#587

 copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: mo0...@posteo.de (Marco Moock)
Newsgroups: comp.mail.sendmail
Subject: Re: using multiple smart hosts for redundancy
Date: Fri, 14 Oct 2022 21:35:39 +0200
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <ticdmb$265o1$4@dont-email.me>
References: <tibmki$2459v$1@dont-email.me>
<ticbmh$j2o$1@news.misty.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Injection-Date: Fri, 14 Oct 2022 19:35:39 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="d763220453fe31903d0ac4240c15d6ab";
logging-data="2299649"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+YqyYumehz78878FBvysH3"
Cancel-Lock: sha1:IZRKoRwUHJITdNaS7Abg+7IzxDU=
 by: Marco Moock - Fri, 14 Oct 2022 19:35 UTC

Am 14.10.2022 um 15:01:37 Uhr schrieb Claus Aßmann:

> Or you could simply use a smarthost which has multiple MXs.

Please explain this. IIRC smarthost means that all non-local mails
will be send to this specific host (lookup for A/AAAA record). In which
way MX records are involved with the smarthost definition?

Re: using multiple smart hosts for redundancy

<ticdu9$265o1$7@dont-email.me>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=588&group=comp.mail.sendmail#588

 copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: mo0...@posteo.de (Marco Moock)
Newsgroups: comp.mail.sendmail
Subject: Re: using multiple smart hosts for redundancy
Date: Fri, 14 Oct 2022 21:39:53 +0200
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <ticdu9$265o1$7@dont-email.me>
References: <tibmki$2459v$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 14 Oct 2022 19:39:53 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="d763220453fe31903d0ac4240c15d6ab";
logging-data="2299649"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Z6UtQm+XrJTCK5M8o03DA"
Cancel-Lock: sha1:SXR8AiZmVwFR07Sa+whYCgbc4Ps=
 by: Marco Moock - Fri, 14 Oct 2022 19:39 UTC

Am 14.10.2022 um 15:02:09 Uhr schrieb None:

> Is it already possible to configure multiple smarthosts in
> sendmail.mc or does this procedure still the best way to do this.

If found the following:

define(`SMART_HOST', `mail1.example.com:mail2.example.com')dnl

Source: https://access.redhat.com/solutions/8194
You need a RedHat contract to view it, but I already posted the
relevant stuff.

Re: using multiple smart hosts for redundancy [MXes]

<anfi+dxm66bwj3f-mae5@wp.eu>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=589&group=comp.mail.sendmail#589

 copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: anf...@onet.eu (Andrzej Adam Filip)
Newsgroups: comp.mail.sendmail
Subject: Re: using multiple smart hosts for redundancy [MXes]
Date: Fri, 14 Oct 2022 21:44:24 +0200
Organization: It is for me to know and for you to find out.
Lines: 15
Message-ID: <anfi+dxm66bwj3f-mae5@wp.eu>
References: <tibmki$2459v$1@dont-email.me> <ticbmh$j2o$1@news.misty.com>
<ticdmb$265o1$4@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: reader01.eternal-september.org; posting-host="e41cbb18fae2bdc3f43946160a0bc0dd";
logging-data="2345259"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19YXPoSKzckcZYIWGNQjB2q"
Cancel-Lock: sha1:f1y1Q13G7pIu/QBz4USCxcnjCJs=
sha1:i+Bfh9c1jUoU7Ez4dRuTyYBJA+g=
 by: Andrzej Adam Filip - Fri, 14 Oct 2022 19:44 UTC

Marco Moock <mo01@posteo.de> wrote:
> Am 14.10.2022 um 15:01:37 Uhr schrieb Claus Aßmann:
>
>> Or you could simply use a smarthost which has multiple MXs.
>
> Please explain this. IIRC smarthost means that all non-local mails
> will be send to this specific host (lookup for A/AAAA record). In which
> way MX records are involved with the smarthost definition?

Sendmail by default uses MXes first when relaying to the smart host.
Special trick (smart host name in square brackets) is required to turn
off MX lookups.

--
[Andrew] Andrzej A. Filip

Re: using multiple smart hosts for redundancy

<tid0ee$2bkci$1@dont-email.me>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=590&group=comp.mail.sendmail#590

 copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: hzcnjkx...@tormails.com (None)
Newsgroups: comp.mail.sendmail
Subject: Re: using multiple smart hosts for redundancy
Date: Sat, 15 Oct 2022 02:55:40 +0200
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <tid0ee$2bkci$1@dont-email.me>
References: <tibmki$2459v$1@dont-email.me> <ticdu9$265o1$7@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 15 Oct 2022 00:55:42 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="8d4d18bd2622a404e3889906a4d8b330";
logging-data="2478482"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/yubJ8iY6b6aJnLgiR4n2vbXuajCb451bRJRZeW3IUng=="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
Cancel-Lock: sha1:mo6D6MbNbB3QYMQwJbaejrJWysY=
In-Reply-To: <ticdu9$265o1$7@dont-email.me>
Content-Language: en-US
 by: None - Sat, 15 Oct 2022 00:55 UTC

>
>> Is it already possible to configure multiple smarthosts in
>> sendmail.mc or does this procedure still the best way to do this.
>
> If found the following:
>
> define(`SMART_HOST', `mail1.example.com:mail2.example.com')dnl

Thanks, I decided to go for this!
define(`SMART_HOST', `[mail1.local],[mail3.local],[mail3.local]')dnl

> Source: https://access.redhat.com/solutions/8194
> You need a RedHat contract to view it, but I already posted the
> relevant stuff.
>

Yes annoying this cooking/login wall

Re: using multiple smart hosts for redundancy

<tid0f6$2bkci$2@dont-email.me>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=591&group=comp.mail.sendmail#591

 copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: hzcnjkx...@tormails.com (None)
Newsgroups: comp.mail.sendmail
Subject: Re: using multiple smart hosts for redundancy
Date: Sat, 15 Oct 2022 02:56:05 +0200
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <tid0f6$2bkci$2@dont-email.me>
References: <tibmki$2459v$1@dont-email.me> <ticbmh$j2o$1@news.misty.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 15 Oct 2022 00:56:06 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="8d4d18bd2622a404e3889906a4d8b330";
logging-data="2478482"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/akkbJ8fhV6ET9+KDLaNkcGfIi1zznuA/NC825QQuuGQ=="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
Cancel-Lock: sha1:3zk0xZhwOvQarISU//+hHyHq9a0=
In-Reply-To: <ticbmh$j2o$1@news.misty.com>
Content-Language: en-US
 by: None - Sat, 15 Oct 2022 00:56 UTC

>
> doc/op.*
> If the mailer
> is the built-in IPC mailer, the host may be a colon
> (or comma) separated list of hosts. Each is sepa-
> rately MX expanded and the results are concatenated
> to make (essentially) one long MX list. Hosts sep-
> arated by a comma have the same MX preference, and
> for each colon separated host the MX preference is
> increased.
>
> Or you could simply use a smarthost which has multiple MXs.
>

Merci!!!!

Re: using multiple smart hosts for redundancy

<tideg8$2hi9v$1@dont-email.me>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=592&group=comp.mail.sendmail#592

 copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: mo0...@posteo.de (Marco Moock)
Newsgroups: comp.mail.sendmail
Subject: Re: using multiple smart hosts for redundancy
Date: Sat, 15 Oct 2022 06:55:27 +0200
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <tideg8$2hi9v$1@dont-email.me>
References: <tibmki$2459v$1@dont-email.me>
<ticdu9$265o1$7@dont-email.me>
<tid0ee$2bkci$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 15 Oct 2022 04:55:36 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="68dec7017f1367e49b02e983a77a2691";
logging-data="2672959"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+UnANVlHN4Y/tgWR4e/6Uv"
Cancel-Lock: sha1:n2Z6wA7pV2rsIprBZpRw9WOsMvs=
 by: Marco Moock - Sat, 15 Oct 2022 04:55 UTC

Am Sat, 15 Oct 2022 02:55:40 +0200
schrieb None <hzcnjkx656@tormails.com>:

> define(`SMART_HOST', `[mail1.local],[mail3.local],[mail3.local]')dnl

Please be aware that .local is intended for mDNS, although normal DNS
lookup is allowed, but not mandatory. For internal domain names use
..home.arpa.
See https://www.rfc-editor.org/rfc/rfc6762

Re: using multiple smart hosts for redundancy [MXes]

<tidelf$2hi9v$2@dont-email.me>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=593&group=comp.mail.sendmail#593

 copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: mo0...@posteo.de (Marco Moock)
Newsgroups: comp.mail.sendmail
Subject: Re: using multiple smart hosts for redundancy [MXes]
Date: Sat, 15 Oct 2022 06:58:14 +0200
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <tidelf$2hi9v$2@dont-email.me>
References: <tibmki$2459v$1@dont-email.me>
<ticbmh$j2o$1@news.misty.com>
<ticdmb$265o1$4@dont-email.me>
<anfi+dxm66bwj3f-mae5@wp.eu>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 15 Oct 2022 04:58:23 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="68dec7017f1367e49b02e983a77a2691";
logging-data="2672959"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Ngp+7S8mHmIvQmBjVKxuB"
Cancel-Lock: sha1:NRUk2ySGYxucXU7sYWPsY/1RX/Y=
 by: Marco Moock - Sat, 15 Oct 2022 04:58 UTC

Am Fri, 14 Oct 2022 21:44:24 +0200
schrieb Andrzej Adam Filip <anfi@onet.eu>:

> Sendmail by default uses MXes first when relaying to the smart host.
> Special trick (smart host name in square brackets) is required to turn
> off MX lookups.

Ok, so that means if there is an MX record for the hostname of the
smarthost, sendmail will send the mails to the machine named in the MX
record instead of the smarthost?

I've never had such a situation, so it was regardless is I used square
brackets or not, the behaviour at the end was the same.

Re: using multiple smart hosts for redundancy [MXes]

<anfi+scnnp1fnbf-maf6@wp.eu>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=594&group=comp.mail.sendmail#594

 copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: anf...@onet.eu (Andrzej Adam Filip)
Newsgroups: comp.mail.sendmail
Subject: Re: using multiple smart hosts for redundancy [MXes]
Date: Sat, 15 Oct 2022 08:26:04 +0200
Organization: It is for me to know and for you to find out.
Lines: 20
Message-ID: <anfi+scnnp1fnbf-maf6@wp.eu>
References: <tibmki$2459v$1@dont-email.me> <ticbmh$j2o$1@news.misty.com>
<ticdmb$265o1$4@dont-email.me> <anfi+dxm66bwj3f-mae5@wp.eu>
<tidelf$2hi9v$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: reader01.eternal-september.org; posting-host="cb1713014af959cc705b2e332fa1469a";
logging-data="2711470"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/P+mDAeymqELAYk6WCSLoI"
Cancel-Lock: sha1:O4FeIrfb9QcIkEuxpEKsweaYpkM=
sha1:VUCncNI2hwAepHZjRC0Ccxetu3U=
 by: Andrzej Adam Filip - Sat, 15 Oct 2022 06:26 UTC

Marco Moock <mo01@posteo.de> wrote:
> Am Fri, 14 Oct 2022 21:44:24 +0200
> schrieb Andrzej Adam Filip <anfi@onet.eu>:
>
>> Sendmail by default uses MXes first when relaying to the smart host.
>> Special trick (smart host name in square brackets) is required to turn
>> off MX lookups.
>
> Ok, so that means if there is an MX record for the hostname of the
> smarthost, sendmail will send the mails to the machine named in the MX
> record instead of the smarthost?
>
> I've never had such a situation, so it was regardless is I used square
> brackets or not, the behaviour at the end was the same.

Long time ago when c.m.sendmail had been _very_ active questions
"How to turn off MX lookups" were quite frequent.

--
[Andrew] Andrzej A. Filip

Re: using multiple smart hosts for redundancy

<tido7d$qbk$1@sirius.aeon.icebear.cloud>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=595&group=comp.mail.sendmail#595

 copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: h_hucke+...@newsmail.aeon.icebear.org (Henning Hucke)
Newsgroups: comp.mail.sendmail
Subject: Re: using multiple smart hosts for redundancy
Date: Sat, 15 Oct 2022 07:41:33 -0000 (UTC)
Organization: aeon: think longer than you thought before
Lines: 25
Distribution: world
Message-ID: <tido7d$qbk$1@sirius.aeon.icebear.cloud>
References: <tibmki$2459v$1@dont-email.me> <anfi+ilsq33ekef-mae5@wp.eu> <tibr2r$254sb$1@dont-email.me>
Reply-To: Henning Hucke <h_hucke+news.reply@newsmail.aeon.icebear.org>
X-Trace: individual.net zhuw2/qNtb8XI35j9Bo/RQJiHDwr0siy8pvNf2pHKsv5XAl9sU
X-Orig-Path: news.aeon.icebear.cloud!news1.aeon.icebear.cloud!.POSTED.romulus.aeon.icebear.cloud!not-for-mail
Cancel-Lock: sha1:m3S7xzCnVkasa+KGopVt9cnDWdc= sha1:ld8laFrBve6KAWhaq9zJvCp3jZk=
Injection-Date: Sat, 15 Oct 2022 07:41:33 -0000 (UTC)
Injection-Info: sirius.aeon.icebear.cloud; posting-host="romulus.aeon.icebear.cloud:fd09:afca:b044:1:4ecc:6aff:fecf:5c8f";
logging-data="26996"; mail-complaints-to="abuse+news@aeon.icebear.cloud"
User-Agent: tin/2.4.1-20161224 ("Daill") (UNIX) (Linux/4.9.0-15-amd64 (x86_64))
 by: Henning Hucke - Sat, 15 Oct 2022 07:41 UTC

None <hzcnjkx656@tormails.com> wrote:
>
>> Smarttable selects smart host based on envelope sender,
>> Your subject is misleading.
>>
>> P.S, feature smarttable *IS NOT* included in sendmail distributions.
>>
>
> Indeed! :) That is why I am asking if there is a default sendmail
> alternative.

Honestly I'm wondering why a usable and sensible - on the other hand
indeed not so obvious - alternative doesn't come into anybodys mind.

You've got the mailertable feature and there are several "low profile"
DNS nameserver packages.
Why don't you implement the diverse intended smarthosts with something
like a name with multiple address records or a name with multiple MX RRs
like "dest1.smarthost.my.domain", "dest2.smarthost.my.domain" and let
the mailertable entrys point to them in an intended manner?

Regards
Henning
--
Can't open /usr/fortunes. Lid stuck on cookie jar.

Re: using multiple smart hosts for redundancy

<ticpik$2l8$1@tncsrv09.home.tnetconsulting.net>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=596&group=comp.mail.sendmail#596

 copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!tncsrv06.tnetconsulting.net!tncsrv09.home.tnetconsulting.net!.POSTED.alpha.home.tnetconsulting.net!not-for-mail
From: gtay...@tnetconsulting.net (Grant Taylor)
Newsgroups: comp.mail.sendmail
Subject: Re: using multiple smart hosts for redundancy
Date: Fri, 14 Oct 2022 19:56:50 -0600
Organization: TNet Consulting
Message-ID: <ticpik$2l8$1@tncsrv09.home.tnetconsulting.net>
References: <tibmki$2459v$1@dont-email.me> <ticdu9$265o1$7@dont-email.me>
<tid0ee$2bkci$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 14 Oct 2022 22:58:28 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="alpha.home.tnetconsulting.net:198.18.18.251";
logging-data="2728"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
In-Reply-To: <tid0ee$2bkci$1@dont-email.me>
Content-Language: en-US
 by: Grant Taylor - Sat, 15 Oct 2022 01:56 UTC

On 10/14/22 6:55 PM, None wrote:
> define(`SMART_HOST', `[mail1.local],[mail3.local],[mail3.local]')dnl

Did you actually use mail3 twice? Or is that a copy & paste error?

--
Grant. . . .
unix || die

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor