The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Incoming email problem

Discussion in 'E-mail Discussions' started by lamp, May 19, 2005.

  1. lamp

    lamp Well-Known Member

    Joined:
    Dec 22, 2003
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    16
    Hello,

    I have a very strange problem happening on my server.

    I am able to send an email out to recipient 'abc' (and he receives it properly)... but when 'abc' replies to the message, I don't actually receive it.

    Here is what I did to figure out that there was a problem: I created a netscape.net webmail account and I've been sending emails back and forth from that account to the account on my server. Netscape always receives my mail BUT when I check my inbox (on my server), I only get a few messages back! Instinctively, I checked my Netscape account to see if there were any error messages bounced back... but there were none. I even checked the exim & mail logs on my server but there was no indication of anything going wrong.

    I am running FC2 with MailScanner (chirpy's script).

    Is there any way of tracing what the heck is happening???
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    When you say you checked the mail logs, did you actually see the email coming into the server and being processed? If not, you should run:

    tail -f /var/log/exim_mainlog

    Then send the email and watch what happens in the exim log and post it here.
     
  3. lamp

    lamp Well-Known Member

    Joined:
    Dec 22, 2003
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    16
    That's just it. I tailed -f /var/log/exim_mainlog and waited to see the usual <= & => messages but nothing came... but on Netscape's end, everything seems to have been delivered fine...

    Any thoughts?
     
  4. lamp

    lamp Well-Known Member

    Joined:
    Dec 22, 2003
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    16
    To be more precise here is exactly what I did:

    1. tail -f /var/log/exim_mainlog
    2. Opened the netscape webmail and sent an email to name@mydomain.com

    Waited to see if anything would happen in tail... but nothing.

    3. Checked if Netscape received any bounces or failure notices... but there was nothing.
    4. Checked the sent-mail folder in Netscape and confirmed that the email was sent to the right address

    Waited to see if anything would happen in tail... but nothing.

    I repeated the steps above 6 times... each email with a different subject line ("test 1...6") and I got 4 of them. What happened to the other 2... I don't have a clue and there is absolutely nothing in the logs... at a loss here.

    Could it be that somehow the messages are silently being dropped?

    When I do top & ctrl-M I don't see any high server load or any crazy number of processes sucking resources. I do see 4 MailScanners at the top of the list... but that's normal.
     
    #4 lamp, May 19, 2005
    Last edited: May 19, 2005
  5. liquidcherry

    liquidcherry Well-Known Member

    Joined:
    Jan 20, 2004
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    6
    same here!!!!

    hi ,

    i have a similar problem with my server, one account on it cannot receive emails (since 2 days) but can still send!
    Even my Provider couldn't help me so far :-(
    I havent any problem with my other domains, send and receive works fine.
    No changes where made on the server (except the daily ucpc cron what is running nightly)
    Chirpy gave me some valued tips, but nothing helped so far....

    Any idea folks?

    tia

    Frank
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    If you're seeing nothing at all in the exim_mainlog for an SMTP transaction, then the mail isn't getting anywhere near the server which would suggest a DNS problem.
     
  7. lamp

    lamp Well-Known Member

    Joined:
    Dec 22, 2003
    Messages:
    111
    Likes Received:
    0
    Trophy Points:
    16
    A DNS problem? Damn. This is going to be difficult to debug since it is happening sporadically.
     
  8. liquidcherry

    liquidcherry Well-Known Member

    Joined:
    Jan 20, 2004
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    6
    my problem is solved!

    hey guys,

    just want to let you know that my problem with receiving mails, is resolved.
    I disabled Spamassasin and the prob was gone
    But why this happened all of the sudden??
    I have nooooo idea.....


    cheers

    Frank
     
  9. chicano

    chicano Registered

    Joined:
    Jun 16, 2005
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    what to do

    [root@storm:/var/log] tail -f /var/log/exim_mainlog
    tail: /var/log/exim_mainlog: No such file or directory
     
  10. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
  11. chicano

    chicano Registered

    Joined:
    Jun 16, 2005
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    exim started ok
    [root@storm:/var/log] tail -f /var/log/exim_mainlog
    tail: /var/log/exim_mainlog: No such file or directory
    [root@storm:/var/log] tail -f /var/log/exim_mainlog
    tail: /var/log/exim_mainlog: No such file or directory
    [root@storm:/var/log]
     
  12. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    What OS are you running?
     
  13. chicano

    chicano Registered

    Joined:
    Jun 16, 2005
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    FreeBSD 4.* STABLE
     
  14. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Then your log files for exim are in /var/log/exim/mainlog :rolleyes: You only had to have an actual look in the /var/log directory tree to find them.
     
  15. chicano

    chicano Registered

    Joined:
    Jun 16, 2005
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    [root@storm:/var/log] tail -f /var/log/exim/mainlog
    2005-06-18 12:57:42 1DjUpI-0007Zu-1l Message is frozen
    2005-06-18 12:57:42 End queue run: pid=30968
    2005-06-18 12:59:22 1DjVQQ-00084U-6J <= admin@yourdomain.com U=admin P=local S=713 id=2291.62.215.85.128.1119070762.squirrel@goldenshells.com
    2005-06-18 12:59:22 1DjVQQ-00084U-6J lowest numbered MX record points to local host: goldenshells.com
    2005-06-18 12:59:22 1DjVQQ-00084U-6J == admin@goldenshells.com R=lookuphost defer (-1): lowest numbered MX record points to local host
    2005-06-18 12:59:22 1DjVQQ-00084U-6J Frozen
    2005-06-18 13:03:38 1DjVUY-00086E-Bo <= admin@yourdomain.com U=admin P=local S=721 id=2321.62.215.85.128.1119071018.squirrel@goldenshells.com
    2005-06-18 13:03:38 1DjVUY-00086E-Bo lowest numbered MX record points to local host: goldenshells.com
    2005-06-18 13:03:38 1DjVUY-00086E-Bo == admin@goldenshells.com R=lookuphost defer (-1): lowest numbered MX record points to local host
    2005-06-18 13:03:38 1DjVUY-00086E-Bo Frozen


    please reply me ASAP
     
    #15 chicano, Jun 18, 2005
    Last edited: Jun 18, 2005
  16. ccccanada

    ccccanada Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    279
    Likes Received:
    0
    Trophy Points:
    16
    I just wanted to mention something about spamassassin for liquidcherry:

    If you have the filtering system turned on that deletes all mail that has the spamheader marked as YES then you could loose all your email because of something that happens in spamassassin.

    If you find that spamassassin all of a sudden marks all email as spam it has to do with the two following files

    bayes_toks
    bayes_seen

    which reside in your domain root/.spamassassin folder

    you will see that at least one of the files has grown in size to be more than 500 KB.

    The way around the problem is to remove the two files and in the user_prefs file in the same directory add the following somewhere.

    # Enable Bayes auto-learning
    use_bayes 0
    autolearn 0

    This will stop spamassassin from ever deleting all your mail again.

    Hope this helps.
     
Loading...

Share This Page