Sorry, let me rephrase a bit. A whitelisted connection can do anything an authenticated connection can do. So if spamdyke is configured with the "access-file" and "local-domains-file" options, it will control relaying itself and set RELAYCLIENT. In that situation, a whitelisted connection would be allowed to relay. If spamdyke's configuration is missing one of those options, it won't set RELAYCLIENT and a whitelisted connection will only be able to relay (unless qmail allows it to do so).
The holdover I referred to is in the way I wrote the code. Since whitelisting came first, I had already coded a way for it to bypass the filters by setting a flag as spamdyke is running. When I implemented authentication, I used that existing system instead of creating a completely new code path -- authentication sets the same flag as whitelisting, so spamdyke's behavior is the same for both. -- Sam Clippinger On Jul 25, 2012, at 4:34 PM, Eric Shubert wrote: > On 07/25/2012 12:28 PM, Sam Clippinger wrote: >> As for whitelisting vs. authentication, they're the same thing as far as >> spamdyke is concerned. >> Either one turns off all of spamdyke's filters and allows relaying. >> That's a holdover from the days before spamdyke supported authentication > > Before I go into details on this, I'd like to confirm this statement. > > My understanding has always been that whitelisting turns off all of > spamdyke's filters, but does not affect relaying. How can whitelisting > possibly allow relaying when RELAYCLIENT cannot be set? > > Am I correct in guessing that you meant to say that whitelisting allows > relaying only when spamdyke is doing authentication? > > If so, then it's not entirely a holdover, is it? ;) > > I don't mean to be critical, just want to understand before I go putting > my foot in my mouth. > > Thanks Sam. > > -- > -Eric 'shubes' > > > > _______________________________________________ > spamdyke-users mailing list > [email protected] > http://www.spamdyke.org/mailman/listinfo/spamdyke-users _______________________________________________ spamdyke-users mailing list [email protected] http://www.spamdyke.org/mailman/listinfo/spamdyke-users
