HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Spam & ISPConfig 3. (http://www.howtoforge.com/forums/showthread.php?t=34670)

itsnedkeren 7th May 2009 16:27

Spam & ISPConfig 3.
 
1 Attachment(s)
Hi all.

First off thanks for a great product!

I'm having problems figuring out how to setup the spam function in ISPconfig3.

Info:
Spamfilter is set to "Normal" for all users
I have not configured any black/white-list
Spam subject used -> XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X

Please see attached screenshot!

Question 1: Mails that are for sure spam like a spam test(see above), gets thru the system, BUT they get marked as "SPAM!!!" in the subject. Why are they not bounced, removed, deleted OR moved to the email address I specified in the "Quarantine" tab under "Forward spam to email"???


Question 2: What are reasonable setting for the spam function??


Thanks in advance for any replies.

Best regards
Jimmy

itsnedkeren 9th May 2009 02:10

Anyone able to assist?

sighkick 9th May 2009 05:04

I feel your pain...
 
I am waiting patiently for a How To manual for ISPConfig 3 since the one produced for ISPConfig 2 is completely different.

Appreciate it must be a mammoth task, but sure many would benefit from such a document.

till 9th May 2009 18:17

If you want to get more information about the spamfilter settings, take a look at the amavisd-new configuration. ispconfig uses a default mysql setup as described in the amavisd-new manuals.

itsnedkeren 11th May 2009 13:22

Thanks for all your replies, but even with the Amavisd-new documentation I am not able to filter ANY spam from my mails :(

I can see the spamfilter has some kind of effect as my subjects gets tagget with "***SPAM***", but selecting a kill level of 10 should get rid of a lot of spam, but even so I'm still getting many spam mails.

I've tried to look at mysql and it seems that ISPConfig's connection is working fine as it modifies the entries, but as I said, nothing happens mail wise!

Please someone assist me with this.

Thanks in advance.
Jimmy

Ovidiu 11th May 2009 16:47

well, take a look at the headers of the SPAM mails getting through. what SPAM score do they have? is it above the kill level? if not, that is why they don't get killed.

itsnedkeren 11th May 2009 19:29

I think I have solved the problem.

For some reason, ISPconfig defaults to letting spam pass through.

In the file: /etc/amavis/conf.d/50-user find the following:

Code:

$final_virus_destiny = D_BOUNCE;
$final_spam_destiny = D_PASS;
$final_banned_destiny = D_BOUNCE;
$final_bad_header_destiny = D_PASS;


Change

Code:

$final_spam_destiny = D_PASS;
To

Code:

$final_spam_destiny = D_DISCARD;
Finally issue a restart command for amavis:
Code:

#/etc/init.d/amavis restart
This solved my problem, and from what I see, the values I enter in the ISPconfig config, now works and are being applied as they should. Can anyone confirm this?

Ovidiu 12th May 2009 08:37

confirmed :-)

Ovidiu 12th May 2009 15:13

btw. here are some more explanations: http://www.policyd.org/tiki-index.ph...=Documentation

but I am not sure what to set for:
Quote:

$final_spam_destiny = D_PASS;
if I want SPAMS between the kill level and the quarantine level to be forwarded to a certain email...

3cwired_com 30th May 2009 20:43

I will test this out and hopefully this helps. besides setting the kill level how does one tighten up on what gets killed and not killed, as I was not able to effectively kill anything, while checking the spam headers, i was still getting mail with the required kill level of 6.9. which is quite high for my likings. Please let me know how to change the kill level where it reflects in my mail headers. thanks.


All times are GMT +2. The time now is 09:43.

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