Tomasz, >> Yes, at first I thought it just doesn't match Linux in local.cf, so I > added it: > > header L_P0F_Unix X-Amavis-OS-Fingerprint =~ > /^((Free|Open|Net)BSD)|Solaris|Linux|HP-UX|Tru64/ > score L_P0F_Unix -0.5 > > OS_fingerprint: 212.227.126.183 -0.503 Linux 2.6? (barebone, rare!), > (distance 9, link: ethernet/modem) > > So it should match it as well, shouldn't it? > Any ideas why /^((Free|Open|Net)BSD)|Solaris|Linux|HP-UX|Tru64/ doesn't > match? "Coz Linux ain't Unix"? :)
Don't know, it does match here if using your rule. Some syntax error? Try: # su vscan -c 'spamassassin --lint' > This one does match though :) > header L_P0F_Linux X-Amavis-OS-Fingerprint =~ /^Linux/ > score L_P0F_Linux -0.1 Ok, so the problem must be in the rule. Btw, I checked the logs and Solaris|HP-UX|Tru64|AIX|Linux do also always appear first in the line, so it be more correct (nitpicking) to extend the outer parenthesis to include them all: header L_P0F_Unix X-Amavis-OS-Fingerprint =~ /^((Free|Open|Net)BSD|Solaris|HP-UX|Tru64)/ Mark ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/