Permissions Issue ?

Glenn Steen glenn.steen at gmail.com
Mon Aug 3 12:49:56 IST 2009


2009/8/3 --[ UxBoD ]-- <uxbod at splatnix.net>:
> ----- "Julian Field" <MailScanner at ecs.soton.ac.uk> wrote:
>
>> I think your postfix's home directory is
>> /var/spool/MailScanner/incoming.
>>
>> You need to point it somewhere else such as /var/spool/postfix (but
>> make
>> sure you create /var/spool/postfix correctly first).
>> Your razor installation is writing ~/.razor/razor-agent.log in the
>> MailScanner incoming work area, and it's creating it with tight
>> permissions. It shouldn't be in there at all.
>>
>> On 03/08/2009 10:58, --[ UxBoD ]-- wrote:
>> > Hi,
>> >
>> > Am getting the following error :-
>> >
>> > Clamd::ERROR:: UNKNOWN CLAMD RETURN ./razor-agent.log/Access denied.
>> ERROR :: /var/spool/MailScanner/incoming/27836
>> >
>> > but cannot seem to track it down.  I have setup MailScanner.conf
>> with the following :-
>> >
>> > Run As User = postfix
>> > Run As Group = postfix
>> > Incoming Work User = clamav
Above should be postfix, since clamd would be OK with only group
access... And I'd set trhat to 0660, not 0644 (might still work with
that:-).

>> > Incoming Work Group = clamav
>> > Incoming Work Permissions = 0644
>> >
>> > Any ideas please as I thought from running before they are right ?
>> >
>> > Best Regards,
>> >

Another thought is that this seems to be a "misplaced" razor agent log
file, so doublecheck that you've configured razor correctly (so that
it knows where to put that, and athat that place is writable to
postfix (the user)).

Cheers
-- 
-- Glenn

>> >
>>
>> Jules
>>
>> --
>> Julian Field MEng CITP CEng
>> www.MailScanner.info
>> Buy the MailScanner book at www.MailScanner.info/store
>>
>> Need help customising MailScanner?
>> Contact me!
>> Need help fixing or optimising your systems?
>> Contact me!
>> Need help getting you started solving new requirements from your
>> boss?
>> Contact me!
>>
>> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>> Follow me at twitter.com/JulesFM and twitter.com/MailScanner
>>
>>
> Hmmm Jules,
>
> grep postfix /etc/passwd
> postfix:x:89:89::/var/spool/postfix:/sbin/nologin
>
> Outgoing Queue Dir = /var/spool/postfix/incoming
> Incoming Work Dir = /var/spool/MailScanner/incoming
> Processing Attempts Database = /var/spool/MailScanner/incoming/Processing.db
> SpamAssassin Cache Database File = /var/spool/MailScanner/incoming/SpamAssassin.cache.db
> SpamAssassin Temporary Dir = /var/spool/MailScanner/incoming/SpamAssassin-Temp
> Lockfile Dir = /var/spool/MailScanner/incoming/Locks
>
>
> Best Regards,
>
> --
> This message has been scanned for viruses and
> dangerous content and is believed to be clean.
>
> SplatNIX IT Services :: Innovation through collaboration
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>



-- 
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se


More information about the MailScanner mailing list