OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: laurent.commeauvendome.com
Date: Tue Mar 06 2001 - 14:44:56 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    # postconf relayhost smtp_connect_timeout
    relayhost = 10.100.1.10, 10.100.1.8
    smtp_connect_timeout = 5s

    Mar 6 21:38:11 mailhost postfix/smtp[9769]: 89E9B176AC: to=<vendome.com>,
    relay=none, delay=13, status=deferred (connect to 10.100.1.10[10.100.1.10]:
    Connection
    refused)
    Mar 6 21:38:18 mailhost postfix/cleanup[9747]: EAC95176AD: message-id
    =<DF7FAB5B3CA7D3118ACC009027DC7BD937433FMIAS02>
    Mar 6 21:38:18 mailhost postfix/qmgr[9384]: EAC95176AD: from=<>,
    size=1451, nrcpt=1 (queue active)
    Mar 6 21:38:18 mailhost postfix/smtp[9789]: connect to
    10.100.1.10[10.100.1.10]: Connection refused (port 25)
    Mar 6 21:38:18 mailhost postfix/smtpd[9795]: disconnect from
    sys1.london.uk.eu.psi.net[154.15.248.2]
    Mar 6 21:38:18 mailhost postfix/smtp[9789]: EAC95176AD: to=<vendome.com>,
    relay=none, delay=12, status=deferred (connect to 10.100.1.10[10.100.1.10]:
    Connection refuse
    d)

    and he never send to the other host

    and i use Postfix Release 20010228

                                                                                                                       
                        wietseporcup
                        ine.org To: laurent.commeauvendome.com
                        (Wietse cc: Wietse Venema <wietseporcupine.org>, postfix-userspostfix.org
                        Venema) Subject: Re: relayhost
                                                                                                                       
                        06/03/01
                        20:58
                                                                                                                       
                                                                                                                       

    Works for me. You need a Postfix that support multiple relayhosts.

               Wietse

    # postconf relayhost
    relayhost = redhat62 spike
    # echo foo | mail wietse
    # Mar 6 14:56:15 tail foobar/pickup[929]: 117E46AA90: uid=0 from=<root>
    Mar 6 14:56:15 tail foobar/cleanup[935]: 117E46AA90: message-id
    =<20010306195615.117E46AA90tail.porcupine.org>
    Mar 6 14:56:15 tail foobar/nqmgr[930]: 117E46AA90: from
    =<rootporcupine.org>, size=293, nrcpt=1 (queue active)
    Mar 6 14:56:15 tail foobar/smtp[937]: connect to
    redhat62.porcupine.org[168.100.189.23]: Connection refused (port 25)
    Mar 6 14:56:15 tail foobar/smtp[937]: 117E46AA90: to
    =<wietseporcupine.org>, relay=spike.porcupine.org[168.100.189.2], delay=0,
    status=sent (250 Ok: queued as 25EF5BC06D)

    laurent.commeauvendome.com:
    >
    > ok thanks Wietse it's work for the time out.
    >
    > But if i have 2 relay hosts for failover, and one of the first host said
    > connection refused on port 25, then the relayhost don't work.
    >
    > I've looking for relayhost on the man page, but i have'nt find what i
    want.
    >
    > Sorry for my poor english.
    >
    > Thanks for your help
    >
    >
    >
    >

    > wietseporcup

    > ine.org To:
    laurent.commeauvendome.com
    > (Wietse cc: Wietse Venema
    <wietseporcupine.org>, postfix-userspostfix.org
    > Venema) Subject: Re: relayhost

    >

    > 06/03/01

    > 19:36

    >

    >

    >
    >
    >
    >
    > It works for me. By the way, your quoting sucks.
    >
    > Wietse
    >
    > # postconf relayhost smtp_connect_timeout
    > relayhost = belly, spike
    > smtp_connect_timeout = 5s
    > # echo foo | mail wietse
    > # tail -f /var/log/maillog
    > Mar 6 13:34:12 tail foobar/pickup[741]: B15C76AA90: uid=0 from=<root>
    > Mar 6 13:34:12 tail foobar/cleanup[747]: B15C76AA90: message-id
    > =<20010306183412.B15C76AA90tail.porcupine.org>
    > Mar 6 13:34:12 tail foobar/nqmgr[742]: B15C76AA90: from
    > =<rootporcupine.org>, size=318, nrcpt=1 (queue active)
    > Mar 6 13:34:18 tail foobar/smtp[749]: connect to
    > belly.porcupine.org[168.100.189.6]: Operation timed out (port 25)
    > Mar 6 13:34:19 tail foobar/smtp[749]: B15C76AA90: to
    > =<wietseporcupine.org>, relay=spike.porcupine.org[168.100.189.2],
    delay=7,
    > status=sent (250 Ok: queued as 7E1B5BC06D)
    >
    > laurent.commeauvendome.com:
    > >
    > > I've already the latest version of postfix.
    > >
    > > I have test relayhost = host1, host2, but when i stop host1 the mail
    > > doesn't go to host2.
    > >
    > > Perhaps have you another idea.
    > >
    > > Best Regards
    > >
    > >
    > >
    > >
    > >
    > >
    >
    > > wietseporcupine.org
    >
    > > (Wietse Venema) To:
    > laurent.commeauvendome.com
    > > Sent by: cc:
    > postfix-userspostfix.org
    > > owner-postfix-usersp Subject: Re:
    > relayhost
    > > ostfix.org
    >
    > >
    >
    > >
    >
    > > 06/03/01 15:04
    >
    > >
    >
    > >
    >
    > >
    > >
    > >
    > >
    > > laurent.commeauvendome.com:
    > > >
    > > > Hello all,
    > > >
    > > > I have 3 smtp servers, i want to use the first to receive all mails
    > from
    > > > internet, the 2 others have some process like antivirus ....
    > > >
    > > > The first smtp server relay all mails to a second ( relayhost =
    > > > xxx.xxx.xxx.xxx ), but i want to use the third to backup the second,
    > but
    > > if
    > > > i can't make two machine in the relayhost setting ( relayhost =
    > > > xxx.xxx.xxx.xx1, xxx.xxx.xxx.xx2).
    > >
    > > You can have multiple relayhosts with recent Postfixen.
    > >
    > > Wietse
    > >
    > >
    > >
    > >
    > >
    > >
    > >
    > >
    >
    >
    >
    >
    >
    >
    >
    >