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.

SMTP Server error

Discussion in 'E-mail Discussions' started by feanor, Oct 31, 2002.

  1. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    Seems pretty self explanatory.

    Before the body of the message & attachments (if any), there has to be a valid &to:& (recipient)..... can you find out what precise address they are sending to?

    They may be sending to an address with bogus characters, or something that is not understood by the exim (smtp) server on your CPanel system.

    You also might try tailing the exim_mainlog (/var/log/exim_mainlog), during their connection to see what else is reported there.
     
  2. noimad1

    noimad1 Well-Known Member

    Joined:
    Mar 27, 2003
    Messages:
    627
    Likes Received:
    0
    Trophy Points:
    16
    Did you ever find out what the problem was with this? Was it that your user was sending out to a bad e-mail address?

    I'm having this problem with all of my users...?

    cPanel.net Support Ticket Number:
     
  3. jonx

    jonx Member

    Joined:
    Sep 6, 2002
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    I'm having the same problem, if anyone has a solution please let everyone know by posting, thanks.

    cPanel.net Support Ticket Number:
     
  4. acer2k

    acer2k Well-Known Member

    Joined:
    Nov 12, 2001
    Messages:
    107
    Likes Received:
    0
    Trophy Points:
    16
    I too am having this problem with a few users accounts.

    cPanel.net Support Ticket Number:
     
  5. Duncan

    Duncan Member

    Joined:
    Feb 19, 2003
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    same here as well...

    cPanel.net Support Ticket Number:
     
  6. Duncan

    Duncan Member

    Joined:
    Feb 19, 2003
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    btw: you can fix it, if you add the IP as seen in /var/log/exim_mainlog error message to /etc/relayhosts

    however, it was working just fine before and didn't need any kind of manual editing, so i would also like to know, if this will be fixed?

    cPanel.net Support Ticket Number:
     
  7. pirania1

    pirania1 Well-Known Member

    Joined:
    May 10, 2003
    Messages:
    126
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Miami, FL
    Let me quote:
    Few of you are saying "yes I too have this problem" but nobody gives any details, how on earth you imagine anyone helping you without having any details?

    cPanel.net Support Ticket Number:
     
  8. Duncan

    Duncan Member

    Joined:
    Feb 19, 2003
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    actually i just fixed it on my server.

    Here is what i did:

    locate the following line in your /etc/exim.conf

    host_accept_relay = +allow_address : lsearch;/etc/relayhosts : localhost

    (it may look different, depending on your setting, then simply look for the "host_accept_relay" entry)

    and now change the "lsearch;/etc/relayhosts" to
    "net-lsearch;/etc/relayhosts"

    This rather trivial modification fixed the issue on my server.
    Problem was, that "lsearch" didn't go through the /etc/relayhosts lines, whereas "net-lsearch" works just fine.
    ...don't forget to restart exim to make the changes work.

    cPanel.net Support Ticket Number:
     
  9. KenMaier

    KenMaier Member

    Joined:
    Nov 5, 2002
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    We started seeing the exact same error -- everything was working fine, nothing changed, then sudden today everyone is getting that same error message.

    -ken

    cPanel.net Support Ticket Number:

    cPanel.net Support Ticket Number:
     
  10. tAzMaNiAc

    tAzMaNiAc Well-Known Member

    Joined:
    Feb 16, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sachse, TX
    WHat is the difference between net-lsearch and lsearch?

    cPanel.net Support Ticket Number:
     
  11. Duncan

    Duncan Member

    Joined:
    Feb 19, 2003
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    net-lsearch specifies that it will search that file for IP addresses

    cPanel.net Support Ticket Number:
     
  12. albertg

    albertg Well-Known Member
    PartnerNOC

    Joined:
    Sep 4, 2002
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    Still happening after applying"

    locate the following line in your /etc/exim.conf
    host_accept_relay = +allow_address : lsearch;/etc/relayhosts : localhost

    The real problem is that it is not consistent...One day emails is fine and sometimes it suddently becomes 'mad' and will face error >>
    Task 'Admin - Sending and Receiving' reported error (0x800CCC65) : 'Your outgoing (SMTP) e-mail server has reported an internal error. If you continue to receive this message, contact your server administrator or Internet service provider (ISP). The server responded: 503 Valid RCPT TO &recipient& must precede DATA'

    It also happens on random accounts. Any solutions?

    cPanel.net Support Ticket Number:
     
  13. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    well if nothing is helping you, try this

    a. backup your /etc/exim.conf
    b. run /scripts/exim4

    This will reinstall exim and rebuild ur exim.conf for you. Then see if the error comes back. This could have been caused by some custom exim setting etc.

    Please remember that if you have some antivirus installed like MailScanner etc you would need to reinstall it as this would remove all the changes done during the install.

    Just try the above and post the results here. Also when the customer is getting this error, do a tail -f /var/log/exim_mainlog and post the log here.

    cPanel.net Support Ticket Number:
     
  14. jackal

    jackal Well-Known Member
    PartnerNOC

    Joined:
    Feb 23, 2002
    Messages:
    708
    Likes Received:
    0
    Trophy Points:
    16
    Just had a user with the same problem we tried all the fixes in this thread they did not work. This how the issue was resolved for the user.

    Under the properties/tools of the email account question insure two things.

    First username has the full email address example

    tedbundy incorrect
    tedbundy@frightnite.com correct

    Second make sure that My server requires authentication is checked.

    That is what fixed it for us we had to do this on a account with around 35 email address's using various clients, Enduroa, Outlook, Outlook express and such.

    cPanel.net Support Ticket Number:
     
  15. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    Well the option My Server requires authentication is one of the primary things to keep in mind. Cpanel servers won't allow you relay until you do an SMTP auth. I believe this has been there for quite some time here now.

    cPanel.net Support Ticket Number:
     
  16. jackal

    jackal Well-Known Member
    PartnerNOC

    Joined:
    Feb 23, 2002
    Messages:
    708
    Likes Received:
    0
    Trophy Points:
    16
    No not really before I upgraded last nite we could use or not use it.

    cPanel.net Support Ticket Number:
     
  17. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    Nope thats not the case. It would have worked for you because cpanel also allows a user to relay if they have checked their pop3 email box in the last 30mins. The ip of that user is inserted in /etc/relayhosts and thats why he is authenticated and allowed to relay mails.

    Incase of non authenticated smtp then we would have had several thousands of Open Relays on the internet and being used by spammers.

    cPanel.net Support Ticket Number:
     
  18. jackal

    jackal Well-Known Member
    PartnerNOC

    Joined:
    Feb 23, 2002
    Messages:
    708
    Likes Received:
    0
    Trophy Points:
    16
    Listen every box is different and I am telling you that was the case on ours period.

    cPanel.net Support Ticket Number:
     
  19. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    You are free to say and think wat ever you like. Read the forums here and u will find wat i say is perfectly true.

    cPanel.net Support Ticket Number:
     
  20. jackal

    jackal Well-Known Member
    PartnerNOC

    Joined:
    Feb 23, 2002
    Messages:
    708
    Likes Received:
    0
    Trophy Points:
    16
    I have read the forums I am here everyday. I never said what you said was not correct. I just said how it worked on our servers before we upgraded. That is all I said Hell I know what I looking at. I think I can determine by looking if a box has a check in it or not.

    Go find someone else to bother.

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page