Catch-all not working anymore?

Pascal

Verified User
Joined
Jan 2, 2006
Messages
72
Location
Arnhem, The Netherlands
I just a customer complaining about the catch-all is not working.

I tested myself and had the same problem.

When adding a new domain I turned on catch-all. So the mail should be send to the DA account.

Actually i'm getting the following error when testing with dnsreport.com mail test thing:

[email protected] doesn't work.

[Could not connect: Got an unknown RCPT TO response: 550 "Unknown User"

[email protected] doesn't work too.

I guess that catch-all is broken?

(ultimately generated from [email protected])
Using Exim 4.62 on FC4
 
Last edited:
Have you checked in directadmin in the catch all area to make sure its selected to email to someone and not set on fail?
 
Code:
This is the Postfix program at host adonis.tweakers.net.

I'm sorry to have to inform you that your message could not be
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                        The Postfix program

<[email protected]>: host mx1.co-tax.eu[85.92.137.71] said: 550 "Unknown User"
    (in reply to RCPT TO command)

Code:
Received: from localhost (localhost [127.0.0.1])
	by adonis.tweakers.net (Postfix) with ESMTP id DD10913DB19
	for <[email protected]>; Wed, 24 May 2006 18:10:55 +0200 (CEST)
Received: from adonis.tweakers.net ([127.0.0.1])
 by localhost (adonis.tweakers.net [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 07635-07 for <[email protected]>;
 Wed, 24 May 2006 18:10:54 +0200 (CEST)
Received: by adonis.tweakers.net (Postfix, from userid 98)
	id 2879013DB33; Wed, 24 May 2006 18:10:54 +0200 (CEST)
Received: from s55900959.adsl.wanadoo.nl (s55900959.adsl.wanadoo.nl [85.144.9.89]) 
	by webmail.tweakers.net (IMP) with HTTP 
	for <[email protected]>; Wed, 24 May 2006 18:10:54 +0200
Message-ID: <[email protected]>
Date: Wed, 24 May 2006 18:10:54 +0200
From: [email][email protected][/email]
To: [email][email protected][/email]
Subject: TEST
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) 3.2.5
X-Virus-Scanned: by amavisd-new at tweakers.net

DA-user!
Code:
This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  [email][email protected][/email]
    (ultimately generated from [email][email protected][/email])
    
  [email][email protected][/email]
    (ultimately generated from [email][email protected][/email])
    

------ This is a copy of the message, including all the headers. ------

Return-path: <[email protected]>
Received: from adonis.tweakers.net ([213.239.154.11])
        by sf01.shadowfox.biz with esmtp (Exim 4.62)
        (envelope-from <[email protected]>)
        id 1Fiw3p-00016i-N1
        for [email][email protected][/email]; Wed, 24 May 2006 18:18:13 +0200
Received: from localhost (localhost [127.0.0.1])
        by adonis.tweakers.net (Postfix) with ESMTP id 173A913DB62
        for <[email protected]>; Wed, 24 May 2006 18:18:14 +0200 (CEST)
Received: from adonis.tweakers.net ([127.0.0.1])
 by localhost (adonis.tweakers.net [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 07447-05 for <[email protected]>;
 Wed, 24 May 2006 18:18:12 +0200 (CEST)
Received: by adonis.tweakers.net (Postfix, from userid 98)
        id 987E313D40A; Wed, 24 May 2006 18:18:12 +0200 (CEST)
Received: from s55900959.adsl.wanadoo.nl (s55900959.adsl.wanadoo.nl [85.144.9.89])
        by webmail.tweakers.net (IMP) with HTTP
        for <[email protected]>; Wed, 24 May 2006 18:18:12 +0200
Message-ID: <[email protected]>
Date: Wed, 24 May 2006 18:18:12 +0200
From: [email][email protected][/email]
To: [email][email protected][/email]
Subject: TEST
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) 3.2.5
X-Virus-Scanned: by amavisd-new at tweakers.net
Including domain so you can check at:

http://www.dnsreport.com/tools/dnsreport.ch?domain=co-tax.eu
 
Last edited:
Let's start at the top:

Mail servers work this way: When you send a message your mailserver will first try the lowest-cost mx server.

co-tax.eu has three mx servers:
mx1.co-tax.eu cost: 10 (85.92.137.71)
mx2.co-tax.eu cost: 20 (85.234.133.32)
mx3.co-tax.eu cost 30 (80.69.67.21 & 80.69.67.19)

I tried the user [email protected].

The lowest cost mx server answers, but replies Unknown User.

The second one answers, and accepts the user; it does know the user exists, and that's a good thing.

The third one answers (I tried both IP#s and both answered), and accepts the user.

Note that since most of the time the first mailserver will answer, once it says there's no such user, the system stops trying.

In the case of [email protected], the mailserver reports that the message is forwarded to user [email protected].

Same problem. The first mailserver doesn't know the identity of the user.

If this trace doesn't help you, then you need to consider that we can't help you if you're passing your email through servers that aren't DA servers, and that I've already posted (many times) the problems wtih multiple MX records.

And you should reply with answers to these questions:

1) are all four (three MX servers, one at two IP#s) MX servers running DA?

2) How do they determine that the usernames exist?

3) Is there something setup on each MX server to accept the final username? If so is it a catchall or an actual user?

My guess is that this is a complex mail configuration that's going to have to be looked at by someone who can log into all the servers and trace the emails.

Jeff
 
1) are all four (three MX servers, one at two IP#s) MX servers running DA?

mx1 is the real DA-server
mx2 is a fallback
mx3 are both fallback too

2) How do they determine that the usernames exist?

The mx2 en mx3 catches all mail recieved @co-tax.eu

3) Is there something setup on each MX server to accept the final username? If so is it a catchall or an actual user?

