PDA

View Full Version : Exim Problems


loopforever
06-24-2003, 05:01 AM
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):


2003-06-24 20:49:24 19UyTU-00053e-00 <= test@hisdomain.net H=loop.infinityservers.com (UebiMiau) [127.0.0.1] P=asmtp A=login:test@hisdomain.net S=746
2003-06-24 20:49:24 19UyTU-00053e-00 ** matt@infinityservers.com: 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 test@hisdomain.net
2003-06-24 20:49:24 19UyTU-00053e-00 Completed
2003-06-24 20:49:24 19UyTU-00053h-00 => test <test@hisdomain.net> 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 (test@domain.com -> test@domain.com), it is never received, though exim shows it's been sent.

Does anyone have any advice?

DirectAdmin Support
06-24-2003, 10:07 AM
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
removed
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 support@directadmin.com

John

loopforever
06-24-2003, 06:17 PM
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?

DirectAdmin Support
06-24-2003, 11:29 PM
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

barry
01-20-2004, 06:36 PM
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 == barry@da000.wh01.host.net <barry@barry.host.cc> 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

DirectAdmin Support
01-21-2004, 01:41 PM
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