Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th May 2008, 18:00
lctn lctn is offline
Junior Member
 
Join Date: May 2008
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default web interface for releasing messages from quarantine

I just did a new install of spamsnake. I haven't implemented a few things at the end of the howto yet, but think I must have missed something earlier in the instructions. I am not getting a web interface for releasing messages from quarantine. Any idea what portion of the docs I may have missed that provides for this, or maybe a permission problem?


Raymond
Reply With Quote
Sponsored Links
  #2  
Old 28th May 2008, 18:59
Rocky Rocky is offline
Senior Member
 
Join Date: Oct 2005
Posts: 553
Thanks: 14
Thanked 49 Times in 48 Posts
Default

Raymond,

I replied to you on the mailscanner list about the permission issue. Anyhow, what steps did you leave out? Also, what happens when you try to hit the MailWatch interface via your web browser? Do you connect to it and can you log into it?

Rocky
__________________
Home of the SpamSnake
Reply With Quote
  #3  
Old 28th May 2008, 19:10
lctn lctn is offline
Junior Member
 
Join Date: May 2008
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default works perfect except for missing message release

Everything works perfect in the web interface. I just don't have a way of releasing messages from quarantine, which makes me think I missed something, or the perms are wrong on a folder?? I stopped at "9.24.1 Dangerous Content:"
Reply With Quote
  #4  
Old 28th May 2008, 19:17
Rocky Rocky is offline
Senior Member
 
Join Date: Oct 2005
Posts: 553
Thanks: 14
Thanked 49 Times in 48 Posts
Default

Ok, try this:

In your MailWatch interface, there should be a [ ] next to each mail. If you click on that it should take you into the actual message, where you can view the header and what mailscanner has revealed about the message. At the very bottom of that message box, you'll see a check box for release. If you check the box and hit submit, it should release the message.

Try that and let me know what happens.

Rocky
__________________
Home of the SpamSnake
Reply With Quote
  #5  
Old 28th May 2008, 19:26
lctn lctn is offline
Junior Member
 
Join Date: May 2008
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default Thanks for your quick reply

I run a few mailscanners with mailwatch, so I and am familiar with the web interface. I am able to view the message details, as you described, but nothing is at the bottom that allows me to release a spam message. I have spam and high spam set to "store" in the config.
Reply With Quote
  #6  
Old 28th May 2008, 19:36
Rocky Rocky is offline
Senior Member
 
Join Date: Oct 2005
Posts: 553
Thanks: 14
Thanked 49 Times in 48 Posts
Default

Raymond,

Make sure you have the following set in /etc/MailScanner/MailScanner.conf:
  • Quarantine User = root
  • Quarantine Group = www-data
  • Quarantine Permissions = 0660
  • Quarantine Whole Message = yes
  • Always Looked Up Last = &MailWatchLogging
  • Quarantine Whole Message As Queue Files = no
  • Detailed Spam Report = yes
  • Include Scores In SpamAssassin Report = yes
Repeat these steps:

chown -R postfix:www-data /var/spool/MailScanner
chown -R postfix:www-data /var/lib/MailScanner
chown -R postfix:www-data /var/run/MailScanner
chown -R postfix:www-data /var/lock/subsys/MailScanner
chown -R postfix:www-data /var/spool/postfix/hold
chmod -R ug+rwx /var/spool/postfix/hold


Finally restart MailScanner, log into your MailWatch interface and test it.
/etc/init.d/mailscanner restart

Rocky
__________________
Home of the SpamSnake
Reply With Quote
  #7  
Old 28th May 2008, 22:18
lctn lctn is offline
Junior Member
 
Join Date: May 2008
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default no progress

Followed your instructions again, changed from using sql for bayes, back to standard setup. Lint test shows the bayes database is being used. Bayes scores each message. Dropped and recreated mailscanner database, and copied over a fresh Mailwatch.pm. No errors in mail.log

Still don't get the section at the bottom of the message detail to release quarantined messages, like my other mailscanners.

I must be missing something simple here
Reply With Quote
  #8  
Old 28th May 2008, 22:54
Rocky Rocky is offline
Senior Member
 
Join Date: Oct 2005
Posts: 553
Thanks: 14
Thanked 49 Times in 48 Posts
Default

Try this:

Code:
 
chmod 750 /var/spool/MailScanner/quarantine
Rocky
__________________
Home of the SpamSnake
Reply With Quote
  #9  
Old 28th May 2008, 23:10
lctn lctn is offline
Junior Member
 
Join Date: May 2008
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default chmod

I had already done that, but did it again.

drwxr-x--- 2 postfix postfix 4096 2008-04-04 21:00 archive
drwxr-x--- 39 postfix postfix 4096 2008-05-28 15:02 incoming
drwxr-x--- 4 postfix www-data 4096 2008-05-28 00:00 quarantine
drwxr-xr-x 2 postfix postfix 4096 2008-05-27 09:05 spamassassin
Reply With Quote
  #10  
Old 28th May 2008, 23:12
lctn lctn is offline
Junior Member
 
Join Date: May 2008
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default do_message_ops.php

I see the portion that is missing is supplied by do_message_ops.php. Is there a way to see if this is erring out when it is called?
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
IPtables rule to let PPTP access LAN brianwebb01 Installation/Configuration 0 1st May 2008 22:23
mydomain.com fetches to my router's web interface kreya Installation/Configuration 5 13th June 2007 17:13
ispconfig and enable quarantine of poisoned messages ancile General 1 22nd March 2007 12:07
Problems with the virtual email system with postfix, courier,mysql Greg Parker HOWTO-Related Questions 3 3rd January 2007 18:59
get thousands of "Mailsize" mails from own server torusturtle Installation/Configuration 20 24th December 2006 15:51


All times are GMT +2. The time now is 05:19.


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