Secondary MX for ISPconfig setup using mysql?

Discussion in 'Installation/Configuration' started by RobMorin, Jan 23, 2014.

  1. RobMorin

    RobMorin New Member

    Hello all...

    I have a multi server setup that i am going to put into production soon.

    I have 2 webservers(web2 & web3), 1 mysql/DNS(mysql2) server, 1 mail server(mail2) and a secondary mail/DNS(mx2) server

    Now everything so far is working great... however I am trying to get the secondary MX(mx2) server running postfix to use the DB on the main ispconfig server(web2) to verify incoming emails, for when primary email server is down(mail2).

    I read a blog about it here...
    http://blog.schaal-24.de/?p=1973&lang=en

    Seems pretty straight forward. But now my problem is when i test it out by shutting down postfix on Primary server(mail2) and tailing the mail .log on secondary mx(mx2) I see this error...
    adamin.com is our test domain and it has the problem...

    Jan 23 10:27:04 ip-10-28-112-46 postfix/smtpd[11941]: connect from nm30-vm3.bullet.mail.ne1.yahoo.com[98.138.91.160]
    Jan 23 10:27:04 ip-10-28-112-46 postgrey[1159]: action=pass, reason=client whitelist, client_name=nm30-vm3.bullet.mail.ne1.yahoo.com, client_address=98.138.91.160, [email protected], [email protected]
    Jan 23 10:27:04 ip-10-28-112-46 postfix/smtpd[11941]: AC3F820339: client=nm30-vm3.bullet.mail.ne1.yahoo.com[98.138.91.160]
    Jan 23 10:27:04 ip-10-28-112-46 postfix/cleanup[11946]: AC3F820339: message-id=<[email protected]>
    Jan 23 10:27:04 ip-10-28-112-46 postfix/qmgr[11928]: AC3F820339: from=<[email protected]>, size=3151, nrcpt=1 (queue active)
    Jan 23 10:27:04 ip-10-28-112-46 postfix/smtp[11931]: connect to mail2.domain.ca[69.196.20.230]:25: Connection refused
    Jan 23 10:27:04 ip-10-28-112-46 postfix/smtpd[11947]: connect from ns2.domain.ca[93.23.212.220]
    Jan 23 10:27:04 ip-10-28-112-46 postfix/smtp[11931]: warning: host mx2.domain.ca[93.23.212.220]:25 greeted me with my own hostname ns2.domain.ca
    Jan 23 10:27:04 ip-10-28-112-46 postfix/smtp[11931]: warning: host mx2.domain.ca[93.23.212.220]:25 replied to HELO/EHLO with my own hostname ns2.domain.ca
    Jan 23 10:27:04 ip-10-28-112-46 postfix/smtp[11931]: AC3F820339: to=<[email protected]>, relay=mx2.dido.ca[93.23.212.220]:25, delay=0.4, delays=0.34/0.02/0.04/0, dsn=4.4.6, status=deferred (mail for adamin.com loops back to myself)
    Jan 23 10:27:04 ip-10-28-112-46 postfix/smtpd[11941]: disconnect from nm30-vm3.bullet.mail.ne1.yahoo.com[98.138.91.160]
    Jan 23 10:27:05 ip-10-28-112-46 postfix/smtpd[11947]: disconnect from ns2.domain.ca[93.23.212.220]

    Any suggestions?
    IP addresses have been changed to protect the innocent... :)

    Thanks..
     

Share This Page