Still having spam issues

I'm presuming from reading this thread that you buy shared hosting from a hosting provider. It may be unrealistic to expect a shared hosting provider to make changes to systems which work for everyone else, just for you.

Do you use shared hosting service? Or do you have your own physical server or VPS?

Jeff
 
We have shared hosting on a VPS.

If spam assassin is quarantining emails, before the filter has chance to do it's work, then there has to be some mis-configuration somewhere.
It worked OK prior to the bug in May, and doesn't work now after the fix.
It seems that no one else on the forum has mentioned it, so I can only assume that our server has something going on.
 
The Exim filter mentions "user changes will over write the filter".
If the hosting team ammends the exim filter to change the checking prioriity, will any changes or additions that I make in the DA gui, not over write the changes the host makes ?
 
Why do you share your stats? I receive one email per two or three hours about loans, another about viagra, and other spam. Do you need my stat? In my case we have 3 different charsets for Cyrillic, and every stop word should be written in them all to be more effective.... but still SA makes the things, and stop words are not checked.

I guess your issue was already noticed, and as nobody suggested any workable solution to solve the two issues in one yet, then there is no such a solution probably... and you really should either find your own solution here or in exim mailing lists, or hire somebody for configuring exim filters for you.
 
It was my way of bumping the thread to try and keep it live.
I'm getting no where on the forum, is there an official route to report this problem ?
 
Below is a cut down, cleaned up version of my domains exim filter.

I have 3 questions please, then I give in and have to live with it..

1. The exim filter says created by V1.33.1, yet our domain is on 1.43.
Does 1.43 have a different filter, if so how do i get this, and would it make any difference.

2. If i make any manual changes to the filter (ie the checking order), and then make a front end user change, will the checking order revert back ?

3. What changes do I need to make to the checking order, so the blocker works before Spam Assassin.

# Exim Filter

# created by DirectAdmin, version 1.33.1
# Do not modify this file as any changes will be
# overwritten when the user makes a change.
# (data is only written to this file, not read)



if
$h_X-Spam-Level: contains "***************"
then
seen finish
endif


if
$h_X-Spam-Status: contains "Yes,"
then
if
$local_part is "mydomain"
then

save /home/mydomain/Maildir/.INBOX.spam/new/ 660
else
save /home/mydomain/imap/$domain/$local_part/Maildir/.INBOX.spam/new/ 660

endif
finish
endif


if error_message then finish endif

if
$header_subject: contains "viagra" or $message_headers contains "viagra" or $message_body: contains "viagra"

then
seen finish
endif



if
$header_subject: contains "f***" or $message_headers contains "f***" or $header_from: contains "f***"

then
seen finish
endif


#end filter
 
1. The exim filter says created by V1.33.1, yet our domain is on 1.43.
You using any custom filter? Look in /usr/local/directadmin/data/templates/custom/ for a filter_base.....

Or try rewriting the filters
Code:
[COLOR=#000000][FONT=courier new]echo "action=rewrite&value=filter" >> /usr/local/directadmin/data/task.queue[/FONT][/COLOR]
 
I'm not aware of any custom filters, and the guys have now run the filter rewrite, however, email is still landing in the spam folder where it should have been dropped.
 
Still no updates or ideas guys. ?
I've been asked to create a new drop rule today, but as the filters are not working, i've had to explain to the user that this would be a waste of time as it stands.

Surely it's just a matter of changing these two sections around to force the filters to run 1st is it not.?

if
$h_X-Spam-Status: contains "Yes,"
then
if
$local_part is "mydomain"
then

save /home/mydomain/Maildir/.INBOX.spam/new/ 660
else
save /home/mydomain/imap/$domain/$local_part/Maildir/.INBOX.spam/new/ 660

endif
finish
endif


if error_message then finish endif

if
$header_subject: contains "viagra" or $message_headers contains "viagra" or $message_body: contains "viagra"

then
seen finish
endif


Anyone ?
 
Last edited:
Hello,

1) Update DA to 1.43.3. The 1.33.3 version you're running is quite old.
Admin Level -> Licenses/Updates -> Update DA.

2) Check the headers of the emails to ensure they actually have the X-Spam headers to ensure that SA is actually working.
Related http://help.directadmin.com/item.php?id=280

3) If there are headers, but your emails are still not being redirected.. then the filters or the exim binary may not be correct.. somehow.
- Try updating exim to 4.80.1: http://help.directadmin.com/item.php?id=125
- Ensure there are no custom templates:
Code:
ls -la /usr/local/directadmin/data/templates/custom

4) If it is still acting strangely, or you're having issues, send us an email to support@ or use the safesubmit.php

John
 
Back
Top