Hello Here is the scenario: I'm making a new email server for my company, because they want one that will sit on the local network, and because they need it different. (imap instead of pop) I don't want to be in the situation where I didn't create an account to the new server and emails that were supposed to be recieved are now, well, kind of lost; so I need a catch-all email.
Here are the relevant bits of configuration: virtual_mailbox_domains = company.com virtual_mailbox_maps = mysql:/etc/postfix/sql-mailbox-maps.cf virtual_alias_maps = mysql:/etc/postfix/sql-alias-maps.cf Now, according to The Internet, I'm supposed to add "@company.com -> lostnfo...@company.com" to aliases (and create that account) and I should be set. But there is a problem! If I do that, then ANY email sent to company.com, even though it has a valid user in virtual_mailbox_maps, will go to lostnfo...@company.com! I've tried and played with things, and found out that if I add an alias for each user that goes to itself, for example: "b...@company.com -> b...@company.com", then mail is correctly delivered to the right users, and my catch-all email works too! But this is a bit... mehh. Not really Linux-style elegant. I was thinking that this is probably not the intended behavior. The intended order for determining the final destination is probably supposed to be: exact match in virtual_alias_map (@domain.com doesn't apply here) -> virtual_mailbox_maps -> wildcard (or whatever) in virtual_alias_map (eg: @ domain.com) I also tried fuser_relay but it doesn't do anything. I would very much have something like fuser_relay, but working, I don't even know if there's any other kind of wildcard thingies other than @domain.com Also, not related, but how important is it that postfix run in a chroot jail? Many thanks, Andi Raicu