admin@xxxx = Unrouteable address

pppplus

Verified User
Joined
Dec 19, 2008
Messages
526
[solved] admin@xxxx = Unrouteable address

Hi

From some days, I have a problem.

If I send an email to admin@domain_name on my server, I receive :
Code:
admin@domain_name
    Unrouteable address

So if another user create a mailbox admin@, I can't write to him from my server.

Strange ?
 
Last edited:
Check your aliases file if it contains a "admin" alias. If yes, remove it and restart exim.
If not, what do your mailserver logs say?
 
Hi, I verify in aliases, no admin

In logs, I have :

rejectlogs
Code:
2012-06-21 13:13:27 H=mx3.slc.paypal.com (mx2.slc.paypal.com) [173.0.84.228] F=<[email protected]> rejected RCPT <admin@domain_name>: Unrouteable address
2012-06-21 13:13:54 H=mx2.slc.paypal.com (mx0.slc.paypal.com) [173.0.84.227] F=<[email protected]> rejected RCPT <admin@domain_name>: Unrouteable address

mainlog
Code:
2012-06-19 16:38:44 1SgzZr-000777-IY <= [email protected] H=mx2.slc.paypal.com [173.0.84.227] P=esmtp S=10491 [email protected] T="Voc? recebeu um pagamento" from <[email protected]> for admin@DOMAIN_NAME
2012-06-19 16:38:44 1SgzZr-000777-IY => admin <admin@DOMAIN_NAME> F=<[email protected]> R=virtual_user T=virtual_localdelivery S=10603
2012-06-21 13:13:27 H=mx3.slc.paypal.com (mx2.slc.paypal.com) [173.0.84.228] F=<[email protected]> rejected RCPT <admin@DOMAIN_NAME>: Unrouteable address
2012-06-21 13:13:33 1ShfKP-0004Gu-Ra <= [email protected] U=admin P=local S=808 T="subjetct" from <[email protected]> for admin@DOMAIN_NAME
2012-06-21 13:13:33 1ShfKP-0004Gu-Ra ** admin@DOMAIN_NAME F=<[email protected]>: Unrouteable address

It appears, mail is sent from [email protected] to admin@DOMAIN_NAME of another user.
 
Then your domain doesnt have an mx record assigned to it.
 
Thanks Scsi

But....

[email protected] is used when email is send via php mail() .
This is the hostname.

I never declare it as domain, and I think I can't, because it is forbidden by directadmin.
So how to add a MX for this domain ? Or how to use another sender email when using php mail() ?

Thanks for your help
 
I think you don't understand what Scsi is trying to tell you.
I presume the domain 3go.fr is yours. This domain does have an mx record (mail.3go.fr).
The test I did via mxtoolbox looks fine.

So it seems to me it's a local problem. Do you have an A record for your hostname added to your DNS?
Is your hostname present in /etc/virtual as a directory like this?
Code:
drwxr-xr-x 2 mail      mail   4.0K May 30 15:48 serveur7.3go.fr
If not, create it, just as an empty directory, restart Exim and try again.

I hope this might help.

Have a look at this too:
http://help.directadmin.com/item.php?id=67
 
Hi

Thanks for your reply.

for serveur7.3go.fr, in /var/named/serveur7.3go.fr.db, I have :
mail 14400 IN A 94.23.246.189

I already have a directory
/etc/virtual/serveur7.3go.fr

It was chmod 0755, I put 0711, as you write, and as the other directory are.

I test, and it works. So you have the solution, bad chmod in this directory.
Why ? I don't know, I check another serveur, it is the same, chmod 755 instead of 711.

Thanks everybody for your help and suggestions.
 
That's strange. In my example it's also 755, I had that particular server wrong too.
Should normally be 711, it's like that on all my other servers.

Glad to hear that it works now.
 
Back
Top