Results 1 to 5 of 5

Thread: [SOLVED] Problem with mail after migration server

  1. #1
    albgdy is offline Member
    Join Date
    Aug 2009
    Location
    Gdynia, Poland
    Posts
    10
    Rep Power
    6

    Exclamation [SOLVED] Problem with mail after migration server

    Hi,

    Last friday I move one machine to another with the same operating system Ubuntu 8.04 and with the Zimbra version Release 5.0.9_GA_2533_UBUNTU8.

    At the beggining I had some problems with DNS configuration but now I think they are solve, I am behind a Nat zone/router with the ports that Zimbra uses open (checked with Nmap).

    I had a problem with 'postconf mynetworks' because I dont know why was appearing the old ip and not the new one and I change for 127.0.0.0/8 172.16.1.0/24 79.188.206.0/24

    All clients receive correctly mail from outside of the lan and also they can send and receive inside the lan but they are not able to send correctly outside mails, apparently is doing the job, is not giving any error but they are not going to to right destination.

    I attach here the lines of /var/log/zimbra.log concerning a delivery to my mail in gmail.

    Yesterday I was able to get some mails delivered changing in my client from SSL encryption to TLS if available but I am not aware to touch anything of this before (maybe when I was migrating everything?)

    Code:
    Aug  3 11:50:48 sopot postfix/smtpd[20138]: setting up TLS connection from hry162.internetdsl.tpnet.pl[79.188.206.162]
    Aug  3 11:50:48 sopot postfix/smtpd[20138]: TLS connection established from hry162.internetdsl.tpnet.pl[79.188.206.162]: TLSv1 with cipher DHE-RSA-AES256-SH
    Aug  3 11:50:48 sopot saslauthd[12810]: zmauth: authenticating against elected url 'https://sopot.vetro-shipping.com:7071/service/admin/soap/' ...
    Aug  3 11:50:48 sopot saslauthd[12810]: zmpost: url='https://sopot.vetro-shipping.com:7071/service/admin/soap/' returned buffer->data='
    Aug  3 11:50:48 sopot postfix/qmgr[12794]: 8F41C10B7AC: from=, size=791, nrcpt=1 (queue active)
    Aug  3 11:50:48 sopot postfix/smtpd[20138]: disconnect from hry162.internetdsl.tpnet.pl[79.188.206.162]
    Aug  3 11:50:48 sopot amavis[12013]: (12013-01) ESMTP::10024 /opt/zimbra/data/amavisd/tmp/amavis-20090803T115048-12013:  ->  -> 
    Aug  3 11:50:49 sopot postfix/smtpd[20177]: connect from localhost.localdomain[127.0.0.1]
    Aug  3 11:50:49 sopot postfix/smtpd[20177]: 1C22D10B7B7: client=localhost.localdomain[127.0.0.1]
    Aug  3 11:50:49 sopot postfix/cleanup[20141]: 1C22D10B7B7: message-id=<4A76B322.2020301@vetro-shipping.com>
    Aug  3 11:50:49 sopot postfix/smtpd[20177]: disconnect from localhost.localdomain[127.0.0.1]
    Aug  3 11:50:49 sopot postfix/qmgr[12794]: 1C22D10B7B7: from=, size=1457, nrcpt=1 (queue active)
    Aug  3 11:50:49 sopot amavis[12013]: (12013-01) FWD via SMTP:  -> ,BODY=7BIT 250 2.6.0 Ok, id=12013-01, f
    Aug  3 11:50:49 sopot amavis[12013]: (12013-01) Passed CLEAN, [79.188.206.162] [79.188.206.162]  -> , Mes
    Aug  3 11:50:49 sopot postfix/smtp[20143]: 8F41C10B7AC: to=, relay=127.0.0.1[127.0.0.1]:10024, delay=0.65, delays=0.07/0/0.02/0.57,
    Aug  3 11:50:49 sopot postfix/qmgr[12794]: 8F41C10B7AC: removed
    Aug  3 11:50:49 sopot amavis[12013]: (12013-01) extra modules loaded: /opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi/auto/Net/SSLeay/autosplit.ix, /o
    Aug  3 11:50:49 sopot postfix/smtp[19940]: 1C22D10B7B7: to=, relay=gmail-smtp-in.l.google.com[209.85.220.45]:25, delay=0.59, delays=
    Aug  3 11:50:49 sopot postfix/qmgr[12794]: 1C22D10B7B7: removed
    Aug  3 11:51:13 sopot zmmailboxdmgr[21086]: status requested
    Aug  3 11:51:13 sopot zmmailboxdmgr[21086]: status OK
    Any help is appreciated because I am bit lost if I must go in SSL/TLS matters or is again a DNS problem or specfication of networks.

    Also I see that amavis always is loaded extramodules and I am not sure if thats normal.

    Brgds,
    Alberto

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,566
    Rep Power
    57

    Default

    Quote Originally Posted by albgdy View Post
    I had a problem with 'postconf mynetworks' because I dont know why was appearing the old ip and not the new one and I change for 127.0.0.0/8 172.16.1.0/24 79.188.206.0/24
    You should not have your Public IP in the mynetworks setting if you're on a LAN, it should be the LAN subnet and the loopback IP. Check the documentation here: ZimbraMtaMyNetworks - Zimbra :: Wiki

    Run the following commands on your Zimbra server an post the output:

    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig yourdomain.com mx
    dig yourdomain.com any
    host `hostname`  <-- use that exact command with backtick not single quotes
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    albgdy is offline Member
    Join Date
    Aug 2009
    Location
    Gdynia, Poland
    Posts
    10
    Rep Power
    6

    Default

    Hi,

    /etc/hosts
    127.0.0.1 localhost.localdomain localhost
    172.16.1.252 sopot.vetro-shipping.com sopot

    # The following lines are desirable for IPv6 capable hosts
    ::1 ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts

    >/etc/resolv.conf
    nameserver 127.0.0.1
    nameserver 194.204.152.34
    search vetro

    >dig vetro-shipping.com mx
    ; <<>> DiG 9.4.2-P2 <<>> vetro-shipping.com mx
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19844
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

    ;; QUESTION SECTION:
    ;vetro-shipping.com. IN MX

    ;; ANSWER SECTION:
    vetro-shipping.com. 604800 IN MX 10 sopot.vetro-shipping.com.

    ;; AUTHORITY SECTION:
    vetro-shipping.com. 604800 IN NS sopot.vetro-shipping.com.

    ;; ADDITIONAL SECTION:
    sopot.vetro-shipping.com. 604800 IN A 172.16.1.252

    ;; Query time: 1 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Mon Aug 3 12:59:51 2009
    ;; MSG SIZE rcvd: 88

    >dig vetro-shipping.com any

    ; <<>> DiG 9.4.2-P2 <<>> vetro-shipping.com any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47482
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1

    ;; QUESTION SECTION:
    ;vetro-shipping.com. IN ANY

    ;; ANSWER SECTION:
    vetro-shipping.com. 604800 IN SOA sopot.vetro-shipping.com. admin. localhost. 2009080301 604800 86400 2419200 604800
    vetro-shipping.com. 604800 IN NS sopot.vetro-shipping.com.
    vetro-shipping.com. 604800 IN MX 10 sopot.vetro-shipping.com.
    vetro-shipping.com. 604800 IN A 172.16.1.252

    ;; ADDITIONAL SECTION:
    sopot.vetro-shipping.com. 604800 IN A 172.16.1.252

    ;; Query time: 1 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Mon Aug 3 13:00:14 2009
    ;; MSG SIZE rcvd: 155

    >host `hostname`
    sopot.vetro-shipping.com has address 172.16.1.252

  4. #4
    albgdy is offline Member
    Join Date
    Aug 2009
    Location
    Gdynia, Poland
    Posts
    10
    Rep Power
    6

    Default

    I made the changes as

    You should not have your Public IP in the mynetworks setting if you're on a LAN, it should be the LAN subnet and the loopback IP. Check the documentation here: ZimbraMtaMyNetworks - Zimbra :: Wiki
    removing the public ip and now
    mynetworks = 127.0.0.0/8 172.16.1.0/24

    but still nothing strange in zimbra.log only as posted before

  5. #5
    albgdy is offline Member
    Join Date
    Aug 2009
    Location
    Gdynia, Poland
    Posts
    10
    Rep Power
    6

    Default Re: Mail relay i think

    Hi,
    I think only relay is missing but I am not sure how to solve now that when I send a mail internally postfix will check 127.0.0.1 and send it because the receiver is not able logically to see anything as you can see the error.

    Aug 4 12:26:13 sopot postfix/error[16780]: 7666C10B7C2: to=, relay=none, delay=0.16, delays=0.05/0.04/0/0.07, dsn=5.0.0, status=bounced (itradespo.es)

    Aug 4 12:26:13 sopot postfix/cleanup[16774]: 9D1D810B7C4: message-id=<20090804102613.9D1D810B7C4@sopot.vetro-shipping.com>

    Aug 4 12:26:13 sopot postfix/bounce[16781]: 7666C10B7C2: sender non-delivery notification: 9D1D810B7C4




    Code:
    Aug  4 12:26:09 sopot postfix/smtpd[16770]: connect from hry162.internetdsl.tpnet.pl[79.188.206.162]
    Aug  4 12:26:09 sopot postfix/smtpd[16770]: setting up TLS connection from hry162.internetdsl.tpnet.pl[79.188.206.162]
    Aug  4 12:26:09 sopot postfix/smtpd[16770]: TLS connection established from hry162.internetdsl.tpnet.pl[79.188.206.162]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
    Aug  4 12:26:09 sopot saslauthd[7635]: zmauth: authenticating against elected url 'https://sopot.vetro-shipping.com:7071/service/admin/soap/' ...
    Aug  4 12:26:09 sopot saslauthd[7635]: zmpost: url='https://sopot.vetro-shipping.com:7071/service/admin/soap/' returned buffer->data='0_e314c81c90456f460bcc3f2847034f028dcd3c16_69643d33363a30383736303030622d323266392d346364632d613232332d3536313230346235363636363b6578703d31333a313234393535343336393434333b747970653d363a7a696d6272613b172800000beach', hti->error=''
    Aug  4 12:26:09 sopot saslauthd[7635]: auth_zimbra: a.lete@vetro-trade.com auth OK
    Aug  4 12:26:09 sopot postfix/smtpd[16770]: 7B6D910B7AA: client=hry162.internetdsl.tpnet.pl[79.188.206.162], sasl_method=PLAIN, sasl_username=a.lete@vetro-trade.com
    Aug  4 12:26:09 sopot postfix/cleanup[16774]: 7B6D910B7AA: message-id=<4A780D00.3060906@vetro-trade.com>
    Aug  4 12:26:09 sopot postfix/qmgr[7624]: 7B6D910B7AA: from=, size=2372, nrcpt=1 (queue active)
    Aug  4 12:26:09 sopot postfix/smtpd[16770]: disconnect from hry162.internetdsl.tpnet.pl[79.188.206.162]
    Aug  4 12:26:09 sopot amavis[6406]: (06406-01) ESMTP::10024 /opt/zimbra/data/amavisd/tmp/amavis-20090804T122609-06406:  ->  SIZE=2372 BODY=8BITMIME Received: from sopot.vetro-shipping.com ([127.0.0.1]) by localhost (sopot.vetro-shipping.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP for ; Tue,  4 Aug 2009 12:26:09 +0200 (CEST)
    Aug  4 12:26:09 sopot amavis[6406]: (06406-01) Checking: bZxzUGVujfhw [79.188.206.162]  -> 
    Aug  4 12:26:09 sopot clamd[6446]: SelfCheck: Database status OK.
    Aug  4 12:26:13 sopot postfix/smtpd[16779]: connect from localhost.localdomain[127.0.0.1]
    Aug  4 12:26:13 sopot postfix/smtpd[16779]: 7666C10B7C2: client=localhost.localdomain[127.0.0.1]
    Aug  4 12:26:13 sopot postfix/cleanup[16774]: 7666C10B7C2: message-id=<4A780D00.3060906@vetro-trade.com>
    Aug  4 12:26:13 sopot postfix/qmgr[7624]: 7666C10B7C2: from=, size=3026, nrcpt=1 (queue active)
    Aug  4 12:26:13 sopot postfix/smtpd[16779]: disconnect from localhost.localdomain[127.0.0.1]
    Aug  4 12:26:13 sopot amavis[6406]: (06406-01) FWD via SMTP:  -> ,BODY=8BITMIME 250 2.6.0 Ok, id=06406-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 7666C10B7C2
    Aug  4 12:26:13 sopot amavis[6406]: (06406-01) Passed CLEAN, [79.188.206.162] [79.188.206.162]  -> , Message-ID: <4A780D00.3060906@vetro-trade.com>, mail_id: bZxzUGVujfhw, Hits: -1.576, size: 2370, queued_as: 7666C10B7C2, 3965 ms
    Aug  4 12:26:13 sopot postfix/smtp[16775]: 7B6D910B7AA: to=, relay=127.0.0.1[127.0.0.1]:10024, delay=4.1, delays=0.08/0.01/0.02/4, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 7666C10B7C2)
    Aug  4 12:26:13 sopot postfix/qmgr[7624]: 7B6D910B7AA: removed
    Aug  4 12:26:13 sopot amavis[6406]: (06406-01) extra modules loaded: /opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi/auto/Net/SSLeay/autosplit.ix, /opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi/auto/Net/SSLeay/randomize.al, IO/Socket/SSL.pm, Net/LDAP/Extension.pm, Net/SSLeay.pm
    Aug  4 12:26:13 sopot postfix/error[16780]: 7666C10B7C2: to=, relay=none, delay=0.16, delays=0.05/0.04/0/0.07, dsn=5.0.0, status=bounced (itradespo.es)
    Aug  4 12:26:13 sopot postfix/cleanup[16774]: 9D1D810B7C4: message-id=<20090804102613.9D1D810B7C4@sopot.vetro-shipping.com>
    Aug  4 12:26:13 sopot postfix/bounce[16781]: 7666C10B7C2: sender non-delivery notification: 9D1D810B7C4
    Aug  4 12:26:13 sopot postfix/qmgr[7624]: 9D1D810B7C4: from=<>, size=4935, nrcpt=1 (queue active)
    Aug  4 12:26:13 sopot postfix/qmgr[7624]: 7666C10B7C2: removed
    Aug  4 12:26:14 sopot postfix/lmtp[16782]: 9D1D810B7C4: to=, relay=sopot.vetro-shipping.com[172.16.1.252]:7025, delay=0.55, delays=0.07/0.01/0/0.46, dsn=2.1.5, status=sent (250 2.1.5 OK)
    Aug  4 12:26:14 sopot postfix/qmgr[7624]: 9D1D810B7C4: removed
    Aug  4 12:26:37 sopot zmmailboxdmgr[17088]: status requested
    Aug  4 12:26:37 sopot zmmailboxdmgr[17088]: status OK
    Aug  4 12:26:38 sopot zmmailboxdmgr[17148]: status requested
    Aug  4 12:26:38 sopot zmmailboxdmgr[17148]: status OK
    Aug  4 12:27:57 sopot zmmailboxdmgr[17489]: status requested
    Aug  4 12:27:57 sopot zmmailboxdmgr[17489]: status OK
    Aug  4 12:27:58 sopot zmmailboxdmgr[17549]: status requested
    Aug  4 12:27:58 sopot zmmailboxdmgr[17549]: status OK
    Aug  4 12:28:05 sopot zmmailboxdmgr[17737]: status requested
    Aug  4 12:28:05 sopot zmmailboxdmgr[17737]: status OK
    Aug  4 12:28:07 sopot zimbramon[17589]: 17589:info: 2009-08-04 12:28:01, STATUS: sopot.vetro-shipping.com: antispam: Running
    Aug  4 12:28:07 sopot zimbramon[17589]: 17589:info: 2009-08-04 12:28:01, STATUS: sopot.vetro-shipping.com: antivirus: Running
    Aug  4 12:28:07 sopot zimbramon[17589]: 17589:info: 2009-08-04 12:28:01, STATUS: sopot.vetro-shipping.com: ldap: Running
    Aug  4 12:28:07 sopot zimbramon[17589]: 17589:info: 2009-08-04 12:28:01, STATUS: sopot.vetro-shipping.com: logger: Running
    Aug  4 12:28:07 sopot zimbramon[17589]: 17589:info: 2009-08-04 12:28:01, STATUS: sopot.vetro-shipping.com: mailbox: Running
    Aug  4 12:28:07 sopot zimbramon[17589]: 17589:info: 2009-08-04 12:28:01, STATUS: sopot.vetro-shipping.com: mta: Running
    Aug  4 12:28:07 sopot zimbramon[17589]: 17589:info: 2009-08-04 12:28:01, STATUS: sopot.vetro-shipping.com: snmp: Running
    Aug  4 12:28:07 sopot zimbramon[17589]: 17589:info: 2009-08-04 12:28:01, STATUS: sopot.vetro-shipping.com: spell: Running
    Aug  4 12:28:07 sopot zimbramon[17589]: 17589:info: 2009-08-04 12:28:01, STATUS: sopot.vetro-shipping.com: stats: Running

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. zmmailboxdctl is not running !!!!!!
    By olibite in forum Administrators
    Replies: 14
    Last Post: 04-28-2011, 05:50 AM
  2. Problem in sending mails at Hosted Mail server
    By Unix Anand in forum Administrators
    Replies: 5
    Last Post: 03-26-2009, 06:51 AM
  3. Replies: 30
    Last Post: 01-13-2009, 08:00 AM
  4. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 07:46 PM
  5. fatal: Queue report unavailable - mail system is down
    By zzzzsg in forum Administrators
    Replies: 16
    Last Post: 08-24-2006, 02:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •