The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> System Administration
> Mail Server Help
|
How to receive ALL emails?
Discuss How to receive ALL emails? in the Mail Server Help forum on Dev Shed. How to receive ALL emails? Mail Server Help forum discussing tips, tricks, techniques and Spam containment solutions. Topics include mail servers such as Sendmail and Qmail, webmail interfaces such as Squirrelmail and Horde and spam solutions such as SpamAssassin and Bayesian
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

November 21st, 2011, 06:23 PM
|
|
Registered User
|
|
Join Date: Nov 2011
Posts: 3
Time spent in forums: 34 m 4 sec
Reputation Power: 0
|
|
|
How to receive ALL emails?
Hello,
Does anyone know how to receive all emails sent to a domain?
Not only the usual catch-all functionality on the main domain, but also catch-all on all possible wildcard-subdomains?
*@domain.tld
+
*@*.domain.tld
|

November 21st, 2011, 07:12 PM
|
 |
Still alive
|
|
Join Date: Mar 2007
Location: Washington, USA
|
|
|
The first step is having DNS set up for the subdomains, but I kinda figure you have that done already.
Your mail server needs to be set up to handle the subdomains too.
|

November 21st, 2011, 07:27 PM
|
|
Registered User
|
|
Join Date: Nov 2011
Posts: 3
Time spent in forums: 34 m 4 sec
Reputation Power: 0
|
|
Quote: | Originally Posted by requinix The first step is having DNS set up for the subdomains, but I kinda figure you have that done already.
Your mail server needs to be set up to handle the subdomains too. |
But the point is that I do not know what sub domains are.
They can be anything thats possible to write, that's why I use wildcards.
So the question is if this is possible at all? I guess I have to use MX wildcards in DNS, and that the emailserver have to have a certain setup.
|

November 21st, 2011, 07:44 PM
|
 |
Still alive
|
|
Join Date: Mar 2007
Location: Washington, USA
|
|
|
If there aren't any MX records for a domain then a sending server will use the regular A record for it. So for DNS all you need is to configure the subdomains. By using a wildcard.
The mail server is the one that needs extra configuration.
|

November 21st, 2011, 07:56 PM
|
|
Registered User
|
|
Join Date: Nov 2011
Posts: 3
Time spent in forums: 34 m 4 sec
Reputation Power: 0
|
|
Thanks for the answers requinix
Quote: | Originally Posted by requinix If there aren't any MX records for a domain then a sending server will use the regular A record for it. So for DNS all you need is to configure the subdomains. By using a wildcard.
|
So the only thing I need to do in the DNS is to set up a wildcard entry to the right email server?
Quote: | Originally Posted by requinix
The mail server is the one that needs extra configuration. |
Do you know anything about this extra configuration? Or know about a host where this is possible? I do not have a own email server.
|

November 22nd, 2011, 12:48 PM
|
 |
Still alive
|
|
Join Date: Mar 2007
Location: Washington, USA
|
|
|
Set the wildcard entry to the web server.
I see two options for you:
1. Run a mail server alongside the web server. They're not hard to set up, but for anything beyond simple, personal use you'll want to get precise instructions from someone knowledgeable. Or even hire somebody to set it up for you.
2. Run a mail server alongside the web server. Okay, you can't really get around that. But you can have it configured to relay email someplace else (ie, to the actual mail server). The difference is that this one would not hold the email - it would simply forward it off to the real location.
Exact instructions vary for making the mail server handle domains, but the Internet is a good place to look. However the first step is actually getting the server.
How is your website hosted? Shared or dedicated? Do you have root access to the machine?
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|