[SOLVED] Moved zimbra to new server - mail gets deferred

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
goetzi
Advanced member
Advanced member
Posts: 184
Joined: Fri Sep 12, 2014 9:59 pm

[SOLVED] Moved zimbra to new server - mail gets deferred

Postby goetzi » Tue Feb 05, 2008 8:17 am

[quote user="10330phoenix"]It would appear from those results that you don't have an A record, you need one (unless you'#re only posting partial details?).[/QUOTE]
I posted the whole result.

But I do have an A record for zimbra.schuelerunion.at
Traceroute, Ping, Domain Name Server (DNS) Lookup, WHOIS, and DNS Records Lookup shows the following result:
Retrieving DNS records for schuelerunion.at...
DNS servers

ns5.kasserver.com [85.13.128.3]

ns6.kasserver.com [85.13.159.101]
Answer records

schuelerunion.at 1 SOA

server: ns5.kasserver.com

email: root@kasserver.com

serial: 2008020591

refresh: 28800

retry: 7200

expire: 604800

minimum ttl: 7200

7200s

schuelerunion.at 1 TXT kasserver.com 7200s

schuelerunion.at 1 NS ns5.kasserver.com 7200s

schuelerunion.at 1 NS ns6.kasserver.com 7200s

schuelerunion.at 1 A 85.13.131.21 7200s

schuelerunion.at 1 MX

preference: 10

exchange: zimbra.schuelerunion.at

7200s

schuelerunion.at 1 MX

preference: 20

exchange: mail.4-mail.net

7200s
Authority records
Additional records

ns6.kasserver.com 1 A 85.13.159.101 7200s

ns5.kasserver.com 1 A 85.13.128.3 7200s

zimbra.schuelerunion.at 1 A 78.46.48.66 7200s


goetzi
Advanced member
Advanced member
Posts: 184
Joined: Fri Sep 12, 2014 9:59 pm

[SOLVED] Moved zimbra to new server - mail gets deferred

Postby goetzi » Tue Feb 05, 2008 11:58 pm

Now the A record definitly works.

But the mails are still queued in the referred queue with the error "mail transport unavailable".
If I do a queue flush I have pages of this errors:
Feb  6 06:55:45 zimbra postfix/qmgr[28968]: 730339780D2: to=, relay=none, delay=46182, delays=45985/197/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)

Feb 6 06:55:45 zimbra postfix/qmgr[28968]: 730339780D2: to=, relay=none, delay=46182, delays=45985/197/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)

Feb 6 06:55:45 zimbra postfix/qmgr[28968]: 7EAB29782C4: to=, relay=none, delay=8036, delays=7839/197/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)

Feb 6 06:55:45 zimbra postfix/qmgr[28968]: 76FF71A74BA3: to=, relay=none, delay=69394, delays=69197/197/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)

Feb 6 06:55:45 zimbra postfix/qmgr[28968]: 7B31A1A74D2E: to=, relay=none, delay=49880, delays=49683/197/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)

Feb 6 06:55:45 zimbra postfix/qmgr[28968]: 79666978267: to=, relay=none, delay=17270, delays=17073/197/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)

Feb 6 06:55:45 zimbra last message repeated 3 times

Feb 6 06:55:45 zimbra postfix/qmgr[28968]: 7B6F59780D8: to=, relay=none, delay=46541, delays=46344/197/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)

Feb 6 06:55:45 zimbra postfix/qmgr[28968]: 7B6F59780D8: to=, relay=none, delay=46541, delays=46344/197/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)

Feb 6 06:55:45 zimbra postfix/qmgr[28968]: 7B6F59780D8: to=, relay=none, delay=46541, delays=46344/197/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)

Feb 6 06:55:45 zimbra postfix/qmgr[28968]: 7B6F59780D8: to=, relay=none, delay=46541, delays=46344/197/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)

Feb 6 06:55:45 zimbra postfix/qmgr[28968]: 7B6F59780D8: to=, relay=none, delay=46541, delays=46344/197/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)

Feb 6 06:55:45 zimbra postfix/qmgr[28968]: 71794978201: to=, relay=none, delay=29379, delays=29182/197/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)

