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.

Exim help

Discussion in 'cPanel Developers' started by NeMSeR, Jul 1, 2005.

  1. NeMSeR

    NeMSeR Registered

    Joined:
    Jul 1, 2005
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I can send e-mails fine, but when i try to receive them, this happens.

    (NOTE: This message was taken from a user trying to send a message to me)

    This message was created automatically by mail delivery software.

    A message that you sent could not be delivered to one or more of its
    recipients. This is a permanent error. The following address(es) failed:

    support@unrealhosting.net
    SMTP error from remote mailer after RCPT TO:<support@unrealhosting.net>:
    host smtp.secureserver.net [64.202.166.12]: 553 sorry, relaying denied from your location [65.75.147.140] (#5.7.1)
     
  2. __arjun__

    __arjun__ Guest

    It seems you sent a mail to support@unrealhosting.net and it was immediately bounced
    by the server (smtp.secureserver.net)

    Code:
     SMTP error from remote mailer after RCPT TO:<support@unrealhosting.net>:
    host smtp.secureserver.net [64.202.166.12]: 553 sorry, relaying denied from your location [65.75.147.140] (#5.7.1)
    
    Most probably you will be lacking unrealhosting.net entry in /etc/localdomains.

    Check it out ;)
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Indeed. You also need to have a look in the exim mainlog and check what the actual error is that you're getting when you send the email.
     
  4. NeMSeR

    NeMSeR Registered

    Joined:
    Jul 1, 2005
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    where are the exim logs located, i'm a bit new to all this.
     
  5. bijo

    bijo Well-Known Member

    Joined:
    Aug 21, 2004
    Messages:
    475
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India

    Hello,

    You didn't specify your OS. If it is a redhat machine you can check the exim log using the following command
    ----------------------------------------
    tail -f /var/log/exim_mainlog
    tail -f /var/log/exim_rejectlog
    ----------------------------------------

    If your OS is FreeBsd you can check the log at this directory
    ----------------------------
    /var/log/exim
    ----------------------------

    Let me know the status ;)
     
  6. NeMSeR

    NeMSeR Registered

    Joined:
    Jul 1, 2005
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    2005-07-02 10:23:40 End queue run: pid=28583
    2005-07-02 11:17:02 Start queue run: pid=29473
    2005-07-02 11:17:07 1DoGnn-0004fd-Rf == nobody@rise56.unrealhosting.net R=localuser T=local_delivery defer (13): Permission denied: failed to create directories for //mail: Permission denied
    2005-07-02 11:17:07 1DoGmp-0000dK-1O == nobody@rise56.unrealhosting.net R=localuser T=local_delivery defer (-52): Retry time not yet reached
    2005-07-02 11:17:07 1DoGs1-0005aK-0A == nobody@rise56.unrealhosting.net R=localuser T=local_delivery defer (-52): Retry time not yet reached
    2005-07-02 11:17:08 1DoGsd-0007x4-46 == nobody@rise56.unrealhosting.net R=localuser T=local_delivery defer (-52): Retry time not yet reached
    2005-07-02 11:17:08 End queue run: pid=29473
    2005-07-02 11:31:05 1DofHS-00065q-IL <= root@c3p0.unrealhosting.net U=root P=local S=773
    2005-07-02 11:31:07 1DofHS-00065q-IL => fluff158@hotmail.com R=lookuphost T=remote_smtp H=mx2.hotmail.com [65.54.252.230]
    2005-07-02 11:31:07 1DofHS-00065q-IL Completed

    is the first one....

    the second one...

    2005-06-30 20:41:46 H=(208.53.170.203) [221.140.55.40] F=<iazp2216l40y@daum.net> 53.170.203) [221.140.55.40] is currently not permitted to relay through this ser /imap server in the last 30 minutes or do not have SMTP Authentication turned on
    2005-07-01 19:39:37 H=(208.53.170.203) [219.134.31.219] F=<shfdshdfshfds@ms18.hi m.tw>: (208.53.170.203) [219.134.31.219] is currently not permitted to relay thr into the pop/imap server in the last 30 minutes or do not have SMTP Authenticat
     
  7. aby

    aby Well-Known Member

    Joined:
    May 31, 2005
    Messages:
    638
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    It is always worth trying the script

    /scripts/mailperm

    Also make sure the domain does have an entry in /etc/localdomains

    ----
     
  8. david510

    david510 Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    473
    Likes Received:
    0
    Trophy Points:
    16
    Hello,

    Please do the following in the server. It will work fine.

    cd /
    mkdir mail
    chown nobody.mail mail
    cd mail
    touch inbox
    chown nobody.mail inbox
    chmod 660 inbox
     
  9. sandeepb

    sandeepb Member

    Joined:
    Nov 16, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Thanks David, That works. ha ha :)
     
Loading...

Share This Page