Results 1 to 4 of 4
Hi,
I have postfix and mysql set up on FC9. Everything works fine, except if I add a wildcard adress to the `alias` table on mysql (i.e. (at)domain), any email ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-23-2009 #1Just Joined!
- Join Date
- Aug 2009
- Posts
- 2
Postfix prioritizes aliases instead of mailboxes.
Hi,
I have postfix and mysql set up on FC9. Everything works fine, except if I add a wildcard adress to the `alias` table on mysql (i.e. (at)domain), any email I send to anything(at)domain will go to the alias, even though i have `anything(at)domain` in my `mailbox` table. Can't figure out why is that.
Any help would be appreciated, thanks.
- 08-23-2009 #2Just Joined!
- Join Date
- Jan 2009
- Location
- North Shields, UK
- Posts
- 8
If you can share your config, It might help...
- 08-23-2009 #3Just Joined!
- Join Date
- Aug 2009
- Posts
- 2
inet_protocols = ipv4
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
mynetworks = 127.0.0.0/8
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
myhostname = localhost
home_mailbox = Maildir/
mailbox_command =
#######
virtual_mailbox_domains = mysql:$config_directory/mysql_virtual_domains_maps.cf
virtual_mailbox_base = /var/vmail
virtual_mailbox_maps = mysql:$config_directory/mysql_virtual_mailbox_maps.cf
virtual_alias_maps = mysql:$config_directory/mysql_virtual_alias_maps.cf
virtual_mailbox_limit_maps = mysql:$config_directory/mysql_virtual_mailbox_limit_maps.cf
virtual_minimum_uid = 150
virtual_uid_maps = static:150
virtual_gid_maps = static:12
- 08-23-2009 #4Just Joined!
- Join Date
- Jan 2009
- Location
- North Shields, UK
- Posts
- 8
Postfix docs say:
So basically, you should move your wild-card from the alias table into the mailbox table...Code:NEVER put a virtual MAILBOX wild-card in the virtual ALIAS file
Hope this helps
HQ


Reply With Quote
