Exim Problems

loopforever

Verified User
Joined
May 30, 2003
Messages
298
Location
/home/admin
Hi Guys,

I just had a user report he was unable to send e-mail via the webmail system. I know that mails can be sent, because DirectAdmin sent welcome e-mails to all the client's I've setup.

He gets this message:
SMTP Error: Recipient not accepted. Verify your relay rules

And this appears in exim's log (from me attempting to recreate the problem):

Code:
2003-06-24 20:49:24 19UyTU-00053e-00 <= [email][email protected][/email] H=loop.infinityservers.com (UebiMiau) [127.0.0.1] P=asmtp A=login:[email protected] S=746
2003-06-24 20:49:24 19UyTU-00053e-00 ** [email][email protected][/email]: forced failure:
2003-06-24 20:49:24 19UyTU-00053h-00 <= <> R=19UyTU-00053e-00 U=mail P=local S=1563
2003-06-24 20:49:24 19UyTU-00053e-00 Error message sent to [email][email protected][/email]
2003-06-24 20:49:24 19UyTU-00053e-00 Completed
2003-06-24 20:49:24 19UyTU-00053h-00 => test <[email protected]> D=virtual_user T=virtual_localdelivery
2003-06-24 20:49:24 19UyTU-00053h-00 Completed

The hostname used resolves correctly the IP address of the machine trying to send the e-mail.

Additionally, when an e-mail is sent locally ([email protected] -> [email protected]), it is never received, though exim shows it's been sent.

Does anyone have any advice?
 
There are a few things to check:

a) the hostname of the server must exist in /etc/virtual/domains
b) the hostname must not exist in /etc/virtual/domainowners
[edit] removed [/edit]
d) the hostname must resolve locally (type exactly as shown):
dig `hostname`

if c) does exist, then all system user email will be routed to the hostname's catch all, wich is probably set to fail, or to send it to the admin user.

If you would like me to have a look, send your ip and root pass to [email protected]

John
 
Hi John,

Your bit in part C is more than likely the problem, however, during the DA install, it asked for my hostname, so I put "loop.infinityservers.com." Now, when I try to remove this domain from DA, I get:

"Error deleting loop.infinityservers.com
loop.infinityservers.com is your default domain and you are not allowed to remove it."

Is there any way I can get around this?
 
Hello,

You can leave the domain in DirectAdmin there, just remove the /etc/virtual/loop.infinityservers.com directory, which will also mean that all email accounts for loop.infinityservers.com will be system accounts, sent to unix users.

If you would like, we'd be more than happy to fix it up for you.

John
 
I removed the directory from part c and I now see this in my exim log

2004-01-20 17:33:17 1Aj7F7-0004R4-Lk == [email protected] <[email protected]> R=domain_filter defer (-1): failed to stat /etc/virtual/da000.wh01.host.net/. (No such file or directory)

Are you sure I was allowed to remove that directory?

-Barry
 
Hello,

The date on this thread is very old and stale. The hostname directory must now exist :) Just create /etc/virtual/da000.wh01.host.net:

mkdir /etc/virtual/da000.wh01.host.net
chown mail:mail /etc/virtual/da000.wh01.host.net


John
 
Back
Top