Email: catch-all + redirection priority

jruiz

Verified User
Joined
Jul 2, 2013
Messages
6
Hi!

In a user account, I created 3 email redirections, like:
[email protected] -> [email protected]
[email protected] -> [email protected]
[email protected] -> [email protected]

After this, I set a catch-all account, let's say [email protected] .
The problem is that if an email is sent to [email protected] , it's redirected to the catch-all account ([email protected]) and not to [email protected]

Is there any way to use redirections together with the catch-all accounts, and still get the redirections working?

Thanks in advance!
 
You're confusing me a bit because DirectAdmin doesn't use what you call redirection; it uses the term forwarder.

If in fact Exim in DirectAdmin is running catchall process before checking forward, then that could be a bug and needs to be investigated, but I'm perplexed that this hasn't been found earlier.

I take it you're aware that catchall is dangerous and will subject you to a lot of spam, as all domain addresses are good, so no address will report it's not on the server.

Jeff
 
Hi Jeff,

Thank you for your reply.
Sorry about the confusion, "email redirection" was a translation mistake (it's "redirecciones de email" in spanish) :-D
Sure, I'm aware of the spam risk of a catchall email, but it's a service we provide to our customers as long as it's included in DA.

Well, we'll keep investigating if it's really a DA problem or it's something we're doing wrong.
Thanks again!
Regards
 
It may be a problem in the order in which exim.conf is built... but I'd think that if it were it would have been reported long before now, so I'm going to wait to see if there are any other reports.

There has been discussion about defaulting to not allowing Catchall. I'm in favor of that :) and have never really looked at Catchall too much since I don't know anyone (until you :)) using it.

Jeff
 
Is there any way to use redirections together with the catch-all accounts, and still get the redirections working?


Check your

/etc/virtual/domain.com/aliases

the catch-all line beginning with *: should be at the bottom of the file. If it's not, then you might need to modify it manually.
 
That would be my guess too. It should match the first line in the file.
 
Back
Top