ERROR: Can't create temporary directory
Arthur Stephens
arthur.stephens at ptera.net
Tue Jan 15 22:03:31 GMT 2013
# User to run as (not normally used for sendmail)
Run As User = postfix
# Group to run as (not normally used for sendmail)
Run As Group = postifx
# Incoming Work Dir Settings
# --------------------------
#
# You should not normally need to touch these settings at all,
# unless you are using ClamAV and need to be able to use the
# external archive unpackers instead of ClamAV's built-in ones.
# If you want to create the temporary working files so they are owned
# by a user other than the "Run As User" setting at the top of this file,
# you can change that here.
#
# Note: If the "Run As User" is not "root" you cannot change the
# user but may still be able to change the group, if the
# "Run As User" is a member of both of the groups "Run As Group"
# and "Incoming Work Group"
# Note: If the "Run As User" is "root" (or not set at all) and you are
# using the "clamd" virus scanner AND clamd is not running as root,
# then this must be set to the group clamd is using (from your
# clamd.conf), example:
# Incoming Work Group = clamav
# Incoming Work Permissions = 0640
Incoming Work User =
Incoming Work Group =
# If you want processes running under the same *group* as MailScanner to
# be able to read the working files (and list what is in the
# directories, of course), set to 0640. If you want *all* other users to
# be able to read them, set to 0644. For a detailed description, if
# you're not already familiar with it, refer to `man 2 chmod`.
# Typical use: external helper programs of virus scanners (notably ClamAV),
# like unpackers.
# Use with care, you may well open security holes.
#
# Note: If the "Run As User" is "root" (or not set at all) and you are
# using the "clamd" virus scanner, then this must be set:
# Incoming Work Group = clamav
# Incoming Work Permissions = 0640
Incoming Work Permissions = 0640
I have tried both defaults and what is seen here with no change in
behavior...
localhost MailScanner[24926]: ERROR: Can't create temporary directory
On Tue, Jan 15, 2013 at 11:25 AM, Martin Hepworth <maxsec at gmail.com> wrote:
> Read the comments in mailscanner.conf regarding run as group and also the
> clamav sections
>
> Martin
>
> On Tuesday, 15 January 2013, Arthur Stephens wrote:
>
>> Found more info but do not know what to do with it.
>>
>> LibClamAV Error: cli_cvdload(): Can't create temporary directory
>> /var/spool/MailScanner/incoming/SpamAssassin-Temp/tmp.MEXKt7tBWN/clamav-0ae6d431f2c479eaf47e7a3ea69ff06b
>> LibClamAV Error: Can't load /var/lib/clamav/daily.cvd: Can't create
>> temporary directory
>>
>> And when I look in the SpamAssassin-Temp folder I see a file called
>> tmp.MEXKt7tBWN but not a folder
>>
>> Any ideas?
>> --
>> Arthur Stephens
>> Senior Sales Technician
>> Ptera Wireless Inc.
>> PO Box 135
>> 24001 E Mission Suite 50
>> Liberty Lake, WA 99019
>> 509-927-7837
>> For technical support visit http://www.ptera.net/support
>> -----------------------------------------------------------------------------
>>
>> "This message may contain confidential and/or propriety information, and
>> is intended for the person/entity to whom it was originally addressed.
>> Any use by others is strictly prohibited. Please note that any views or
>> opinions presented in this email are solely those of the author and are not
>> intended to represent those of the company."
>>
>
>
> --
> --
> Martin Hepworth, CISSP
> Oxford, UK
>
> --
> 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!
>
>
--
Arthur Stephens
Senior Sales Technician
Ptera Wireless Inc.
PO Box 135
24001 E Mission Suite 50
Liberty Lake, WA 99019
509-927-7837
For technical support visit http://www.ptera.net/support
-----------------------------------------------------------------------------
"This message may contain confidential and/or propriety information, and is
intended for the person/entity to whom it was originally addressed.
Any use by others is strictly prohibited. Please note that any views or
opinions presented in this email are solely those of the author and are not
intended to represent those of the company."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20130115/e0593d21/attachment.html
More information about the MailScanner
mailing list