Andrea Gozzi:
> > > To be clearer: I want to set up a domain, myfreemail.com, where the
> > > spammers will have their accounts. They will be able to log-in with a
> > > webmail client and receive correctly any email addressed to them (unless
> > > caught by SA, but that's another story).
> > > What they will not be able to do, is to send mail. Any email originating
> > > from the webmail for myfreemail.com will have to be diverted to
> > > [EMAIL PROTECTED] without telling the sender. To him everything will
> > > look like it went well and the delivery was successful.
> > > 
> > > My question is: can I accomplish something like that with postfix (and
> > > my current virtual domain setup)?
> > 
> > Depending on how your webmail injects mail into Postfix, and how
> > it can be distinguished from other mail:
> >     man 5 access (see REDIRECT action)
> >     man 5 header_checks (see REDIRECT action)
> > 
> >     Wietse
> 
> 
> It works, thanks.
> I have one further question: how do I restrict access to postfix for any
> user with @myfreemail.com account only from localhost (where the webmail
> is running)?

The answer depends on how your webmail injects mail into Postfix.

        Wietse

Reply via email to