There may be other ways to do this, but I use a (locally written) milter to do this.
John On Mon, Nov 10, 2014 at 9:00 AM, shamu...@gmail.com <shamu...@gmail.com> wrote: > hello all, I have a server with postfix and I want the following setup: > > 1. Only certain sender addresses can send email to patterned email > addresses. > For example, protecte...@example.com and protecte...@example.com only > allow the following senders > > a...@domain.com > d...@domain.com > > 2. if any sender other than above address send message to > protecte...@example.com or protecte...@example.com, I want postfix reject > the message, but in the backend, send the message copy to > ad...@example.com. > > how can I do this? any hints are welcome. Thanks a lot. > > > >