This website is deprecated, and remains online only for historic access to old issues and docs for historic versions of Virtualmin. It has been unmaintained for several years, and should not be relied on for up-to-date information. Please visit www.virtualmin.com instead.
catch all email account for a domain...
Although not commonly used i do occasionally find the need to download all emails in a domain with one account. To my knowledge this isn't available.. correct me if i'm wrong.
This is a really old thread, but I just noticed it had never been answered and someone pointed out that it is the first Google result for "Virtualmin catchall", so it's worth covering.
There are two common meanings of the phrase "catchall email". The one you've described (where one address receives all mail for a domain, while the mail is also delivered to the intended recipient) is performed via the recipient_bcc_maps feature in Postfix. This is not automatically configurable in Virtualmin, as far as I know (though the sender_bcc_maps feature, which sends all outgoing mail to a particular address, is).
The other, far more common, meaning is a catchall alias, which receives all mail for a domain that the mail server doesn't already have a destination for. e.g. mail that comes in for "bob@virtualmin.com", when there is no "bob" account in the virtualmin.com virtual server.
You can already create catchall aliases (since 2.mumble of Virtualmin, actually, so it's been there for several years, but it is still a common question).
Click "Edit Mail Aliases"
Click "Add an alias to this domain"
Set "Name" to "All mailboxes"
Fill in the delivery settings as usual (a local mailbox, usually).
Save it.
Note that a catchall is asking for a large, and growing, volume of spam. A non-existent account that doesn't bounce immediately becomes "verified" by many spam sending MTAs, and so SpamAssassin and Clam will work significantly harder on a system with catchall addresses. We don't really recommend it.
This is a really old thread, but I just noticed it had never been answered and someone pointed out that it is the first Google result for "Virtualmin catchall", so it's worth covering.
There are two common meanings of the phrase "catchall email". The one you've described (where one address receives all mail for a domain, while the mail is also delivered to the intended recipient) is performed via the recipient_bcc_maps feature in Postfix. This is not automatically configurable in Virtualmin, as far as I know (though the sender_bcc_maps feature, which sends all outgoing mail to a particular address, is).
The other, far more common, meaning is a catchall alias, which receives all mail for a domain that the mail server doesn't already have a destination for. e.g. mail that comes in for "bob@virtualmin.com", when there is no "bob" account in the virtualmin.com virtual server.
You can already create catchall aliases (since 2.mumble of Virtualmin, actually, so it's been there for several years, but it is still a common question).
Click "Edit Mail Aliases"
Click "Add an alias to this domain"
Set "Name" to "All mailboxes"
Fill in the delivery settings as usual (a local mailbox, usually).
Save it.
Note that a catchall is asking for a large, and growing, volume of spam. A non-existent account that doesn't bounce immediately becomes "verified" by many spam sending MTAs, and so SpamAssassin and Clam will work significantly harder on a system with catchall addresses. We don't really recommend it.
--
Check out the forum guidelines!
Hi, I realize this thread is 5 years old, however I want to create a variation on the catch all email account.
I am using a Return Address with a variable code embedded.
So I want to set up a catch-all which only catches incoming email that begin with: "M1" up to "M99999"
( must be capital M and must start with M then numbers)
To for example these would be caught and re-directed: M45B78@example.com, M777ebsgta8@example.com
But these will be rejected:
m6ftrh@example.com , hgdthm627@example.com, 7M2345ghj@example.com
Can I set up this in VirtualMin - or can I do it by editing the POSTFIX server files directly ?
Thanks.
.