-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 20 Jan 2015, Francis Cabrera wrote:

I already did that but unfortunately it was falls beyond their area of
expertise but I have send the configuration file that i found for them
to check it if there is something that they can do.

the default location would be in /etc/mail/sa-mimedefang.cf the setting required_hits.

But different systems use different default pathes and MIMEDefang could pull the default settings from anywhere, if axigen modified the MIMEDefang scripts.


On Tue, Jan 20, 2015 at 3:15 PM, Steffen Kaiser
<skmimedef...@smail.inf.fh-bonn-rhein-sieg.de> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 20 Jan 2015, Francis Cabrera wrote:

May I request for a help on how to remove  " SpamAssassinReport.txt "
being always attached on my emails I am using axigen email systems. I
already check mimedefang-filter.


You should ask your axigen support - it's commercial after all. This snippet
adds the report only, if the SPAM score is above the configured required
minimum limit.


# Spam checks if SpamAssassin is installed
   if ($Features{"SpamAssassin"}) {
       if (-s "./INPUTMSG" < 100*1024) {
           # Only scan messages smaller than 100kB.  Larger messages
           # are extremely unlikely to be spam, and SpamAssassin is
           # dreadfully slow on very large messages.
           my($hits, $req, $names, $report) = spam_assassin_check();
           my($score);
           if ($hits < 40) {
               $score = "*" x int($hits);
           } else {
               $score = "*" x 40;
           }
           # We add a header which looks like this:
           # X-Spam-Score: 6.8 (******) NAME_OF_TEST,NAME_OF_TEST
           # The number of asterisks in parens is the integer part
           # of the spam score clamped to a maximum of 40.
           # MUA filters can easily be written to trigger on a
           # minimum number of asterisks...
           if ($hits >= $req) {
               action_change_header("X-Spam-Score", "$hits ($score)
$names");
               md_graphdefang_log('spam', $hits, $RelayAddr);

               # If you find the SA report useful, add it, I guess...
               action_add_part($entity, "text/plain", "-suggest",
                               "$report\n",
                               "SpamAssassinReport.txt", "inline");
           } else {
               # Delete any existing X-Spam-Score header?
               action_delete_header("X-Spam-Score");
           }
       }
   }


- -- Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEVAwUBVL4AkVGgR0+MU/4GAQJUzggAjtkoeiQjDqLtm6Pqkt1tLvW/NZ8qIqrO
QbtMipon/uWmo3lnEQjLCkItkoZ/5j4LnIzUAPN0NJIeo9RK1YA/0MPStyrqWV1K
0/GhlTKQ0sDmGc10q/OrOkBloUx5VNb8rv4Rm6xHfxzHjlKgI5BGgn8jRK0Z8Nnv
LGLDnTaBK/jTT6dDBzYGJElB2WFidks2o4UGmGywMplzvtW0DiZjqijT5ZFUe8y1
zcNwV1upTPl96IEYLUpKdaAQyZtVBL0J6xQwx/gHndaob8jFLBdbJOwwYCEUDksL
+iWBz9iINscOJq9XUCLcZA0Ii81r0KBOz/hod35wNDTfaq9z/xuxMg==
=utqB
-----END PGP SIGNATURE-----





- -- Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEVAwUBVL4tWVGgR0+MU/4GAQLUQAgAoLCSzXtBHIlFC29EidaWqIjpGedlei1z
SnrCS72pTP5mIBTeUrsgK7ZuqF0UUM3K6ljAvkyqgKPe6K8pruWaLdD/7nK37sR9
LWnCn5yqqrv2WyEh7ep4FEE6PHxv8is8GZztGylkYfTOGYnOTmTOXsmoJ7yDliP/
xHN698vJg9A+RNG3+DMO3gP6naFyVl+O0ldZb21umf0/p2WSNKswzoSYcRnty2J7
oqBdBmZqk1GRlkikH+EOvoqO85MrT5Wk6+oiaWl5TCUbA8xuvq60L4ru1G7kC4Ym
hUPkhwrruJLCIBqwyWdMWXN60jm2oAR1ndvtqbRNJK8scl1NvnhnvQ==
=4fL/
-----END PGP SIGNATURE-----
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to