Feb 6 06:55:45 zimbra postfix/qmgr[28968]: 7D5171A74C0A: to=, relay=none, delay=66072, delays=65875/197/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)

Feb 6 06:55:45 zimbra postfix/qmgr[28968]: 7475297809F: to=, relay=none, delay=51363, delays=51166/197/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)

Feb 6 06:55:45 zimbra postfix/qmgr[28968]: 7DAE9978205: to=, relay=none, delay=29373, delays=29176/197/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)

Feb 6 06:55:45 zimbra postfix/qmgr[28968]: 7DD941A74AD5: to=, relay=none, delay=76348, delays=76151/197/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)

Feb 6 06:55:45 zimbra postfix/qmgr[28968]: 7DD941A74AD5: to=, relay=none, delay=76348, delays=76151/197/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)

Feb 6 06:55:45 zimbra postfix/qmgr[28968]: 75EEA1A74CA8: to=, relay=none, delay=59007, delays=58810/197/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)

goetzi
Advanced member
Advanced member
Posts: 184
Joined: Fri Sep 12, 2014 9:59 pm

[SOLVED] Moved zimbra to new server - mail gets deferred

Postby goetzi » Wed Feb 06, 2008 2:46 am

The postfix seems to work right, but there seems to be a problem at the delivery from postfix to the mailbox?
Here is a mail that came from outside and got deferred:

[zimbra@zimbra ~]$ tail -n 5999 /var/log/zimbra.log | grep 815001A74B92

Feb 6 09:04:56 zimbra postfix/smtpd[24539]: 815001A74B92: client=localhost.localdomain[127.0.0.1]

Feb 6 09:04:56 zimbra postfix/cleanup[22400]: 815001A74B92: message-id=

Feb 6 09:04:56 zimbra postfix/qmgr[21590]: 815001A74B92: from=, size=8519, nrcpt=1 (queue active)

Feb 6 09:04:56 zimbra amavis[21361]: (21361-09) FWD via SMTP: -> ,BODY=8BITMIME 250 2.6.0 Ok, id=21361-09, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 815001A74B92

Feb 6 09:04:56 zimbra amavis[21361]: (21361-09) Passed CLEAN, LOCAL [127.0.0.1] [194.158.133.15] -> , Message-ID: , mail_id: qotBU1d96VYq, Hits: 1.48, size: 8026, queued_as: 815001A74B92, 4233 ms

Feb 6 09:04:56 zimbra postfix/smtp[22368]: 2A23D1A7560B: to=, relay=127.0.0.1[127.0.0.1]:10024, delay=3620, delays=3616/0/0/4.2, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 815001A74B92)

Feb 6 09:08:01 zimbra postfix/qmgr[21590]: 815001A74B92: to=, relay=none, delay=185, delays=0.01/185/0/0, dsn=4.3.0, status=deferred (mail transport unavailable)

Here a message i sent by hand via telnet, it got delivered to the external mail address.

[zimbra@zimbra ~]$ tail -n 5999 /var/log/zimbra.log | grep 09E1F1A7560B

Feb 6 09:01:46 zimbra postfix/smtpd[23404]: 09E1F1A7560B: client=localhost.localdomain[127.0.0.1]

Feb 6 09:02:23 zimbra postfix/cleanup[21803]: 09E1F1A7560B: message-id=

Feb 6 09:02:23 zimbra postfix/qmgr[21590]: 09E1F1A7560B: from=, size=398, nrcpt=1 (queue active)

Feb 6 09:02:25 zimbra postfix/cleanup[22400]: 53A7F1A7560C: message-id=

Feb 6 09:02:25 zimbra amavis[21363]: (21363-05) Passed CLEAN, LOCAL [127.0.0.1] [127.0.0.1] -> , Message-ID: , mail_id: JMRZ2wrfHOW8, Hits: -0.037, size: 398, queued_as: 53A7F1A7560C, 2230 ms

Feb 6 09:02:25 zimbra postfix/smtp[23571]: 09E1F1A7560B: to=, relay=127.0.0.1[127.0.0.1]:10024, delay=55, delays=53/0/0/2.2, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 53A7F1A7560C)

Feb 6 09:02:25 zimbra postfix/qmgr[21590]: 09E1F1A7560B: removed

