Discussion:
[Mimedefang] MIMEDefang without SpamAssassin
Chad Cordero
2017-06-08 17:04:40 UTC
Permalink
I have a CentOS 7 box running the packaged mimedefang 2.79-1.e17. I installed it on my Mailman server to include the footer of a list in the body, instead of as an attachment. However, I have now noticed that some messages get a SpamAssassinReport.txt file attached to it. Is there a configuration parameter I can set to not run SpamAssassin? My mailman server is already behind a spam/virus scanner and I only need mimedefang to clean up the footer.


---
Chad Cordero
Information Technology Consultant
Enterprise & Cloud Services
Information Technology Services
California State University, San Bernardino
5500 University Pkwy
San Bernardino, CA 92407-2393
Main Line: 909/537-7677
Direct Line: 909/537-7281
Fax: 909/537-7141
http://support.csusb.edu/

---
Disclaimer: This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer.
Dianne Skoll
2017-06-08 20:16:51 UTC
Permalink
On Thu, 8 Jun 2017 17:04:40 +0000
Post by Chad Cordero
Is there a configuration parameter I can set to not run
SpamAssassin?
You can't use the stock /etc/mail/mimedefang-filter. Create
your own filter and near the top, put this:

$Features{"AutoDetectPerlModules"} = 0;

This will cause MIMEDefang not to drag in various expensive Perl modules
like SpamAssassin. Then write your own filter_end routine to do whatever
processing you need.

Regards,

Dianne.
_______________________________________________
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 ***@lists.roaringpenguin.com
http://lists.roar
Kevin A. McGrail
2017-06-08 20:19:09 UTC
Permalink
Post by Dianne Skoll
You can't use the stock /etc/mail/mimedefang-filter. Create
$Features{"AutoDetectPerlModules"} = 0;
This will cause MIMEDefang not to drag in various expensive Perl modules
like SpamAssassin. Then write your own filter_end routine to do whatever
processing you need.
Ignore my response. It's based on a different filter than stock I realized!

_______________________________________________
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 ***@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimed
Chad Cordero
2017-06-08 20:44:23 UTC
Permalink
Thank you.

-----Original Message-----
From: MIMEDefang [mailto:mimedefang-***@lists.roaringpenguin.com] On Behalf Of Dianne Skoll
Sent: Thursday, June 8, 2017 1:17 PM
To: ***@lists.roaringpenguin.com
Subject: Re: [Mimedefang] MIMEDefang without SpamAssassin

On Thu, 8 Jun 2017 17:04:40 +0000
Post by Chad Cordero
Is there a configuration parameter I can set to not run SpamAssassin?
You can't use the stock /etc/mail/mimedefang-filter. Create your own filter and near the top, put this:

$Features{"AutoDetectPerlModules"} = 0;

This will cause MIMEDefang not to drag in various expensive Perl modules like SpamAssassin. Then write your own filter_end routine to do whatever processing you need.

Regards,

Dianne.
_______________________________________________
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 ***@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

_______________________________________________
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 ***@lists.roaringpenguin.com
http://lists.roari

Kevin A. McGrail
2017-06-08 20:17:55 UTC
Permalink
Post by Chad Cordero
I have a CentOS 7 box running the packaged mimedefang 2.79-1.e17. I
installed it on my Mailman server to include the footer of a list in
the body, instead of as an attachment. However, I have now noticed
that some messages get a SpamAssassinReport.txt file attached to it.
Is there a configuration parameter I can set to not run SpamAssassin?
My mailman server is already behind a spam/virus scanner and I only
need mimedefang to clean up the footer.
In your mimedefang-filter, set this:

# Disable SpamAssassin (For Example, to use procmail mode for SpamAssassin);
$Features{"SpamAssassin"} = 0;

Regards,
KAM
_______________________________________________
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 ***@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimed
Loading...