#1  
Old 31st January 2009, 12:24
cjc81 cjc81 is offline
Junior Member
 
Join Date: Jan 2007
Location: Singapore
Posts: 27
Thanks: 5
Thanked 2 Times in 1 Post
Send a message via MSN to cjc81
Default SpamSnake's MailScanner

I'm getting this error showing up in the log file.

Quote:
MailScanner[16143]: /var/spool/MailScanner/incoming/16143/./ECD0128618F00.B8381/msg-16143-2.html: Unable to create temporary directory
The following is output of ls -al /var/spool/MailScanner

Quote:
root@notgamble:/var/spool/MailScanner# ls -al
total 8
drwxr-x--- 6 postfix www-data 71 Jan 28 15:24 .
drwxrwxrwx 6 root root 71 Jan 28 15:23 ..
drwxr-x--- 2 postfix www-data 6 May 1 2007 archive
drwxrwxrwx 15 postfix www-data 4096 Jan 31 19:20 incoming
drwxr-x--- 2 postfix www-data 6 May 1 2007 quarantine
drwxr-xr-x 2 postfix www-data 6 Jan 28 15:24 spamassassin
Any idea?
Reply With Quote
Sponsored Links
  #2  
Old 1st February 2009, 13:26
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

What are the outputs of
Code:
ls -la /var/spool/MailScanner/incoming/
and
Code:
df -h
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 2nd February 2009, 07:35
cjc81 cjc81 is offline
Junior Member
 
Join Date: Jan 2007
Location: Singapore
Posts: 27
Thanks: 5
Thanked 2 Times in 1 Post
Send a message via MSN to cjc81
Default

Here it is.

Quote:
root@notgamble:/var/spool# ls -la /var/spool/MailScanner/incoming/
total 72
drwxrwxrwx 20 postfix www-data 4096 Feb 2 14:32 .
drwxrwxrwx 6 postfix www-data 71 Jan 28 15:24 ..
drwxrwxrwx 2 postfix www-data 6 Jan 31 19:20 1063
drwxrwxrwx 2 postfix www-data 6 Jan 31 18:33 14305
drwxrwxrwx 2 postfix www-data 6 Jan 31 18:35 14821
drwxrwxrwx 2 postfix www-data 6 Jan 31 18:36 14866
drwxrwxrwx 2 postfix www-data 6 Jan 31 18:36 14902
drwxrwxrwx 2 postfix www-data 6 Jan 31 18:37 14949
drwxrwxrwx 2 postfix www-data 6 Jan 31 18:46 15021
drwx------ 2 postfix www-data 6 Feb 2 11:46 1507
drwxrwxrwx 2 postfix www-data 6 Jan 31 18:48 15566
drwxrwxrwx 2 postfix www-data 6 Jan 31 18:49 15711
drwxrwxrwx 2 postfix www-data 6 Jan 31 18:51 15800
drwxrwxrwx 2 postfix www-data 6 Jan 31 18:51 15873
drwxrwxrwx 3 postfix www-data 65 Jan 31 18:59 15925
drwxrwxrwx 2 postfix www-data 6 Jan 31 19:06 16143
drwx------ 2 postfix www-data 6 Feb 2 11:47 1668
drwx------ 3 postfix www-data 65 Feb 2 14:32 1762
drwxrwxrwx 2 postfix www-data 6 Jan 31 19:35 2260
drwx------ 4 postfix www-data 124 Feb 2 11:39 28416
-rwxrwxrwx 1 postfix www-data 64512 Feb 2 14:32 SpamAssassin.cache.db
Quote:
root@notgamble:/var/spool# df -h
Filesystem Size Used Avail Use% Mounted on
simfs 7.7G 4.1G 3.7G 53% /
tmpfs 3.5G 48K 3.5G 1% /var/run
tmpfs 3.5G 4.0K 3.5G 1% /var/lock
tmpfs 3.5G 0 3.5G 0% /dev/shm
tmpfs 3.5G 48K 3.5G 1% /var/run
tmpfs 3.5G 4.0K 3.5G 1% /var/lock
Seems like mailscanner is creating the directories without giving itself enough permissions to read it.
Reply With Quote
  #4  
Old 3rd February 2009, 19:20
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

What's the output of
Code:
ls -la /var/spool/MailScanner/incoming/16143/./ECD0128618F00.B8381/
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 3rd February 2009, 20:47
cjc81 cjc81 is offline
Junior Member
 
Join Date: Jan 2007
Location: Singapore
Posts: 27
Thanks: 5
Thanked 2 Times in 1 Post
Send a message via MSN to cjc81
Default

Here it is.

Quote:
jason@notgamble:/var/spool/MailScanner/incoming$ sudo ls -la 19349
total 8
drwx------ 2 postfix www-data 6 Feb 4 03:29 .
drwxrwxrwx 21 postfix www-data 4096 Feb 4 03:29 ..
jason@notgamble:/var/spool/MailScanner/incoming$
Reply With Quote
  #6  
Old 4th February 2009, 17:10
Rocky Rocky is offline
Senior Member
 
Join Date: Oct 2005
Posts: 553
Thanks: 14
Thanked 49 Times in 48 Posts
Default

This is what I have on those folders:


drwxr-x--- 6 postfix www-data 4096 2008-04-25 11:41 .
drwxr-xr-x 8 root root 4096 2008-10-08 13:38 ..
drwxr-x--- 2 postfix www-data 4096 2008-04-04 22:00 archive
drwxr-x--- 38 postfix clamav 4096 2009-02-04 10:52 incoming
drwxr-x--- 10 postfix www-data 4096 2009-02-04 00:01 quarantine
drwxr-x--- 2 postfix www-data 4096 2008-04-25 11:41 spamassassin

Have you finished the complete setup? If not, what step are you on?

Rocky
__________________
Home of the SpamSnake
Reply With Quote
  #7  
Old 5th February 2009, 06:36
cjc81 cjc81 is offline
Junior Member
 
Join Date: Jan 2007
Location: Singapore
Posts: 27
Thanks: 5
Thanked 2 Times in 1 Post
Send a message via MSN to cjc81
 
Default

Quote:
Originally Posted by Rocky View Post
This is what I have on those folders:


drwxr-x--- 6 postfix www-data 4096 2008-04-25 11:41 .
drwxr-xr-x 8 root root 4096 2008-10-08 13:38 ..
drwxr-x--- 2 postfix www-data 4096 2008-04-04 22:00 archive
drwxr-x--- 38 postfix clamav 4096 2009-02-04 10:52 incoming
drwxr-x--- 10 postfix www-data 4096 2009-02-04 00:01 quarantine
drwxr-x--- 2 postfix www-data 4096 2008-04-25 11:41 spamassassin

Have you finished the complete setup? If not, what step are you on?

Rocky
Yes, i've completed the setup.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mailscanner will not start after trying to install Mailscanner-MRTG markerman Server Operation 8 9th October 2009 13:28
domain keys with postfix and mailscanner serge005 HOWTO-Related Questions 0 20th April 2008 22:15
mailscanner and spamassassin is blocking a file mark.epker Installation/Configuration 0 8th November 2007 13:50
Amavis change to Mailscanner planet_fox General 1 11th July 2007 09:15
MailScanner bill_k_lopez Installation/Configuration 7 1st March 2006 10:13


All times are GMT +2. The time now is 21:02.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.