I have some trouble with my spamassassin. I have a require spam-level of 5.0 where sa-exim is supposed to put the mail in a spam-folder and not devliver the mail. But even with scores above 5.0 the mail''s get delivered. Where can I adjust this? What log/config files should I provide so you can see my problem? Regards Lars Nielsen
this is only part of what I have set up for spam filtering, but in the
data ACL:
warn
!acl = acl_local_deny_exceptions
message = X-Spam-Flag: Yes
spam = nobody:true
condition = ${if >{$spam_score_int}{50}{true}{false}}
then in a .forward file:
# Exim filter
if $h_X-Spam-Flag: CONTAINS "Yes"
then
save $home/Maildir/.Spam/
endif
Hope that helps
Regards
--
Jonathan Plews
Quoting Lars Nielsen <lars at lfweb.dk>:
> I have some trouble with my spamassassin. I have a require spam-level of
> 5.0 where sa-exim is supposed to put the mail in a spam-folder and not
> devliver the mail. But even with scores above 5.0 the mail''s get
> delivered.
>
> Where can I adjust this? What log/config files should I provide so you
> can see my problem?
>
> Regards
> Lars Nielsen
>
>
> _______________________________________________
> Pkg-exim4-users mailing list
> Pkg-exim4-users at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users
>
>
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: PGP Digital Signature
URL:
<http://lists.alioth.debian.org/pipermail/pkg-exim4-users/attachments/20110518/be04cedb/attachment.pgp>
Quoting Lars Nielsen <lars at lfweb.dk>:> I have some trouble with my spamassassin. I have a require spam-level of > 5.0 where sa-exim is supposed to put the mail in a spam-folder and not > devliver the mail. But even with scores above 5.0 the mail''s get > delivered. > > Where can I adjust this? What log/config files should I provide so you > can see my problem? > > Regards > Lars Nielsen > > > _______________________________________________ > Pkg-exim4-users mailing list > Pkg-exim4-users at lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users > >This is only part of what I have set up for spam, but in the data ACL: warn !acl = acl_local_deny_exceptions message = X-Spam-Flag: Yes spam = nobody:true condition = ${if >{$spam_score_int}{50}{true}{false}} then in a .forward file: # Exim filter if $h_X-Spam-Flag: CONTAINS "Yes" then save $home/Maildir/.Spam/ endif Hope that helps Regards -- Jonathan Plews - jonathan at plews.org.uk ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: PGP Digital Signature URL: <http://lists.alioth.debian.org/pipermail/pkg-exim4-users/attachments/20110518/5e42728c/attachment.pgp>
On Wed, May 18, 2011 at 10:32:10AM +0100, Jonathan Plews wrote:> Quoting Lars Nielsen <lars at lfweb.dk>: > >I have some trouble with my spamassassin. I have a require spam-level of > >5.0 where sa-exim is supposed to put the mail in a spam-folder and not > >devliver the mail. But even with scores above 5.0 the mail''s get > >delivered. > > > >Where can I adjust this? What log/config files should I provide so you > >can see my problem? > > This is only part of what I have set up for spam, but in the data ACL: > > warn > !acl = acl_local_deny_exceptions > message = X-Spam-Flag: Yes > spam = nobody:true > condition = ${if >{$spam_score_int}{50}{true}{false}} > > then in a .forward file: > > # Exim filter > if $h_X-Spam-Flag: CONTAINS "Yes" > then > save $home/Maildir/.Spam/ > endifTwo differnt things. Lars is using sa-exim, which is third-party software. Jonathan is using exim''s built-in spam filter capabilities. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
ons, 18 05 2011 kl. 13:55 +0200, skrev Marc Haber:> On Wed, May 18, 2011 at 10:32:10AM +0100, Jonathan Plews wrote: > > Quoting Lars Nielsen <lars at lfweb.dk>: > > >I have some trouble with my spamassassin. I have a require spam-level of > > >5.0 where sa-exim is supposed to put the mail in a spam-folder and not > > >devliver the mail. But even with scores above 5.0 the mail''s get > > >delivered. > > > > > >Where can I adjust this? What log/config files should I provide so you > > >can see my problem? > > > > This is only part of what I have set up for spam, but in the data ACL: > > > > warn > > !acl = acl_local_deny_exceptions > > message = X-Spam-Flag: Yes > > spam = nobody:true > > condition = ${if >{$spam_score_int}{50}{true}{false}} > > > > then in a .forward file: > > > > # Exim filter > > if $h_X-Spam-Flag: CONTAINS "Yes" > > then > > save $home/Maildir/.Spam/ > > endif > > Two differnt things. Lars is using sa-exim, which is third-party > software. Jonathan is using exim''s built-in spam filter capabilities. > > Greetings > Marc >Yes it is two different things. Isn''t sa-exim the "official" method to use spamassasin in debian? Or is it more reliable to "hack" the configurationfiles? Then I might as well install everything from source? /Lars
On Wed, May 18, 2011 at 09:13:20PM +0200, Lars Nielsen wrote:> Isn''t sa-exim the "official" method to > use spamassasin in debian? Or is it more reliable to "hack" the > configurationfiles? Then I might as well install everything from source?These are three possibilities to do the job. Choose the one most suited for your needs. I have to violently object to calling configuring exim as "hacking the configuration files". These are _configuration_ _files_. They are _meant_ to be modified. Exim -Needs- to be configured, and the configuration files are the method to do so. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
Quoting Marc Haber <mh+pkg-exim4-users at zugschlus.de>:> On Wed, May 18, 2011 at 09:13:20PM +0200, Lars Nielsen wrote: >> Isn''t sa-exim the "official" method to >> use spamassasin in debian? Or is it more reliable to "hack" the >> configurationfiles? Then I might as well install everything from source? > > These are three possibilities to do the job. Choose the one most > suited for your needs. > > I have to violently object to calling configuring exim as "hacking the > configuration files". These are _configuration_ _files_. They are > _meant_ to be modified. Exim -Needs- to be configured, and the > configuration files are the method to do so. > > Greetings > Marc >Local acl files are an easy way to not modify the main template file, therefore avoiding dpkg asking you about overwrites. -- Jonathan Plews - jonathan at plews.org.uk ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: PGP Digital Signature URL: <http://lists.alioth.debian.org/pipermail/pkg-exim4-users/attachments/20110519/54abd737/attachment.pgp>
On Thu, May 19, 2011 at 09:59:27AM +0100, Jonathan Plews wrote:> Local acl files are an easy way to not modify the main template > file, therefore avoiding dpkg asking you about overwrites.Yes, that is of course the most elegant possibility, but there is some possibility that we may introduce incompatible changes with may break your local setups without dpkg asking you about this fact. Depending on what you want, it might be desireable to have dpkg ask before any breakage happens. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190