feanor

Well-Known Member
Aug 13, 2001
835
0
316
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.
 

noimad1

Well-Known Member
Mar 27, 2003
626
0
166
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:
 

jonx

Member
Sep 6, 2002
15
0
151
I'm having the same problem, if anyone has a solution please let everyone know by posting, thanks.

cPanel.net Support Ticket Number:
 

acer2k

Well-Known Member
Nov 12, 2001
107
0
316
I too am having this problem with a few users accounts.

cPanel.net Support Ticket Number:
 

Duncan

Member
Feb 19, 2003
22
0
151
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:
 

pirania1

Well-Known Member
May 10, 2003
126
0
166
Miami, FL
Let me quote:
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.
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:
 

Duncan

Member
Feb 19, 2003
22
0
151
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:
 

KenMaier

Member
Nov 5, 2002
23
0
151
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:
 

tAzMaNiAc

Well-Known Member
Feb 16, 2003
558
0
166
Sachse, TX
Originally posted by Duncan
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:
WHat is the difference between net-lsearch and lsearch?

cPanel.net Support Ticket Number:
 

Duncan

Member
Feb 19, 2003
22
0
151
Originally posted by tAzMaNiAc
WHat is the difference between net-lsearch and lsearch?
net-lsearch specifies that it will search that file for IP addresses

cPanel.net Support Ticket Number:
 

albertg

Well-Known Member
PartnerNOC
Sep 4, 2002
61
0
156
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:
 

anand

Well-Known Member
Nov 11, 2002
1,432
1
168
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:
 

jackal

Well-Known Member
PartnerNOC
Feb 23, 2002
707
0
316
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
[email protected] 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:
 

anand

Well-Known Member
Nov 11, 2002
1,432
1
168
India
cPanel Access Level
DataCenter Provider
Originally posted by jackal
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
[email protected] 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:
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:
 

jackal

Well-Known Member
PartnerNOC
Feb 23, 2002
707
0
316
No not really before I upgraded last nite we could use or not use it.

cPanel.net Support Ticket Number:
 

anand

Well-Known Member
Nov 11, 2002
1,432
1
168
India
cPanel Access Level
DataCenter Provider
Originally posted by jackal
No not really before I upgraded last nite we could use or not use it.

cPanel.net Support Ticket Number:
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:
 

jackal

Well-Known Member
PartnerNOC
Feb 23, 2002
707
0
316
Listen every box is different and I am telling you that was the case on ours period.

cPanel.net Support Ticket Number:
 

anand

Well-Known Member
Nov 11, 2002
1,432
1
168
India
cPanel Access Level
DataCenter Provider
Originally posted by jackal
Listen every box is different and I am telling you that was the case on ours period.

cPanel.net Support Ticket Number:
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:
 

jackal

Well-Known Member
PartnerNOC
Feb 23, 2002
707
0
316
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: