Sentora Support Forums

Full Version: [SOLVED] Postfix ignoring Alias table
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there,
please, help, trying to figure out a very strange problem.

My server is ignoring the postfix's "alias" table. It was working, nothing changed (config files). Everything original from Sentora installation. Sentora creates correctly the table records.

Alias example:
address=john@mydomain.com
goto=foo@mydomain.com

Postfix returns a "user unknown" error on john@mydomain.com.

The only thing is that there's a Distribution List with >20 destinations. But I've tried to remove it, no effect.

Everything on "alias" table is just ignored. If I create a real box ("mailbox" table) everything goes ok.

No typos detected. Checked a zillion times. This is driving me crazy.
Any ideas how to fix or debug this?  Huh

Thank you.

-----------------

virtual_alias_maps = proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_alias_maps.cf,                     regexp:/etc/sentora/configs/postfix/virtual_regexp

query = SELECT goto FROM alias WHERE address='%s' AND active = '1'

If I run the query manually:
SELECT goto FROM alias WHERE address='john@mydomain.com' AND active = '1'
returns correctly foo@mydomain.com
Ops, my mistake Sad

I have disabled Amavisd to use an external anti-spam (MailCleaner).
I forgot to disable the receive_override_options on master.cf

smtp inet n - n - - smtpd
-o smtpd_sasl_auth_enable=yes
# -o content_filter=smtp-amavis:127.0.0.1:10024
# -o receive_override_options=no_address_mappings

Well, thanks anyway