Only the mx1 accepts the username

As you know mx2 and mx3 send mail to mx1 when it is up again so they don't do anything with the username.

sf01.shadowfox.biz = DA server name
cotax = user account on DA server
cotax = catchall account from co-tax.eu

I hope you can do something with this information?
 
Pascal said:
Only the mx1 accepts the username

As you know mx2 and mx3 send mail to mx1 when it is up again so they don't do anything with the username.
If mx2 and mx3 accept emails for anyone, they're going to be getting a lot of spam and dictionary attacks. When mx1 restarts it's going to be inundated with a lot of undeliverable email.

As I wrote previously, someone is going to have to log in to research the problem on your server.

Jeff
 
I can log on the mx1 machine and can't find the problem :( I see that all DA-useraccounts can't recieve e-mail.

Code:
2006-05-31 15:58:30 1FlRDS-0008HW-22 <= [email][email protected][/email] H=([url]www.area61server.nl[/url]) [213.193.246.81] P=esmtp S=3067 id=!&!AAAAAAAAAAAYAAAAAAAAAOSWVKzRpIpLiw0ep8xSXQ3CgAAAEAAAAN5B4cE9021Fsua4Vn9kIkwBAAAAAA==@area61server.nl T="test" from <[email protected]> for [email][email protected][/email]
2006-05-31 15:58:30 1FlRDS-0008HW-22 ** [email][email protected][/email] <[email protected]> F=<[email protected]> R=virtual_aliases: 
2006-05-31 15:58:30 1FlRDS-0008HW-22 ** [email][email protected][/email] <[email protected]> F=<[email protected]> R=virtual_aliases: 
2006-05-31 15:58:30 1FlRDS-0008Hc-3o <= <> R=1FlRDS-0008HW-22 U=mail P=local S=4058 T="Mail delivery failed: returning message to sender" from <> for [email][email protected][/email]
2006-05-31 15:58:30 1FlRDS-0008HW-22 Completed
2006-05-31 15:58:30 1FlRDS-0008Hc-3o => [email][email protected][/email] F=<> R=lookuphost T=remote_smtp S=4198 H=adonis.tweakers.net [213.239.154.11] X=TLSv1:AES256-SHA:256 C="250 OK id=1FlRDS-0003zP-St"
2006-05-31 15:58:30 1FlRDS-0008Hc-3o Completed
 
Last edited:
DirectAdmin Support said:
Hello,

http://help.directadmin.com/item.php?id=16

In particular, check #1, #2 and #3. But go through all of them to be sure.

And make sure the hostname exists in the /etc/virtual/domains file as well.

John

I saw their was a DA site runnning on my hostname. I removed that domain and thought it would work but it didn't. Before i checked all the steps allready.

I recreated the directory and all is fine now..
 
Back
Top