Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #21  
Old 12th September 2007, 13:09
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,501 Times in 4,330 Posts
Default

Quote:
shouldnt it say something like
No, because spamc does not has this option.

spamc reads the user preferences from the homedir of the user. This should work in 2.2.16 for all users except of the administrators of the website.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
cnavarro (17th December 2007)
Sponsored Links
  #22  
Old 12th September 2007, 13:14
tafkaz tafkaz is offline
Member
 
Join Date: Sep 2007
Posts: 32
Thanks: 0
Thanked 9 Times in 3 Posts
Default

Hi Till,

So where is this pref file that will be used automatically, do i have to tweak it myself or will the preferences in ISPConfig (remove/mark as SPAM) be read...?

At the moment, as i said it seems like all the users get all their spam delivered...

Thanx again
Sascha
Reply With Quote
  #23  
Old 12th September 2007, 13:21
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,501 Times in 4,330 Posts
Default

Quote:
Originally Posted by tafkaz
Hi Till,

So where is this pref file that will be used automatically, do i have to tweak it myself or will the preferences in ISPConfig (remove/mark as SPAM) be read...?
The preferneces file is written by ISPConfig. Have a look in the users home directory.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #24  
Old 12th September 2007, 13:42
tafkaz tafkaz is offline
Member
 
Join Date: Sep 2007
Posts: 32
Thanks: 0
Thanked 9 Times in 3 Posts
Default

hm...


i have
/srv/www/web41/user/web41_user/.spamassassin/user_prefs
or
/srv/www/web41/user/web41_user/user_prefs

neither of them changes when i change the settings through ispconfig

following is in both files, both commented out
# rewrite_header Subject ***SPAM***
allthough in ispconfig i have chosen to remove spam !

The story continues :-)
Reply With Quote
  #25  
Old 12th September 2007, 13:54
tafkaz tafkaz is offline
Member
 
Join Date: Sep 2007
Posts: 32
Thanks: 0
Thanked 9 Times in 3 Posts
Default

ok, ok...i found out they're both changed when i change the spamhits-level from 5 to e.g. 4

so i guess the config files are written ok...
but where is the spam-strategy written in?
i cannot find it in those files

Thanx Sascha
Reply With Quote
  #26  
Old 12th September 2007, 14:20
tafkaz tafkaz is offline
Member
 
Join Date: Sep 2007
Posts: 32
Thanks: 0
Thanked 9 Times in 3 Posts
Default

ok...i found something in the spamassassin.rc file of the user saying:
:0:
* ^X-Spam-Status: Yes
/dev/null

But nevertheless...spam is sent normally to the user...
Reply With Quote
  #27  
Old 12th September 2007, 14:28
tafkaz tafkaz is offline
Member
 
Join Date: Sep 2007
Posts: 32
Thanks: 0
Thanked 9 Times in 3 Posts
Default

And i have this in /var/log/mail.err

Sep 12 13:20:02 whitespace spamd[5588]: Day '0' out of range 1..31 at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/Util.pm line 445

the line in question is:

my $time;
eval { # could croak
$time = timegm($ss, $mm, $hh, $dd, $mmm-1, $yyyy);

Sascha
Reply With Quote
  #28  
Old 12th September 2007, 17:04
tafkaz tafkaz is offline
Member
 
Join Date: Sep 2007
Posts: 32
Thanks: 0
Thanked 9 Times in 3 Posts
Default

I found something out now:
If i choose to "accept" Spam-Mails in ISPConfig and let it rewrite the Subject, the Spam-Mail is perfectly marked as "***SPAM***".
But it doesnt delete Spam-messages if i choose "delete" as my Spam-Strategy in ISPConfig instead.
It simply just sends them to the user then.
What can be wrong here ?

We are really in need of help, because our users are flooded with Spam right now...

Any idea ?

Many thanx again in advance, you're doing an awsome job !!!
Sascha
Reply With Quote
  #29  
Old 12th September 2007, 17:51
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,501 Times in 4,330 Posts
Default

Please post the complete content of the spamassassin.rc file of a user, where the deletion of spam does not work.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #30  
Old 12th September 2007, 17:57
tafkaz tafkaz is offline
Member
 
Join Date: Sep 2007
Posts: 32
Thanks: 0
Thanked 9 Times in 3 Posts
 
Default

here you go (i removed all the remarks) :

:0fw
* < 256000
| /usr/bin/spamc

:0:
* ^X-Spam-Status: Yes
/dev/null

:0
* ^^rom[ ]
{
LOG="*** Dropped F off From_ header! Fixing up. "

:0 fhw
| sed -e '1s/^/F/'
}



And again....great to know you want to help us !!!
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
Calling $Response->Write from perl savimonty Programming/Scripts 5 7th April 2006 17:03


All times are GMT +2. The time now is 07:25.


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