Re: [Mimedefang] Authenticated Users Filter modification (especially for POP BEFORE AUTH users) for SA Blacklist issue

2004-05-21 Thread Kevin A. McGrail
Problem? AIUI, filter_initialize is called only once in the life of a slave, and DB_File doesn't check the timestamp of the on-disk DB when you use the contents of the hash. If a slave takes half an hour to process its allotted number of messages, then $popauthdb will be a half-hour out of

Re: [Mimedefang] Authenticated Users Filter modification (especially for POP BEFORE AUTH users) for SA Blacklist issue

2004-05-20 Thread Ole Craig
On 05/12/04 at 18:15, 'twas brillig and Kevin A. McGrail scrobe: After thinking about how to solve the problem, I decided that users that have authenticated to send email should be exempted from SA checks. This may not scale for everyone but all our users are not going to send spam. We

Re: [Mimedefang] Authenticated Users Filter modification (especially for POP BEFORE AUTH users) for SA Blacklist issue

2004-05-20 Thread Ole Craig
Don'tcha hate it when you spot a problem with code you *just* posted someplace? On 05/20/04 at 12:04, 'twas brillig and Ole Craig scrobe: [...] sub popauthget ($) { # read sendmail's access.db and look for ip RELAY my ($ip) [EMAIL PROTECTED]; my $popauthdb =

[Mimedefang] Authenticated Users Filter modification (especially for POP BEFORE AUTH users) for SA Blacklist issue

2004-05-12 Thread Kevin A. McGrail
I have users that are sending email on our mail server. Since this mail server is the end-destination for some domains, the email stops there and is not relayed anywhere else. However, when the email is passed off to SpamAssassin, SA checks the various RBLs and sees that this email is in them