HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Installation/Configuration (
-   -   Spam & ISPConfig 3. (

itsnedkeren 7th May 2009 17: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.

Spamfilter is set to "Normal" for all users
I have not configured any black/white-list

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

itsnedkeren 9th May 2009 03:10

Anyone able to assist?

sighkick 9th May 2009 06: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 19: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 14: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.

Ovidiu 11th May 2009 17: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 20: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:


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



$final_spam_destiny = D_PASS;


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

#/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 09:37

confirmed :-)

Ovidiu 12th May 2009 16:13

btw. here are some more explanations:

but I am not sure what to set for:

$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 21: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 08:46.

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