Results 1 to 2 of 2

Thread: Flow of mails form command line

  1. #1
    Join Date
    Dec 2007
    Rep Power

    Default Flow of mails form command line


    How the mails flow ( from mail comming inside my server from outside to mail going outside world from my server) I had setup zcs email solution in one single linux rhel4 server. How can I check the flow of mails form command


  2. #2
    Join Date
    May 2006
    Rep Power


    Are you having trouble receiving mail? or sending mail?

    Or do you just want to watch logs?
    tail -f /var/log/zimbra.log
    tail -f /opt/zimbra/log/mailbox.log

    Watch queues?
    lookup the postqueue and postsuper commands - for instance:
    su - zimbra
    postqueue -p
    -The admin console has a gui to this.

    Guessing maybe incoming trouble? (your 2nd post & that's the usual trouble people have after just setting up)
    Incoming Mail Problems - Zimbra :: Wiki
    Some key points:
    dig mx
    dig any
    You can also use
    (If you don't feel comfortable posting your domain name, you can PM any employees/mods who respond to this post if you would like us to check.)

    Can you telnet to port 25 on that box? (from the outside - not any boxes on your lan)
    If not: Firewall or even your ISP/hosting provider blocking port 25?

    Do a tail -f /var/log/zimbra.log
    -Do you see the connection attempts?
    -Any errors there?
    -Check the differed queue

    If that appears ok, then tail -f /opt/zimbra/logs/mailbox.log do you see the mail showing up there?
    -If not, the next question would be in regards to your dns setup...does this box have both a private & public ip?
    host `hostname`  <-- backticks not single quotes and use this command as is
    If behind a NAT you may need:
    Split DNS - ZimbraWiki
    Last edited by mmorse; 12-27-2007 at 12:44 AM.

Similar Threads

  1. Migration of Qmail mails to zimbara
    By akhader in forum Migration
    Replies: 5
    Last Post: 05-27-2010, 03:08 AM
  2. Replies: 5
    Last Post: 06-18-2008, 01:50 AM
  3. "NO APPEND failed" message when migrating mails
    By in forum Administrators
    Replies: 8
    Last Post: 05-18-2007, 06:25 AM
  4. email -->php form. is this possible?
    By c4l3b in forum Zimlets
    Replies: 3
    Last Post: 10-13-2006, 12:24 PM
  5. problem injecting cyrus imapd mails with zmlmtpinject
    By marc3k in forum Administrators
    Replies: 12
    Last Post: 05-24-2006, 02:11 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