Andreas Kaiser wrote:

Am 28.04.2009 um 18:00 schrieb Eric Shubert:

I'm guessing that your smtproutes point to the A record instead of the MX record for the target domain.

Yes, you're right.

Andreas Kaiser wrote:
I've recently changed one of the domains on my qmail server from a virtual domain (using vpopmail) to a secondary mx.
This domain is now listed in:
   rcpthosts:domain.tld
   smtproutes:domain.tld:mail.domain.tld
The DNS MX records are:
   domain.tld. 2554 IN MX 10 mail.domain.tld.
   domain.tld. 2554 IN MX 50 my.qmail.tld.
A records fpr both exist and are correct.
However, I still find a lot of line like this in my log:
@4000000049f7015b397338d4 delivery 67: deferral: Unable_to_switch_to_/home/vpopmail/domains/domain.tld:_file_does_not_exist._(#4.3.0)/

So I changed smtproutes to

    domain.tld:domain.tld

Now I find these lines in my logs:

/var/log/qmail/send/current:@4000000049f758ad0fa50b04 starting delivery 19011: msg 3379245 to remote [email protected] /var/log/qmail/send/current:@4000000049f75b060f06179c delivery 19011: deferral: User_and_password_not_set,_continuing_without_authentication./<[email protected]>_1.2.3.4_failed_after_I_sent_the_message./Remote_host_said:_451_4.7.0_Timeout_waiting_for_client_input/

The mails are still not delivered to the primary MX. Those sent directly to the primary MX (i.e. not via the secondary, which is a qmail-toaster) do reach their destination mailboxes.

The primary MX is an MS Exchange 2007.

What do I miss?


Thanks again,

Andreas


I think that you should have
    domain.tld:exchangehost.domain.tld
in your smtproutes, where "exchangehost.domain.tld" corresponds to the DNS A record of your exchange server.

--
-Eric 'shubes'


---------------------------------------------------------------------------------
                Managed Qmailtoaster servers are now available
      Visit http://qmailtoaster.com/QMTManaged.html to order yours today!

Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)

    Please visit qmailtoaster.com for the latest news, updates, and packages.


         To unsubscribe, e-mail: [email protected]
        For additional commands, e-mail: [email protected]


Reply via email to