Re(2): Re(2): transportList

From: (no name) (no email)
Date: Fri Aug 01 2003 - 10:01:00 EDT


I have the following:

*** configuration admblockem07 ***
admblockem07:/var/adm/mail>host -tmx internalrelay
internalrelay.b-rail.be mail is handled by 10 admatriuem06.b-rail.be.
(internal-1)
internalrelay.b-rail.be mail is handled by 10 admblockem06.b-rail.be.
(internal-2)

transportList:
.b-rail.be smtp:[internalrelay]:25

relayhost = admatriuem10.b-rail.be (external-1)
fallback_relay = admblockem10.b-rail.be (external-2)

postconf -n -> see attachment postconf.txt

When I stop sendmail on internal-1 then I get a connection refused in the
logging on admblockem07 and after the connection refused it's sends the mail to
the relayhost.

*** Working part with stopping host admatriuem06 ***
*** logging from admblockem07 ***
Aug 1 14:47:59 admblockem07 postfix/smtpd[4213]: [ID 197553 mail.info] connect
from localhost[127.0.0.1]
Aug 1 14:47:59 admblockem07 postfix/smtpd[4213]: [ID 197553 mail.info]
5CD5D31385: client=localhost[127.0.0.1]
Aug 1 14:47:59 admblockem07 postfix/cleanup[4219]: [ID 197553 mail.info]
5CD5D31385: message-id=<200308011248.h71CmS5O00327
6 at dodonna dot skynet dot be>
Aug 1 14:47:59 admblockem07 postfix/smtp[4211]: [ID 197553 mail.info]
0527131382: to=<>, relay=
localhost[127.0.0.1], delay=0, status=sent (250 Ok: queued as 5CD5D31385)
Aug 1 14:47:59 admblockem07 postfix/smtpd[4213]: [ID 197553 mail.info]
disconnect from localhost[127.0.0.1]
Aug 1 14:47:59 admblockem07 postfix/qmgr[1344]: [ID 197553 mail.info]
5CD5D31385: from=<>, size=3877, nrcpt=1 (queue active
)
Aug 1 14:47:59 admblockem07 postfix/smtp[4220]: [ID 197553 mail.info]
5CD5D31385: to=<>, relay=
admatriuem06.b-rail.be[10.2.11.213], delay=0, status=sent (250 2.0.0
h71CmZPt007066 Message accepted for delivery)
Aug 1 14:48:01 admblockem07 postfix/smtpd[4196]: [ID 197553 mail.info] connect
from admatriuem10.b-rail.be[193.121.180.214]
@

