Results 1 to 7 of 7

Thread: mta stopped postfix is not running

  1. #1
    saurabh.pillai is offline Junior Member
    Join Date
    Jul 2012
    Posts
    6
    Rep Power
    2

    Default mta stopped postfix is not running

    (Hi, I am new here. Sorry if I have posted in wrong forum.)

    Here goes my problem,

    While sending an email I get this error,

    Code:
    method:	[unknown]
    msg:	try again: Unable to connect to the MTA
    code:	mail.TRY_AGAIN
    detail:	soap:Receiver
    trace:	com.zimbra.cs.mailbox.MailServiceException: try again: Unable to connect to the MTA 
    ExceptionId:btpool0-3://mail.mycompany.com/service/soap/SendMsgRequest:1342115477144:b390d41bcc28c9b5 Code:mail.TRY_AGAIN at 
    com.zimbra.cs.mailbox.MailServiceException.TRY_AGAIN(MailServiceException.java:479) at 
    com.zimbra.cs.mailbox.MailSender.sendMimeMessage(MailSender.java:628) at 
    ... more stacktrace ...
    Code:
    [zimbra@mail~]$ zmcontrol status
    Host mail.mycompany.com
            antispam                Running
            antivirus               Running
            imapproxy               Running
            ldap                    Running
            logger                  Running
            mailbox                 Running
            mta                     Stopped
                    postfix is not running
            snmp                    Running
            spell                   Running
            stats                   Running
            zmconfigd               Running
    Code:
    [zimbra@mail ~]$ tail -f /var/log/zimbra.log
    Jul 12 13:44:34 mail zmmailboxdmgr[9370]: status OK
    Jul 12 17:45:00 mail postfix/postqueue[9565]: fatal: Queue report unavailable - mail system is down
    Jul 12 17:45:30 mail postfix/postqueue[9586]: fatal: Queue report unavailable - mail system is down
    Jul 12 13:45:37 mail zmmailboxdmgr[9677]: status requested
    Jul 12 13:45:37 mail zmmailboxdmgr[9677]: status OK
    Zimbra version : Zimbra 7.1.1_GA_3196 (build 20110527011124)

    Thank you.

  2. #2
    Yves Pires is offline Active Member
    Join Date
    Jun 2011
    Posts
    48
    Rep Power
    3

    Default

    try:

    As ROOT user

    /opt/zimbra/libexec/zmfixperms --verbose --extended


    as ZIMBRA user
    su - zimbra
    zmcontrol stop
    zmcontrol start

    if this dont work then:

    chown root:root /opt/zimbra/postfix-2.7.4.2z/conf/ -R
    chown postfixostfix /opt/zimbra/data/postfix/data/. -R


    [IMPORTANT] Read before the update to ZCS 7.1.1 on Centos or RHL5

  3. #3
    saurabh.pillai is offline Junior Member
    Join Date
    Jul 2012
    Posts
    6
    Rep Power
    2

    Default

    I have performed all above steps but I still get the same error.

    Code:
    method:	[unknown]
    msg:	try again: Unable to connect to the MTA
    code:	mail.TRY_AGAIN
    detail:	soap:Receiver
    trace:	com.zimbra.cs.mailbox.MailServiceException: try again: Unable to connect to the MTA 
    ExceptionId:btpool0-7://mail.mycompany.com/service/soap/SendMsgRequest:1342128643811:e2cce8919c6b95df Code:mail.TRY_AGAIN at
     com.zimbra.cs.mailbox.MailServiceException.TRY_AGAIN(MailServiceException.java:479) at 
    com.zimbra.cs.mailbox.MailSender.sendMimeMessage(MailSender.java:628) at 
    ... more stacktrace...

  4. #4
    saurabh.pillai is offline Junior Member
    Join Date
    Jul 2012
    Posts
    6
    Rep Power
    2

    Default

    OK guys I have resolved one issue, now MTA is running. The problem was sendmail service of OS was also listening to 25 and I stopped it.

    But still I am not done yet, now when I send an email from web interface, it shows me message sent. But the recipient does not receive the email. I confirmed this by sending email to myself aswell to my gmail address.

    Now, I went to documentation, Incoming Mail Problems - Zimbra :: Wiki,

    It suggests to run this command,

    Code:
    host -t mx domain
    I found the domain using, zmhostname command.
    When I run host -t mx mail.mycompany.com it gives me,

    Code:
    Host mail.mycompany.com not found: 5(REFUSED)
    Can somebody tell me what's wrong? Thank you

  5. #5
    Yves Pires is offline Active Member
    Join Date
    Jun 2011
    Posts
    48
    Rep Power
    3

    Default

    Quote Originally Posted by saurabh.pillai View Post
    I have performed all above steps but I still get the same error.

    Code:
    method:	[unknown]
    msg:	try again: Unable to connect to the MTA
    code:	mail.TRY_AGAIN
    detail:	soap:Receiver
    trace:	com.zimbra.cs.mailbox.MailServiceException: try again: Unable to connect to the MTA 
    ExceptionId:btpool0-7://mail.mycompany.com/service/soap/SendMsgRequest:1342128643811:e2cce8919c6b95df Code:mail.TRY_AGAIN at
     com.zimbra.cs.mailbox.MailServiceException.TRY_AGAIN(MailServiceException.java:479) at 
    com.zimbra.cs.mailbox.MailSender.sendMimeMessage(MailSender.java:628) at 
    ... more stacktrace...
    su zimbra

    postfix check

    post output here

    also

    as ROOT

    /opt/zimbra/bin/zmcertmgr viewdeployedcrt

  6. #6
    saurabh.pillai is offline Junior Member
    Join Date
    Jul 2012
    Posts
    6
    Rep Power
    2

    Default

    Yuves,

    Thank you for your reply. Actually, I already replied in this thread that the problem was CentOS' sendmail service was listening to port 25 and after disabling that service I got passed that stage. (But, after posting that message I got the message that your post is sent for admin approval. so it does not appear here).

    Anyways, now when I do zmcontrol status all services are running fine. I go to zimbra web interface, I send email and I get message, "message sent". but recipient does not receive it. I confirmed that by sending email to myself and to my gmail address.

    I went to Zimbra wiki for incoming mail problem. I ran following commands, (though I do not fully understand them)

    Code:
    [zimbra@mail root]$ zmhostname
    mail.mycompany.com
    [zimbra@mail root]$ host -t mx mail.mymycompany.com
    Host mail.mymycompany.com not found: 5(REFUSED)
    [zimbra@mail root]$ zmlocalconfig -e postfix_lmtp_host_lookup=native
    [zimbra@mail root]$ zmmtactl restart
    Rewriting configuration files...done.
    postfix/postfix-script: refreshing the Postfix mail system
    Stopping saslauthd...done.
    Starting saslauthd...done.
    This is what zimbra.log gives just after sending an email.

    Code:
    [zimbra@mail root]$ tail -f /var/log/zimbra.log
    Jul 12 22:20:26 mail postfix/cleanup[4529]: C6F28EB8867: message-id=<10edf0e7-538b-462f-a8b7-25905da5032b@mail.mycompany.com>
    Jul 12 22:20:26 mail postfix/error[6005]: A4AD0EB8866: to=<archive@mycompany.com>, relay=none, delay=0.28, delays=0.13/0/0/0.14, dsn=4
    .4.3, status=deferred (delivery temporarily suspended: Host or domain name not found. Name service error for name=mail.mycompany.com type=A: Host not 
    found, try again)
    Jul 12 22:20:26 mail postfix/smtpd[6960]: disconnect from localhost.localdomain[127.0.0.1]
    Jul 12 22:20:26 mail postfix/qmgr[4531]: C6F28EB8867: from=<vp@mycompany.com>, size=1040, nrcpt=1 (queue active)
    Jul 12 22:20:26 mail amavis[19765]: (19765-08) FWD via SMTP: <vp@mycompany.com> -> <abc@gmail.com>,BODY=7BIT 250 2.0.0 Ok, id=19765-08, from 
    MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as C6F28EB8867
    Jul 12 22:20:26 mail amavis[19765]: (19765-08) Passed CLEAN, MYNETS LOCAL [208.197.50.82] [208.197.50.82] <vp@mycompany.com> -> 
    <archive@mycompany.com>,<abc@gmail.com>, Message-ID: <10edf0e7-538b-462f-a8b7-25905da5032b@mail.mycompany.com>, mail_id: Rc7cZv+nd7Ja, Hits:
     2.377, size: 610, queued_as: A4AD0EB8866/C6F28EB8867, 506 ms
    Jul 12 22:20:26 mail postfix/smtp[5982]: 5AD6EEB885A: to=<archive@mycompany.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.59, delays=0.08/0
    /0/0.51, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=19765-08, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as A4AD0EB8866)
    Jul 12 22:20:26 mail postfix/smtp[5982]: 5AD6EEB885A: to=<abc@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.59, delays=0.08/0/0/0.51, 
    dsn=2.0.0, status=sent (250 2.0.0 Ok, id=19765-08, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as A4AD0EB8866)
    Jul 12 22:20:26 mail postfix/qmgr[4531]: 5AD6EEB885A: removed
    Jul 12 22:20:27 mail postfix/smtp[6961]: C6F28EB8867: to=<abc@gmail.com>, relay=none, delay=0.17, delays=0.14/0.02/0/0, dsn=4.4.3, status=deferred 
    (Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again)
    I think it has something to do with domain name.

    Thank you again.

  7. #7
    shanxt is offline Active Member
    Join Date
    Jul 2012
    Location
    Bangalore, India
    Posts
    34
    Rep Power
    2

    Default

    You're right, it is a DNS issue. First, your server 'mail.mycompany.com' is not pointing to an A record, as shown by this error:
    Quote Originally Posted by saurabh.pillai View Post
    Code:
    Host or domain name not found. Name service error for name=mail.mycompany.com type=A: Host not found, try again)
    You also have to setup the MX for mycompany.com to point to mail.mycompany.com.

    The following line is also leading me to believe that the DNS on your server is not setup. Check the entries in '/etc/resolv.conf'
    Quote Originally Posted by saurabh.pillai View Post
    Code:
    (Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again)

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. mta Stopped postfix is not running
    By rausch in forum Administrators
    Replies: 7
    Last Post: 10-04-2013, 09:32 AM
  2. mta Stopped postfix is not running
    By rausch in forum Installation
    Replies: 0
    Last Post: 04-14-2011, 06:22 AM
  3. mta stopped: Postfix is not running
    By infajb in forum Administrators
    Replies: 6
    Last Post: 12-04-2009, 05:30 AM
  4. [SOLVED] Postfix not running /MTA stopped ??
    By farrukhndm in forum Administrators
    Replies: 2
    Last Post: 08-18-2009, 04:02 AM

Tags for this Thread

Posting Permissions

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