You could add another mysql alias map: [main.cf]
virtual_alias_maps = proxy:mysql:/path/to/virtual_alias_maps [virtual_alias_maps] query = select 'supportst...@isp.ltd' from your_virtual_domains where '%u' in ('postmaster', 'abuse', 'any-other-local-part') and domain = '%d' Martin On Wed, 08 Jul 2009 23:37:53 +0200, Ignacio Garcia <i...@oenus.com> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, we have postfix+mysql with virtual domains. Until now for each > virtual domain we have created a postmaster account for each domain > (that means customer), and at the end, none of my customers read the > mail. I've been trying to find out a way so we do not have to setup > postmaster accounts for each domain and redirect them to us, something > like a /^To: postmas...@.*/ REDIRECT supportst...@isp.ltd somewhere (I > tried header_checks), but postfix rejects messages with a "Recipient > address rejected: User unknown in virtual mailbox table;". Does anybody > know how can we do that without having to declare a postmaster account > for each virtual domain? > > TIA > > Ignacio > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAkpVEbEACgkQoYMx3fsuWurswQCdHGfLOUxAfUh28mWzvl/wixQ2 > WIkAoLHJwwvuA61OsqqDN5iDPQQkEJ5K > =vwv2 > -----END PGP SIGNATURE-----