Jeremy,


I took a look at permissions on /var/spool and I am still stumped. Here is what 
the permissions look like and relevant info from my conf files. I am thinking 
maybe I have the permissions right but my conf files don't match the 
permissions. Any thoughts on pointing me in a direction would be appreciated.



root@lxusitsmtpl01:/var<mailto:root@lxusitsmtpl01:/var># ls -l
total 40
drwxr-xr-x  2 root root  4096 Dec 25 06:25 backups
drwxr-xr-x  8 root root  4096 Dec 23 06:47 cache
drwxr-xr-x 36 root root  4096 Dec 23 06:47 lib
drwxrwsr-x  2 root staff 4096 Aug  3 22:01 local
lrwxrwxrwx  1 root root     9 Dec 21 03:03 lock -> /run/lock
drwxr-xr-x 13 root root  4096 Dec 25 06:25 log
drwxrwsr-x  2 root mail  4096 Dec 21 03:03 mail
drwxr-xr-x  2 root root  4096 Dec 21 03:03 opt
lrwxrwxrwx  1 root root     4 Dec 24 12:09 run -> /run
drwxr-xr-x  8 root root  4096 Dec 22 14:21 spool
drwxrwxrwt  2 root root  4096 Dec 22 16:01 tmp
drwxr-xr-x  3 root root  4096 Dec 22 15:10 www

root@lxusitsmtpl01:/var/spool<mailto:root@lxusitsmtpl01:/var/spool># ls -l
total 24
drwxr-xr-x  3 root    root    4096 Dec 21 03:05 cron
lrwxrwxrwx  1 root    root       7 Dec 21 03:03 mail -> ../mail
drwxr-xr-x  6 postfix celeryd 4096 Dec 22 20:44 MailScanner
drwxr-x---  2 root    bin     4096 Dec 22 14:21 mqueue.in
drwxr-xr-x  2 root    root    4096 Apr 13  2012 plymouth
drwxr-xr-x 20 root    root    4096 Dec 21 03:38 postfix
drwxr-xr-x  2 root    root    4096 Mar 30  2012 rsyslog

root@lxusitsmtpl01:/var/spool/MailScanner<mailto:root@lxusitsmtpl01:/var/spool/MailScanner>#
 ls -l
total 16
drwxr-x--- 2 mail    celeryd 4096 Jun  5  2012 archive
drwxr-xr-x 9 postfix celeryd 4096 Dec 24 12:10 incoming
drwxr-xr-x 3 postfix celeryd 4096 Dec 22 22:03 quarantine
drwxr-xr-x 2 postfix celeryd 4096 Dec 22 15:37 spamassassin

root@lxusitsmtpl01:/var/spool/MailScanner/quarantine<mailto:root@lxusitsmtpl01:/var/spool/MailScanner/quarantine>#
 ls -l
total 4
drwxrwx--- 3 postfix celeryd 4096 Dec 22 22:03 20121222

root@lxusitsmtpl01:/var/spool/MailScanner/quarantine/20121222<mailto:root@lxusitsmtpl01:/var/spool/MailScanner/quarantine/20121222>#
 ls -l
total 4
drwxrwx--- 2 postfix celeryd 4096 Dec 22 22:03 nonspam

root@lxusitsmtpl01:/var/spool/MailScanner/quarantine/20121222/nonspam<mailto:root@lxusitsmtpl01:/var/spool/MailScanner/quarantine/20121222/nonspam>#
 ls -l
total 4
-rw-rw---- 1 postfix celeryd 203 Dec 22 22:03 3353721238.ABBFD



MailCanner.conf settings

Run As User = postfix
Run As Group = celeryd
Quarantine Dir = /var/spool/MailScanner/quarantine
MTA = postfix
Quarantine User = celeryd
Quarantine Group = celeryd
Quarantine Permissions = 0660
Quarantine Whole Message = yes
Quarantine Whole Messages As Queue Files = no



baruw.conf settings

%signature-dir% = /etc/MailScanner/signatures
Quarantine User = postfix
Quarantine Group = celeryd
Quarantine Permissions = 0660
Quarantine Whole Message = yes
Quarantine Whole Messages As Queue Files = no
#Inline HTML Signature = htmlsigs.customize
#Inline Text Signature = textsigs.customize
#Signature Image Filename = sigimgfiles.customize
#Signature Image <img> Filename = sigimgs.customize
Attach Image To Signature = yes
Sign Clean Messages = yes
Detailed Spam Report = yes
Include Scores In SpamAssassin Report = yes
Always Looked Up Last = &BaruwaSQL
Is Definitely Not Spam = &BaruwaWhitelist
Is Definitely Spam = &BaruwaBlacklist
Required SpamAssassin Score = &BaruwaLowScore
High SpamAssassin Score = &BaruwaHighScore
Spam Checks = &BaruwaShouldScan



settings.py

# Baruwa only setting

# location of GeoIP IPv6 DB
GEOIP_IPV6_DB = '/usr/share/GeoIP/GeoIPv6.dat'

# mailscanner configuration file
MS_CONFIG = '/etc/MailScanner/MailScanner.conf'

# mailscanner Quick.Peek program location
MS_QUICKPEEK = '/usr/sbin/Quick.Peek'

# Number of days to keep in the quarantine
QUARANTINE_DAYS_TO_KEEP = 60



URL that gives Page unavailable error
http://lxusitsmtpl01/messages/preview/3353721238.ABBFD/



baruwa-access_log error
10.10.97.63 - - [25/Dec/2012:18:08:18 -0500] "GET 
/messages/preview/3353721238.ABBFD/ HTTP/1.1" 500 988



Angelo Valbuena
Senior Technical Analyst


________________________________
From: [email protected] [[email protected]] on 
behalf of Jeremy McSpadden [[email protected]]
Sent: Monday, December 24, 2012 5:51 PM
To: Baruwa users list
Cc: Baruwa users list
Subject: Re: [Baruwa] Preview Message give http 500 error with apache2

He said he's using apache.

--
Jeremy McSpadden
Flux Labs | Endless Solutions
Cell : 850-890-2543 | Fax : 850-254-2955

On Dec 24, 2012, at 4:38 PM, "Mohammed Alli" 
<[email protected]<mailto:[email protected]>> wrote:

Check your nginx logs for signs.

________________________________

From: [email protected]<mailto:[email protected]> 
on behalf of Valbuena, Angelo
Sent: Mon 12/24/2012 2:17 PM
To: [email protected]<mailto:[email protected]>
Subject: [Baruwa] Preview Message give http 500 error with apache2



I have installed baruwa on ubuntu 12.04 LTS and everything seems to be working 
except preview message gives a http 500 error page unavailable error. I checked 
permissions on the /var/spool folders and everything seems to be good. My 
mailscanner.conf looks ok and the settings.py looks ok. I think it is a 
permissions issue but I don't know where to look next. Any help would be 
appreciated.

Angelo Valbuena
Senior Technical Analyst
_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056


_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056
_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056

Reply via email to