• using multiple smart hosts for redundancy

    From None@21:1/5 to All on Fri Oct 14 15:02:09 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrzej Adam Filip@21:1/5 to None on Fri Oct 14 16:04:47 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From None@21:1/5 to All on Fri Oct 14 16:18:01 2022
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marco Moock@21:1/5 to All on Fri Oct 14 18:24:24 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Claus =?iso-8859-1?Q?A=DFmann?= @21:1/5 to None on Fri Oct 14 15:01:37 2022
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marco Moock@21:1/5 to All on Fri Oct 14 21:35:39 2022
    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?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marco Moock@21:1/5 to All on Fri Oct 14 21:39:53 2022
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From None@21:1/5 to All on Sat Oct 15 02:55:40 2022

    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From None@21:1/5 to All on Sat Oct 15 02:56:05 2022

    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!!!!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marco Moock@21:1/5 to All on Sat Oct 15 06:55:27 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Henning Hucke@21:1/5 to None on Sat Oct 15 07:41:33 2022
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to None on Fri Oct 14 19:56:50 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)