Results 1 to 2 of 2

Thread: Flow of mails form command line

  1. #1
    Join Date
    Dec 2007
    Posts
    445
    Rep Power
    7

    Default Flow of mails form command line

    Hi,


    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
    line.

    Regards,
    chandu

  2. #2
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    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?
    /opt/zimbra/postfix/spool/
    lookup the postqueue and postsuper commands - for instance:
    Code:
    su - zimbra
    postqueue -p
    -The admin console has a gui to this.

    ----
    EDIT:
    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:
    Code:
    dig mx domain.com
    dig any domain.com
    You can also use Pingability.com
    (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?
    Code:
    host `hostname`  <-- backticks not single quotes and use this command as is
    If behind a NAT you may need:
    Split DNS - ZimbraWiki
    /blog/archives/2007/06/making_zimbra_bind_work_together_1.html
    Last edited by mmorse; 12-27-2007 at 01:44 AM.

Similar Threads

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