On Tue, 2008-09-09 at 22:06 +0200, mouss wrote: > Andrea Gozzi wrote: > > On Tue, 2008-09-09 at 13:03 -0400, Wietse Venema wrote: > >>> > >>> 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 > > > > Via smtpd. > > > > Andrea > > > > > > ps: just as a curiosity, would it even be possible to restrict based on > > IP if injected via sendmail? > > > > sendmail doesn't use IP. do you mean something else? > >
Yeah that's what I was thinking. So a restriction based on the originating network address only makes sense if injection is smtpd. Andrea