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.

451 Temporary local problem

Discussion in 'General Discussion' started by Sopos, Sep 2, 2003.

  1. Sopos

    Sopos Well-Known Member

    Joined:
    Nov 16, 2001
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    Good morning,
    from some day, on one of my server, I see that the server does not accept mail from other server if they are generated from apache (so, even webmail, help ticket etc.).
    If I go in the manage mail queue and try to delivery the mail I see this :

    [...]
    SMTP>> MAIL FROM: SIZE=2277
    SMTP>> RCPT TO:
    SMTP>> DATA
    SMTP<< 250 OK
    SMTP<< 250 Accepted
    SMTP<< 354 Enter message, ending with "." on a line by itself
    SMTP>> writing message and terminating "."
    [delay even 1 minutes]
    SMTP<< 451 Temporary local problem - please try later
    SMTP>> QUIT
    [...]

    I have looked for some solutions but I have not find anything.

    The server is a RedHat 7.3 WHM 7.4.2 Cpanel 7.4.2-R158
    I have updated the cpanel this morning but the problem continue.

    Any idea ?

    Thank you

    cPanel.net Support Ticket Number:
     
  2. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    Is your maching running with a high load? Have you tried reinstalling Exim? (/scripts/exim4)

    cPanel.net Support Ticket Number:
     
  3. Sopos

    Sopos Well-Known Member

    Joined:
    Nov 16, 2001
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    I have a 0.07 of load in this moment.
    Now I have tried to run /scripts/exim4 and it has reinstalled exim.
    Traying the delivery :

    [cutted]
    250-SIZE 52428800
    250-PIPELINING
    250-AUTH PLAIN LOGIN
    250 HELP
    SMTP>> MAIL FROM: SIZE=2530
    SMTP>> RCPT TO:
    SMTP>> DATA
    SMTP<< 250 OK
    [delay 30 seconds]
    SMTP<< 451 Temporary local problem - please try later
    SMTP<< 503 valid RCPT command must precede DATA
    SMTP>> QUIT


    The header of the mail is this :

    166P Received: from localhost ([127.0.0.1])
    by hostname.mydomain.com with esmtp (Exim 4.20)
    id 19tjnN-0006ky-CB
    for destination@hisdomain.com; Mon, 01 Sep 2003 10:12:17 +0200
    018T To: destination@hisdomain.com
    025F From: ticket@mydomain.com
    058 Subject: {PD-3122} RE: E-mail
    037 Date: Mon, 1 Sep 2003 10:12:17 +0200
    143 X-Mailer: Perl script "staff.cgi"
    using Mail::Sender 0.8.04 by Jenda Krynicky, Czechlands
    running on localhost (127.0.0.1)
    under account ""
    056I Message-ID: <20030901_081217_097557.ticket@mydomain.com>

    I have renamed the domain on this header but I think that it is clearly anyway.

    Thank you

    cPanel.net Support Ticket Number:
     
  4. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    After thinking about this a little more, this could be a DNS issue. Is your box having issues receiving mail from anyone else? What nameservers are you using in your resolv.conf to do lookups? Something reliable?

    cPanel.net Support Ticket Number:
     
  5. Sopos

    Sopos Well-Known Member

    Joined:
    Nov 16, 2001
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    I don't understand what do you mean :(
    I receive mail from outside yes. Only some mail stay in the queue and are not delivered.

    uhm..
    2 server (the sender and the receiver).
    The sender server has 2 ip (with 2 nameserver) and it is setup in the resolver.conf with
    127.0.0.1
    first ip (on the local server)
    second ip (on the local server).

    It is the same on the receiver server (with 2 different ip off course).

    I hope that what I said is clear :(

    Thank you again

    cPanel.net Support Ticket Number:
     
  6. I-Web

    I-Web Well-Known Member

    Joined:
    Jul 7, 2003
    Messages:
    138
    Likes Received:
    0
    Trophy Points:
    16
    I am having this problem too.... but only when the e-mail is sent using apache (web based)

    If i send an e-mail from Outlook, its not a problem, if i send an e-mail through my Support Ticket system, (to one of my clients on my cPanel server) it bounces back with the error

    451 Temporary local problem - please try later


    Please can someone tell me how to cure this???

    Ive tried upgrading cPanel to edge release, i have updated exim using /scripts/exim4 i have made sure my resolv.conf is correct, i have restarted bind....

    But it still has the error.. :(

    cPanel.net Support Ticket Number:
     
  7. Sopos

    Sopos Well-Known Member

    Joined:
    Nov 16, 2001
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    I have had the same problem in the past.

    You should check the dns of the site that send the email and check even if, for some reason, the same dns is present on the destination server (i have had the problem when I sent an email from my server to my server) and it is not correct.

    I hope this help
    Sopos

    cPanel.net Support Ticket Number:
     
  8. silvernetuk

    silvernetuk Well-Known Member

    Joined:
    Sep 2, 2002
    Messages:
    311
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    United Kingdom
    I am having a similar problem, to fix this I have to restart Bind and it start working again, where do I start looking and how do I fix it ?

    Regards,
    Garry

    cPanel.net Support Ticket Number:
     
  9. mahinder

    mahinder Well-Known Member

    Joined:
    Jun 12, 2003
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    matrix
    same problemo here, looking for solution. the resolv.conf configuration looks perfect and i also reinstalled exim4 for extra satisifcation.

    dig MX @localhost domain.com

    gives proper name servers etc., hence it doesn't look bind problem to me.

    also, this problem started about 2 hours back only before that everything was working fine.

    still looking for solution.

    cPanel.net Support Ticket Number:
     
  10. Saeed

    Saeed Active Member

    Joined:
    Feb 20, 2003
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Same problems here, I don't think we can receive any mails either :(

    cPanel.net Support Ticket Number:
     
  11. Saeed

    Saeed Active Member

    Joined:
    Feb 20, 2003
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Check you /etc/localdomains
    Ours seem to have only ONE domain in it!!!!!!!

    cPanel.net Support Ticket Number:
     
  12. Saeed

    Saeed Active Member

    Joined:
    Feb 20, 2003
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Thanks to David MacLaren for helping me find a fix. You can run /scripts/mailperm and it will add all domains to the /etc/localdomains

    cPanel.net Support Ticket Number:
     
  13. B12Org

    B12Org Well-Known Member

    Joined:
    Jul 15, 2003
    Messages:
    692
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Seattle Washington
    cPanel Access Level:
    Root Administrator
    I was having similar problems lately, and was getting non resolveing errors with hotmail and yahoo and such. I just reinstalled exim and it worked fine. I heard a rumor that it had something to do with the tweak settings, and how many times you are allowed to check your email per hour, and how much you can send out per hour, and if you go over that then something happens, but I didnt look into that very much.

    cPanel.net Support Ticket Number:
     
  14. Saeed

    Saeed Active Member

    Joined:
    Feb 20, 2003
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    This is a different problem, the /etc/localdomains file gets wiped out for some reason every now and then.

    cPanel.net Support Ticket Number:
     
  15. denisdekat09

    denisdekat09 Well-Known Member

    Joined:
    Mar 2, 2002
    Messages:
    265
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    San Francisco
    I noticed that this happened to me right after I tried to create and account that already existed (let's refer to it as domain_one.com).

    Here is what I found when I looked at the localdomains files in /etc after fixing the problem:

    root@secure00 [~]# ls -l /etc/localdomains*
    -rw-r--r-- 1 root root 18772 Oct 9 10:29 /etc/localdomains
    -rw-r--r-- 1 root wheel 11 Oct 8 16:58 /etc/localdomains.tmp

    I see this: in the.tmp file:

    root@secure00 [~]# cat /etc/localdomains.tmp
    domain_one.com

    Just one domain, the one I tried to ad that already existed. I am wondering if the cpanel logic follows this order (excluding many other things it may do of course):

    1) Account creation initiated
    2) file /etc/localdomain is moved to .tmp
    3) process is stopped because domain is already in system.
    4) /etc/localdomains.tmp is not moved back.

    HTH :)

    cPanel.net Support Ticket Number:
     
  16. ymfm

    ymfm Active Member

    Joined:
    Feb 21, 2003
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Brazil
    /scripts/mailperm

    Hi.


    I was having this problem in one of my servers.

    I used /scripts/mailperm and the problem disapeared.

    Does anyone know if I will have to use /scripts/mailperm every time I add a new account?

    Thanks

    cPanel.net Support Ticket Number:
     
  17. mahinder

    mahinder Well-Known Member

    Joined:
    Jun 12, 2003
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    matrix
    Re: /scripts/mailperm

    i don't think so, it must be an fancy upgrade problemo of cpanel ;) :D :p

    BTW, my all servers had this problem and we have to run this script manually to get ride of this problem.

    gracias.

    cPanel.net Support Ticket Number:
     
  18. myusername

    myusername Well-Known Member
    PartnerNOC

    Joined:
    Mar 6, 2003
    Messages:
    691
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    chown -R us.*yourbase*
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    /scripts/mailperm is a completely different issue. That had to do with domains dissapearing from the /etc/localdomains files.

    Actually it was suggested by Nick to run /scripts/updatenow, then /scripts/mailperm

    Now the issue there was a 550 error, here it is 451 so lets not hijack this thread.

    Here is the other issue for those looking for it:

    http://forums.cpanel.net/showthread.php?s=&threadid=15661&highlight=/etc/localdomains


    I have a server sitting there that cannot send mail to another server of mine.

    Ive run the two scripts above on both servers, also restarted Bind as suggested on both machines and they still cannot send any emails to our support address.

    SMTP error from remote mailer after RCPT TO:<support@whatever.com>:
    host whatever.com [66.246.42.xxx]: 451 Temporary local problem - please try later: retry timeout exceeded

    cPanel.net Support Ticket Number: 26529
     
    #18 myusername, Oct 15, 2003
    Last edited: Oct 15, 2003
  19. TCSLEA

    TCSLEA Active Member

    Joined:
    Oct 29, 2003
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Austin, T E X A S
    /scripts/mailperm corrupting /etc/localdomains

    I started to suddenly experience the 451 error, and read about a small variety of solutions that may or may not have worked for others. Here is what I noticed:

    Running /scripts/exim4 did not have any effect, and in fact, didn't appear to do anything except echo one line to my screen.

    Running /scripts/updatenow did not have any effect that I noticed.

    Runnning /scripts/mailperm actually seems to be what CAUSES the problem. I have only 4 domains on my server, and at one point (as far as I know) all were working okay. When this odd problem surfaced, and after reading that mailperm script helped some folks, I gave it a try. Nothing changed.

    I looked at my /etc/localdomains and noticed that only 2 were listed... not sure where the other 2 went! After adding the other two manually to /etc/localdomains, and restarting bind (I assume you have to), everything started working just fine again.

    I did some experimenting with the /etc/localdomains file, and the /scripts/mailperm script, and of all things - mailperm is what's actually deleting entries from the localdomains file!

    Again, manually editing the /etc/localdomains file to make sure all domains were present, then restarting bind, solved the problem. I only have 4 domains, and two were missing. I'd hate to be managing 100+ domains and have half of them vanish!

    Out of curiosity, does anyone know why the mailperm script edits the localdomains file?

    Where does the script get it's list of domains from that it's syncing with the file? (In other words, how does the script determine, albeit incorrectly, what domains need to be in the localhost file?)

    Also, does anyone now if the mailperm script ever runs automatically, or does it need to be run manually from the command prompt?
     
    #19 TCSLEA, Nov 13, 2003
    Last edited: Nov 13, 2003
  20. Lycanthrope

    Lycanthrope Registered

    Joined:
    Nov 9, 2003
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Re: /scripts/mailperm corrupting /etc/localdomains

    Where does the script get it's list of domains from that it's syncing with the file? (In other words, how does the script determine, albeit incorrectly, what domains need to be in the localhost file?)


    I'm having the same issue, only slighty different. mailperm wipes out only my MAIN domain from the localdomains file. Anyone know what is causing this?
     
Loading...

Share This Page