[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: smtpserver router subdaemon



Hi!

On Tue, Apr 13, 2004 at 17:55 +0400, Eugene Crosser wrote:

> On Tue, 2004-04-13 at 17:43, Matti Aarnio wrote:
> 
> > > --- smtpserver/policytest.c     12 Apr 2004 12:13:11 -0000      1.89
> > > +++ smtpserver/policytest.c     13 Apr 2004 10:19:58 -0000
> > > @@ -1704,7 +1704,9 @@      if (state->always_freeze)
> > >         return 1;
> > >      if (state->full_trust || state->authuser)
> > > -      return 0;
> > > +       return 0;
> > > +    if (state->always_accept)
> > > +       return 0;
> > >      if (len > 0) { /* Non-box address.. */
> > 
> > The story here is somewhat more complicated.
> > For the "ratelimitmsgs" to work, the "always_accept" flag testing
> > must be moved onwards - a lot.
> > 
> > Reading the code again, the "always_accept" has been demoted into
> > "accept if various tests don't reject" state, while "full_trust" is
> > literally that.
> 
> Then probably SMTP AUTH and WHOSON sould be changed to raise full_trust
> rather than always_accept, right?

It depends... As for me "helo QRJATYDI" should be rejected from
anybody ;).


-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi