Thanks for that Jason, that has helped quite a bit. I'm now getting this output:

Aug 14 11:44:11 filter-a X-Qmail-Scanner-1.23: [filter-a.epicideas.net109248025148219714] owner of unpacked files (uid=0) doesn't match UID of Qmail-Scanner (uid=7798) - can't expect this to work. Fix whatever is creating files (like "/var/spool/qmailscan/tmp/filter-a.epicideas.net109248025148219714/1092480251.19716-0.filter-a.epicideas.net") with uid=0

# ls -alh /var/spool/qmailscan/tmp/
total 16K
filter-a.epicideas.net10924764734822095
drwx------ 2 qscand root 4.0K Aug 14 10:41 filter-a.epicideas.net10924765014822115
drwx------ 2 qscand root 4.0K Aug 14 11:40 filter-a.epicideas.net109248004948219670
drwx------ 2 qscand root 4.0K Aug 14 11:42 filter-a.epicideas.net109248015648219692
drwx------ 2 qscand root 4.0K Aug 14 11:44 filter-a.epicideas.net109248025148219714


So something is creating the files as qscand user but in roots group. Do you have any idea what this could be? Surely the only thing writing files there should be qmail-scanner?

Nick


Jason Haar wrote:

On Sat, Aug 14, 2004 at 10:45:06AM +0100, Nick Chettle wrote:

I really don't thik there is a bug with my system, I've sucessfully had qmail-scanner 1.22 working, it's just this new (1.23) release.


There are more sanity checks in 1.23.

There is only one place where that error occurs

Replace it with

&error_condition("owner of unpacked files (uid=$uid) doesn't match UID of
Qmail-Scanner (uid=$effective_uid) - can't expect this to work. Fix whatever
is creating files (like \"$filepath\") with uid=$uid");

...and then it'll tell you the actual filename that it didn't like.

Basically it is checking that "$filepath" is owned by "qscand" - and that
check says it isn't.



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to