That's exactly right. We'd maintain a wildcard mx record, but need to figure out the postfix side.
On Thu, Nov 20, 2014 at 6:51 AM, Mike Cardwell <post...@lists.grepular.com> wrote: > * on the Thu, Nov 20, 2014 at 12:00:00PM +0100, li...@rhsoft.net wrote: > >> Am 20.11.2014 um 10:01 schrieb Brandon Metcalf: > >>> We are looking for a way to accept email for all users where the >>> address matches /bob@.*\.foo\.org/ without maintaining a list of all >>> possible subdomains. We use dovecot as our transport with postfix and >>> deliver mail locally to /var/mail/vhosts/<subdomain>/bob/. The >>> username will always be the same > >> no, not without maintaining and to be honest that makes no sense because >> who makes the DNS records for that infinite and undefined subdomains and >> how should somebody send mail without a DNS record? > > You've never heard of wildcard dns? He could do what he wants by just > adding this to his "foo.org" zone: > > * IN MX 10 mx.example.com. > > I don't know how he'd do the Postfix side though... > > -- > Mike Cardwell https://grepular.com https://emailprivacytester.com > OpenPGP Key 35BC AF1D 3AA2 1F84 3DC3 B0CF 70A5 F512 0018 461F > XMPP OTR Key 8924 B06A 7917 AAF3 DBB1 BF1B 295C 3C78 3EF1 46B4 >