Feb 6 09:02:25 zimbra postfix/cleanup[21803]: BE8331A7560B: message-id=

Feb 6 09:02:31 zimbra postfix/cleanup[22400]: 4EC281A7560C: message-id=

Feb 6 09:02:31 zimbra amavis[21366]: (21366-05) Passed CLEAN, [213.165.64.100] -> , Message-ID: , mail_id: ca40aELM2GlU, Hits: 0.863, size: 1718, queued_as: 4EC281A7560C, 5430 ms

If I send a mail manually to an internal user this is the log, but no mail is visible in the receivers mailbox:

[zimbra@zimbra ~]$ tail -n 5999 /var/log/zimbra.log | grep E11931A7561F

Feb 6 09:31:04 zimbra postfix/smtpd[3938]: E11931A7561F: client=localhost.localdomain[127.0.0.1]

Feb 6 09:31:12 zimbra postfix/cleanup[4007]: E11931A7561F: message-id=

Feb 6 09:31:12 zimbra postfix/qmgr[21590]: E11931A7561F: from=, size=394, nrcpt=1 (queue active)

Feb 6 09:31:15 zimbra postfix/cleanup[430]: 139A21A75623: message-id=

Feb 6 09:31:15 zimbra amavis[21367]: (21367-18) Passed CLEAN, LOCAL [127.0.0.1] [127.0.0.1] -> , Message-ID: , mail_id: uGrxG1tPHYU5, Hits: -0.223, size: 394, queued_as: 139A21A75623, 2241 ms

Feb 6 09:31:15 zimbra postfix/smtp[4010]: E11931A7561F: to=, orig_to=, relay=127.0.0.1[127.0.0.1]:10024, delay=20, delays=18/0/0/2.2, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 139A21A75623)

Feb 6 09:31:15 zimbra postfix/qmgr[21590]: E11931A7561F: removed

goetzi
Advanced member
Advanced member
Posts: 184
Joined: Fri Sep 12, 2014 9:59 pm

[SOLVED] Moved zimbra to new server - mail gets deferred

Postby goetzi » Wed Feb 06, 2008 9:05 am

While making a fresh install of 5.0.2 and restoring a backup made before I found one very strange behaviour: The delivery to new mailboxes works, the delivery to restored mailboxes results in the error above.
Can anyone help?
mmorse
Ambassador
Ambassador
Posts: 6036
Joined: Fri Sep 12, 2014 10:24 pm

[SOLVED] Moved zimbra to new server - mail gets deferred

Postby mmorse » Wed Feb 06, 2008 11:19 am

[quote user="goetzi"]- Old server was NE 4.5.5 on CentOS4 x86

- Installed NE 4.5.6 on the new machine (CentOS5 x86)

- blocked port 25 on old server (mails were queued on secondary MX)

- made full backup of old server (using zmbackup)

- created domains on new server

- restored full backup on new machine

- updated to NE 5.0.2

- changed MX entry fitting to the new server

[/quote]

Contacted me over skype - ok, so 2 problems found:

1) When changing platforms it's a good idea to use the methods listed in /blog/archives/2007/10/moving_zcs_to_another_server.html

-You need to use the same zimbra version for the operating system switch

-So the 4.5.5 > 4.5.6 hurt a little in the first place...

2) & on top of that the servername changed...[quote]

[zimbra@zimbra ~]$ zmprov ga olduser@schuelerunion.at | grep Transport

zimbraMailTransport: lmtp:zimbra.it-swat.net:7025

[zimbra@zimbra ~]$ zmprov ga newuser@schuelerunion.at | grep Transport

zimbraMailTransport: lmtp:zimbra.schuelerunion.at:7025

[/quote]He's working to restore the accounts right now, then we'll fix the transport the hard way...
For future reference, directions for servername changes are in are in ZmSetServerName - Zimbra :: Wiki
Klug
Elite member
Elite member
Posts: 2357
Joined: Mon Dec 16, 2013 11:35 am
Contact:

[SOLVED] Moved zimbra to new server - mail gets deferred

Postby Klug » Thu Feb 07, 2008 3:07 am

I do have to learn all zmprov options...

Return to “Administrators”

Who is online

Users browsing this forum: Google [Bot] and 10 guests