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.
Indeed! :) That is why I am asking if there is a default sendmail alternative.
Is it already possible to configure multiple smarthosts in sendmail.mc
Or you could simply use a smarthost which has multiple MXs.
Is it already possible to configure multiple smarthosts in
sendmail.mc or does this procedure still the best way to do this.
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.
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.
define(`SMART_HOST', `[mail1.local],[mail3.local],[mail3.local]')dnl
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.
define(`SMART_HOST', `[mail1.local],[mail3.local],[mail3.local]')dnl
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (3 / 13) |
| Uptime: | 142:35:39 |
| Calls: | 12,089 |
| Calls today: | 2 |
| Files: | 14,998 |
| Messages: | 6,517,452 |