All mail go to spam folder

freakalis

Verified User
Joined
Oct 23, 2006
Messages
7
I have set set spamassasin to send spam to Inbox (don't block it) using da.

But it still delivers spam to /home/username/.spamassassin/spam

And all mail get's marked as spam

What to do?

Using exim


This gets in the log file
/home/username/.spamassassin/spam <[email protected]> F=<[email protected]> R=domain_filter T=address_file S=5890
 

Attachments

Last edited:
Hey,

If that is the exim.conf file you are using then you need to do the following:

This is part from within your attachment:

Code:
# Spam Assassin
#spamcheck_director:
#  driver = accept
#  condition = "${if and { \
#			{!def:h_X-Spam-Flag:} \
#			{!eq {$received_protocol}{spam-scanned}} \
#			{!eq {$received_protocol}{local}} \
#			{exists{/home/${lookup{$domain}lsearch{/etc/virtual/domainowners}{$value}}/.spamassassin/user_prefs}} \
#		} {1}{0}}"
#  retry_use_local_part
#  transport = spamcheck
#  no_verify

You need to make it look like this:

Code:
# Spam Assassin
spamcheck_director:
  driver = accept
  condition = "${if and { \
			{!def:h_X-Spam-Flag:} \
			{!eq {$received_protocol}{spam-scanned}} \
			{!eq {$received_protocol}{local}} \
			{exists{/home/${lookup{$domain}lsearch{/etc/virtual/domainowners}{$value}}/.spamassassin/user_prefs}} \
		} {1}{0}}"
  retry_use_local_part
  transport = spamcheck
  no_verify

Notice the "#" that are removed on all the lines except the "# Spam Assassin" line.

David
 
Also check the contents of /etc/virtual/domain.com/filter
That file contains the code that determines where an email goes.
It's controlled by the "SPAM Filters" option and the "Spamassassin" option.

John
 
Thanks!

I must i have missed to uncomment this when i replaced the exim.conf.

Great!
 
Back
Top