*** Stopping sendmail on admatriuem06 -> admblockem06 not taking over ***
*** Logging from admblockem07 ***
Aug 1 14:48:01 admblockem07 postfix/smtpd[4196]: [ID 197553 mail.info] connect
from admatriuem10.b-rail.be[193.121.180.214]
Aug 1 14:48:01 admblockem07 postfix/smtpd[4196]: [ID 197553 mail.info]
3226D31382: client=admatriuem10.b-rail.be[193.121.18
0.214]
Aug 1 14:48:01 admblockem07 postfix/cleanup[4197]: [ID 197553 mail.info]
3226D31382: message-id=<007b01c3582b$1f0c1770$0201
a8c0 at wendyof1b6qhuy>
Aug 1 14:48:01 admblockem07 postfix/smtpd[4196]: [ID 197553 mail.info]
disconnect from admatriuem10.b-rail.be[193.121.180.2
14]
Aug 1 14:48:01 admblockem07 postfix/qmgr[1344]: [ID 197553 mail.info]
3226D31382: from=<>, size=225678,
nrcpt=1 (queue active)
Aug 1 14:48:01 admblockem07 postfix/smtpd[4217]: [ID 197553 mail.info] connect
from localhost[127.0.0.1]
Aug 1 14:48:01 admblockem07 postfix/smtpd[4217]: [ID 197553 mail.info]
B871131385: client=localhost[127.0.0.1]
Aug 1 14:48:02 admblockem07 postfix/cleanup[4193]: [ID 197553 mail.info]
B871131385: message-id=<007b01c3582b$1f0c1770$0201
a8c0 at wendyof1b6qhuy>
Aug 1 14:48:02 admblockem07 postfix/smtp[4214]: [ID 197553 mail.info]
3226D31382: to=<>, rel
ay=localhost[127.0.0.1], delay=1, status=sent (250 Ok: queued as B871131385)
Aug 1 14:48:02 admblockem07 postfix/smtpd[4217]: [ID 197553 mail.info]
disconnect from localhost[127.0.0.1]
Aug 1 14:48:02 admblockem07 postfix/qmgr[1344]: [ID 197553 mail.info]
B871131385: from=<>, size=225881,
nrcpt=1 (queue active)
Aug 1 14:48:02 admblockem07 postfix/smtp[4221]: [ID 197553 mail.info] connect
to admatriuem06.b-rail.be[10.2.11.213]: Conne
ction refused (port 25)
Aug 1 14:48:02 admblockem07 postfix/smtp[4221]: [ID 197553 mail.info]
B871131385: to=<>, rel
ay=admatriuem10.b-rail.be[193.121.180.214], delay=1, status=sent (250 2.0.0
h71CmbQU023052 Message accepted for delivery)
Aug 1 14:48:02 admblockem07 postfix/smtpd[4192]: [ID 197553 mail.info] connect
from admatriuem10.b-rail.be[193.121.180.214]
Aug 1 14:48:02 admblockem07 postfix/smtpd[4192]: [ID 197553 mail.info]
B25D031382: client=admatriuem10.b-rail.be[193.121.18
0.214]
Aug 1 14:48:02 admblockem07 postfix/cleanup[4195]: [ID 197553 mail.info]
B25D031382: message-id=<007b01c3582b$1f0c1770$0201
a8c0 at wendyof1b6qhuy>
Aug 1 14:48:03 admblockem07 postfix/smtpd[4192]: [ID 197553 mail.info]
disconnect from admatriuem10.b-rail.be[193.121.180.2
14]
Aug 1 14:48:03 admblockem07 postfix/qmgr[1344]: [ID 197553 mail.info]
B25D031382: from=<>, size=226313,
nrcpt=1 (queue active)
Aug 1 14:48:03 admblockem07 postfix/smtpd[4218]: [ID 197553 mail.info] connect
from localhost[127.0.0.1]
Aug 1 14:48:03 admblockem07 postfix/smtpd[4194]: [ID 197553 mail.info] connect
from admatriuem10.b-rail.be[193.121.180.214]
Aug 1 14:48:03 admblockem07 postfix/smtpd[4218]: [ID 197553 mail.info]
5CEF631385: client=localhost[127.0.0.1]
Aug 1 14:48:03 admblockem07 postfix/smtpd[4194]: [ID 197553 mail.info]
6727B31386: client=admatriuem10.b-rail.be[193.121.18
0.214]
Aug 1 14:48:03 admblockem07 postfix/cleanup[4219]: [ID 197553 mail.info]
6727B31386: message-id=<5348C8367110D411A6BA00508B
>
Aug 1 14:48:03 admblockem07 postfix/smtpd[4194]: [ID 197553 mail.info]
disconnect from admatriuem10.b-rail.be[193.121.180.2
14]
Aug 1 14:48:03 admblockem07 postfix/qmgr[1344]: [ID 197553 mail.info]
6727B31386: from=<>, size=2964, nrc
pt=1 (queue active)
Aug 1 14:48:03 admblockem07 postfix/smtpd[4215]: [ID 197553 mail.info] connect
from localhost[127.0.0.1]
Aug 1 14:48:03 admblockem07 postfix/cleanup[4210]: [ID 197553 mail.info]
5CEF631385: message-id=<007b01c3582b$1f0c1770$0201
a8c0 at wendyof1b6qhuy>
Aug 1 14:48:03 admblockem07 postfix/smtpd[4215]: [ID 197553 mail.info]
C25B631387: client=localhost[127.0.0.1]
Aug 1 14:48:04 admblockem07 postfix/smtp[4216]: [ID 197553 mail.info]
B25D031382: to=<>, rel
ay=localhost[127.0.0.1], delay=2, status=sent (250 Ok: queued as 5CEF631385)
Aug 1 14:48:04 admblockem07 postfix/smtpd[4218]: [ID 197553 mail.info]
disconnect from localhost[127.0.0.1]
Aug 1 14:48:04 admblockem07 postfix/qmgr[1344]: [ID 197553 mail.info]
5CEF631385: from=<>, size=226516,
nrcpt=1 (queue active)
Aug 1 14:48:04 admblockem07 postfix/cleanup[4197]: [ID 197553 mail.info]
C25B631387: message-id=<5348C8367110D411A6BA00508B
>
Aug 1 14:48:04 admblockem07 postfix/smtp[4212]: [ID 197553 mail.info]
6727B31386: to=<>, relay=l
ocalhost[127.0.0.1], delay=1, status=sent (250 Ok: queued as C25B631387)
Aug 1 14:48:04 admblockem07 postfix/smtpd[4215]: [ID 197553 mail.info]
disconnect from localhost[127.0.0.1]
Aug 1 14:48:04 admblockem07 postfix/qmgr[1344]: [ID 197553 mail.info]
C25B631387: from=<>, size=3163, nrc
pt=1 (queue active)
Aug 1 14:48:04 admblockem07 postfix/smtp[4220]: [ID 197553 mail.info] connect
to admatriuem06.b-rail.be[10.2.11.213]: Conne
ction refused (port 25)
Aug 1 14:48:04 admblockem07 postfix/smtp[4221]: [ID 197553 mail.info] connect
to admatriuem06.b-rail.be[10.2.11.213]: Conne
ction refused (port 25)
Aug 1 14:48:04 admblockem07 postfix/smtpd[4190]: [ID 197553 mail.info] connect
from admatriuem10.b-rail.be[193.121.180.214]
Aug 1 14:48:04 admblockem07 postfix/smtp[4221]: [ID 197553 mail.info]
C25B631387: to=<>, relay=a
dmatriuem10.b-rail.be[193.121.180.214], delay=1, status=sent (250 2.0.0
h71CmdQU023064 Message accepted for delivery)
Aug 1 14:48:04 admblockem07 postfix/smtp[4220]: [ID 197553 mail.info]
5CEF631385: to=<>, rel
ay=admatriuem10.b-rail.be[193.121.180.214], delay=1, status=sent (250 2.0.0
h71CmdQU023063 Message accepted for delivery)

