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, 17: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, 17: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, 18: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, 18: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, 18: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, 18: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 13th June 2008, 15:31
casamatta casamatta is offline
Junior Member
 
Join Date: Jun 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Something strange

Hi, I'm new here and apologize me for my bad english!

In the web interface I can't see the bottom bar to teach that a message it's spam or not.

I can see only if i set right permissions with:

Code:
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
chmod -R ug+rwx /var/spool/MailScanner
but after only one modification bar disappear.

I encounter another problem in message operation: if i try to teach that a message it's spam or ham in do_message_ops.php page i have this result:

Spam Learn Results
[message.id] spam Invalid argument

If I change permission again, stop and start service i can make operation.

I made correctly all installation steps, system works fine.

A possible solution?!?

Thank you for your time!

Matteo
Reply With Quote
  #8  
Old 14th June 2008, 04:48
Rocky Rocky is offline
Senior Member
 
Join Date: Oct 2005
Posts: 553
Thanks: 14
Thanked 49 Times in 48 Posts
Default

Hey,

Ok so let me try to understand whats going on.

When you apply the permission changes, everything works?

Do you reboot your pc and then lose functionality?
__________________
Home of the SpamSnake
Reply With Quote
  #9  
Old 14th June 2008, 08:25
casamatta casamatta is offline
Junior Member
 
Join Date: Jun 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

Yes! After permission changing everything works properly for only one time. After only one modification for a message I lose bar.

Looking permissions in quarantine folder I see all messages with -rwxrwx--- permissions and touched message is -rw-------only.

After one attmpt to solve this problem (changing in mailscanner configuration masks from 0600 to 0770) everything works fine everytime.

Sorry for my bad and poor english!
Reply With Quote
  #10  
Old 16th June 2008, 13:15
Rocky Rocky is offline
Senior Member
 
Join Date: Oct 2005
Posts: 553
Thanks: 14
Thanked 49 Times in 48 Posts
Default

David,

I think you're missing section 9.11 because you're your mailwatch queue does not show the status of incoming mails. Check it out.
__________________
Home of the SpamSnake
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 21:23
mydomain.com fetches to my router's web interface kreya Installation/Configuration 5 13th June 2007 16:13
ispconfig and enable quarantine of poisoned messages ancile General 1 22nd March 2007 11:07
Problems with the virtual email system with postfix, courier,mysql Greg Parker HOWTO-Related Questions 3 3rd January 2007 17:59
get thousands of "Mailsize" mails from own server torusturtle Installation/Configuration 20 24th December 2006 14:51


All times are GMT +2. The time now is 10:24.


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