This turned out to be some quirkiness with Perl. Had to temp store the variables in newer variable and everything is now working
-----Original Message----- From: mimedefang-boun...@lists.roaringpenguin.com [mailto:mimedefang-boun...@lists.roaringpenguin.com] On Behalf Of Peter Benac Sent: Monday, November 9, 2015 16:16 To: mimedefang@lists.roaringpenguin.com Subject: Re: [Mimedefang] Weird Issue in mimedefang-filter. Sorry Matt. I am looking at the default mimedefang-filter and the variable name was a typo on my part. $req and $hits are both nulled out. -----Original Message----- From: mimedefang-boun...@lists.roaringpenguin.com [mailto:mimedefang-boun...@lists.roaringpenguin.com] On Behalf Of Matt Garretson Sent: Monday, November 9, 2015 15:05 To: mimedefang@lists.roaringpenguin.com Subject: Re: [Mimedefang] Weird Issue in mimedefang-filter. On 11/9/2015 2:57 PM, Peter Benac wrote: > everything is getting marked as spam. For some reason in the subroutine > filter_end between the call to spam_assassin_check and the call to > action_delete_header the contents of $reg and $hits is being stomped > on (set You haven't given us any of your code, but using the example filter as a reference, the variable is "$req" rather than "$reg". Is that the issue? _______________________________________________ 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 _______________________________________________ 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 _______________________________________________ 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