List Info

Thread: Spam tag subject line




Spam tag subject line
country flaguser name
United States
2007-04-22 14:17:49
Still haven't been able to get multiple select domains to
tag the 
subject line. Here is all my related settings, can someone
suggest why I 
cannot get subject line tagging for example.com and
example2.com? Do I 
have my arrays setup correctly?

local_domains_maps = ( [".$mydomain",
".example.com", ".example2.com"] );
spam_kill_level_maps = (
  { '.example.com' => 9999, '.example2.com' => 9999, 
},
  $sa_kill_level_deflt,
);
$sa_tag_level_deflt  = -999;
$sa_tag2_level_deflt = 5.0;
$sa_kill_level_deflt = $sa_tag2_level_deflt;
$sa_dsn_cutoff_level = 9;    # spam level beyond which a DSN
is not sent
$sa_mail_body_size_limit = 64*1024; # don't waste time on SA
if mail is 
larger
$sa_local_tests_only = 0;    # only tests which do not
require internet 
access?
$sa_auto_whitelist = 1;

--
Robert

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: Spam tag subject line
country flaguser name
United States
2007-04-22 15:04:24
On Sun, Apr 22, 2007 at 03:17:49PM -0400, Robert Fitzpatrick
wrote:
> Still haven't been able to get multiple select domains
to tag the 
> subject line. Here is all my related settings, can
someone suggest why I 
> cannot get subject line tagging for example.com and
example2.com? Do I 
> have my arrays setup correctly?
> 
> local_domains_maps = ( [".$mydomain",
".example.com", ".example2.com"] );

  I think you've got it set for ".example.com",
which will not match
"example.com".   Try removing the leading dots.

> spam_kill_level_maps = (
>   { '.example.com' => 9999, '.example2.com' =>
9999,  },
>   $sa_kill_level_deflt,
> );
> $sa_tag_level_deflt  = -999;
> $sa_tag2_level_deflt = 5.0;

  Once you have that fixed, you'll probably want to adjust
the tag levels.

  (Disclaimer: I'm running on too little sleep and too
little coffee
this morning, so I might be mistaken.)
  -- Clifton

-- 
    Clifton Royston  --  cliftonriandicomputing.com /
cliftonrlava.net
       President  - I and I Computing * http://www.iandicomput
ing.com/
 Custom programming, network design, systems and network
consulting services

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: Spam tag subject line
country flaguser name
Slovenia
2007-04-22 17:00:19
> > local_domains_maps = ( [".$mydomain",
".example.com", ".example2.com"])
>
>   I think you've got it set for
".example.com", which will not match
> "example.com".   Try removing the leading
dots.

No, no, the .example.com _does_ include example.com, along
with its 
subdomains. See README.lookups.

Note that this is different from Postfix, where .example.com
does not
include example.com.

  Mark

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: Spam tag subject line
country flaguser name
Slovenia
2007-04-22 18:15:41
Robert,

> Still haven't been able to get multiple select domains
to tag the
> subject line. Here is all my related settings, can
someone suggest why I
> cannot get subject line tagging for example.com and
example2.com? Do I
> have my arrays setup correctly?
>
> local_domains_maps = ( [".$mydomain",
".example.com", ".example2.com"] );

The syntax is correct.

Check the log (top-level entries), do recipient addresses
look
like something.example.com, or is it something else?

You do have the:
  $sa_spam_subject_tag = '***SPAM*** ';
line, don't you (the default is undef).

  Mark

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: Spam tag subject line
country flaguser name
United States
2007-04-22 21:52:03
Robert wrote:

> Still haven't been able to get multiple select domains
to tag the 
> subject line. Here is all my related settings, can
someone suggest why I 
> cannot get subject line tagging for example.com and
example2.com? Do I 
> have my arrays setup correctly?

> local_domains_maps = ( [".$mydomain",
".example.com", ".example2.com"] );
> spam_kill_level_maps = (
>   { '.example.com' => 9999, '.example2.com' =>
9999,  },
>   $sa_kill_level_deflt,
> );
> $sa_tag_level_deflt  = -999;
> $sa_tag2_level_deflt = 5.0;
> $sa_kill_level_deflt = $sa_tag2_level_deflt;
> $sa_dsn_cutoff_level = 9;    # spam level beyond which
a DSN is not sent
> $sa_mail_body_size_limit = 64*1024; # don't waste time
on SA if mail is 
> larger

Not related (unless you are testing with messages larger
than 64k),
64k is a small body_size_limit. Something like 256k (or even
400k) is
probably a more typical setting for modern spam.

> $sa_local_tests_only = 0;    # only tests which do not
require internet 
> access?
> $sa_auto_whitelist = 1;

> --
> Robert

As mentioned, if amavisd-new sees the recipient domains as
example.com
or example2.com (or subdomains thereof) and you have
configured
$sa_spam_subject_tag (as you said you have done in a
previous thread)
and you have not deliberately disabled
$sa_spam_modifies_subj, I don't
see what would prevent it from working as expected (unless
you are
also bypassing spam scanning for those domains). Are you?

Gary V


------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )