Minor issue with ScamNailer updates.

Mark Sapiro mark at msapiro.net
Sun Dec 6 16:19:08 GMT 2009


There seems to be an issue with updates to ScamNailer using the 2.07
script due to the numbering scheme. Files appear to be numbered wwd
where ww is the week of the year and d is the day of the week, but the
day followes the normal Sun - Sat, 0 - 6 numbering, but the week
increments on Monday.

This results, e.g., in files for Saturday named '486' and files for
Sunday named '480'. 

I don't know if this is related to the following or not, but I get
output from the update script at 05:16 UTC on Sunday like

Reading status from /var/cache/ScamNailer/status
Checking that /var/cache/ScamNailer/cache/2009-486 exists... ok
Checking that /var/cache/ScamNailer/cache/2009-486.0 exists... ok
I am working with: Current: 2009-480 - 1 and Status: 2009-486 - 0
This is base update
Update required
Retrieving http://www.mailscanner.tv/emails.2009-480.1
/var/cache/ScamNailer/cache/2009-480.1
Updating live file /var/cache/ScamNailer/phishing.emails.list
Deleting cached file: 2009-486.... ok
Reloading MailScanner workers:
         MailScanner:       [  OK  ]
    Outgoing postfix:       [  OK  ]

which looks OK, but then on the next run at 11:16 UTC on Sunday

Reading status from /var/cache/ScamNailer/status
Checking that /var/cache/ScamNailer/cache/2009-480 exists... ok
Checking that /var/cache/ScamNailer/cache/2009-480.1 exists... ok
I am working with: Current: 2009-480 - 0 and Status: 2009-480 - 1
No base update required
Update required
Error!: 0<1
Updating live file /var/cache/ScamNailer/phishing.emails.list
Deleting cached file: 2009-480.1.... ok
Reloading MailScanner workers:
         MailScanner:       [  OK  ]
    Outgoing postfix:       [  OK  ]

Somehow to appears that at 05:16 'current' is 2009-480.1, but at 11:16
'current' is 2009-480.0. What happened to 2009-480.1?

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the MailScanner mailing list