I would implement this with a sieve script, if from is one of these allowed emails, file into mailbox, else forward to another email and delete.
I plan on implementing this exact functionality for my daughter's emails when they are old enough, then they can keep in touch with family and approved friends and no one else. :) post...@pupat-ghestem.net wrote: > Hello, > >I am trying to setup an email address where only mails from authorized >users (defined in a list) would come in and other emails would be >forwarded to another address. > >I was thinking of doing this with a combination of postfix and >procmail: >having postfix delivering all incoming email, then procmail forward and > >delete email not coming form authorized users. Before implementing it I > >was wondering if there is a postfix-only solution to this. BTW my >server >is using virtual mailboxes. > >Thanks in advance, > >Matthieu