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, [email protected] <[email protected]> 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, [email protected] and [email protected] only > allow the following senders > > [email protected] > [email protected] > > 2. if any sender other than above address send message to > [email protected] or [email protected], I want postfix reject > the message, but in the backend, send the message copy to > [email protected]. > > how can I do this? any hints are welcome. Thanks a lot. > > > >
