Hi all!
I am having a bit of problems with catch-all alias in postfix.
Today I finally got my postfix/dovecot setup working, using authentication via mysql.
But then I got into a problem, with catch-all alias.
In the database in my alias table I added:
alias
@domain.com
destination
catch@domain.com
The problem is that the alias is loaded before the regular adresses, so if someone tries to mail to
info@domain.com the mail is delivered to
catch@domain.com.
While logging the mysql queries I can see that because it first looks at the aliases in many different ways and because it gets a result with @domain.com it accepts that.
Does anyone have any idea on how to either modify the query or modify postfix to read the aliases after the adresses?