Dean Strik (1/08/2003 13:36):
> wrote:
>> Hello
>>
>> The proposed solution is not working.
>> The mailer doesn't take the second MX record when I shut down the internal-1
>> server
>
>It should. For example:
>
> sphinx# host -tmx stack.nl
> stack.nl mail is handled (pri=10) by skynet.stack.nl
> stack.nl mail is handled (pri=10) by hexagon.stack.nl
> stack.nl mail is handled (pri=100) by kweetal.tue.nl
> stack.nl mail is handled (pri=100) by mailhost.tue.nl
> stack.nl mail is handled (pri=10) by vaak.stack.nl
>
>Bringing a few MX-es down:
>
> skynet# postfix stop
> vaak# postfix stop
>
>Mailing:
>
> sphinx# echo test | mail -s test
>
>Maillog:
>
> Aug 1 14:31:30 sphinx postfix/qmgr[59823]: 5B33022840:
> from=<>, size=305, nrcpt=1 (queue active)
> Aug 1 14:31:30 sphinx postfix/smtp[80469]: connect to
> vaak.stack.nl[2001:610:1108:5010:248:54ff:fe6b:2cec]: Connection
refused
> (port 25)
> Aug 1 14:31:31 sphinx postfix/smtp[80469]: 5B33022840:
> to=<>, relay=hexagon.stack.nl[2001:610:1108:5010::144],
> delay=1, status=sent (250 Ok: queued as 0E6DF1C7B)
>
>If one MX is down, it should try the other. Please show some maillogs
>similar to the above to see whether it tries to connect to the second
>host.
>
>Please also give a postconf -n and the exact line in your transport maps.
>
>--
>Dean C. Strik Eindhoven University of Technology
> | | http://www.ipnet6.org/
>"This isn't right. This isn't even wrong." -- Wolfgang Pauli

Stefaan Van Hoornick
Netwerk Consultant

Groep: ICT.413
Tel.: +32 (0) 2 528 33 41
Email:

--------------------------------------------
You may be disappointed if you fail,
but you are doomed if you don't try.
            -- Beverly Sills
--------------------------------------------










Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD