You need to set the "SpamAssassin User State Dir" to a directory that the "Run As User" can write to : 31 Time(s)
User's home directory /var/spool/mqueue is not writable : 31 Time(s)
User's home directory /var/spool/mqueue is not writable
Re: User's home directory /var/spool/mqueue is not writable
Well that didn't work so I am not sure what to do now.
Re: User's home directory /var/spool/mqueue is not writable
Well I'm not sure why no one will help me with this (hopefully I have not inadvertantly angered anyone) but I'll try one more time for support. I have tried logging into root using putty and ran the chmod 750 /var/spool/mqueue and then the chown mailnull /var/spool/mqueue commands and still get the following errors:
Is there something I'm missing or doing incorrectly?
As previously stated the config settings seem to be the same as Sarah expects them to be according to her post.**Unmatched Entries**
Deleted 1 messages from processing-database : 90 Time(s)
Reading configuration file /usr/mailscanner/etc/conf.d/README : 29 Time(s)
Connected to Processing Attempts Database : 29 Time(s)
Reading configuration file /usr/mailscanner/etc/MailScanner.conf : 29 Time(s)
Found 0 messages in the Processing Attempts Database : 29 Time(s)
You need to set the "SpamAssassin User State Dir" to a directory that the "Run As User" can write to : 17 Time(s)
User's home directory /var/spool/mqueue is not writable : 17 Time(s)
Deleted 2 messages from processing-database : 3 Time(s)
Is there something I'm missing or doing incorrectly?
Re: User's home directory /var/spool/mqueue is not writable
I'm afraid I don't really have any other suggestions. If you changed the directory ownership and permissions correctly and checked it afterwards, it should have worked. Unless there is something else (a cron job or cPanel script) that is changing them back for some reason. Have you checked the ownership and permissions again to see if they are right?
It should look like this:
And in the MailScanner.conf file, make sure there is NOTHING on the line after "SpamAssassin User State Dir = ".
Regards,
Sarah
It should look like this:
Code: Select all
root@server [~]# ls -lad /var/spool/mqueue/
drwxr-x--- 4 mailnull mail 4096 Jan 15 2008 /var/spool/mqueue/
Regards,
Sarah
Re: User's home directory /var/spool/mqueue is not writable
Sarah, first let me say thanks for replying to my post. Much appreciated. Here is my ownership and permission settings after just checking:
http://www.bassonhook.com/images/temp/m ... config.jpg
As I've seen no real issues or problems arise yet, these error messages are they a concern? Do I need to have a users home directory for mailscanner to write to? What does it actually write there?
Update: Okay I guess the cron email was sent before I made the changes as everything seems to be normal today. Thanks for all your help!
Also the SpamAssassin User State Dir = setting can be viewed here:[root@myserver.com ~]$ ls -lad /var/spool/mqueue/
drwxr-x--- 4 mailnull mail 4.0K Mar 30 21:50 /var/spool/mqueue/
http://www.bassonhook.com/images/temp/m ... config.jpg
As I've seen no real issues or problems arise yet, these error messages are they a concern? Do I need to have a users home directory for mailscanner to write to? What does it actually write there?
Update: Okay I guess the cron email was sent before I made the changes as everything seems to be normal today. Thanks for all your help!
Re: User's home directory /var/spool/mqueue is not writable
Glad everything is sorted now.