Email Delivery: Anti-Spam Checking Filter Implementation Issue | Community
Skip to main content
Level 3
Jun 10, 2021 12:23 PM UTC
Solved

Email Delivery: Anti-Spam Checking Filter Implementation Issue

Hi Team,

 

After the running the following command, we are facing some unexpected output.

-------------------------------------------------------------------------------------------------------

perl spamcheck.pl TestSpamMail.txt


Output must be a handle, a reference or 'self' at /usr/local/share/perl5/XML/Writer.pm line 480.
--------------------------------------------------------------------

 

Do anyone have idea on this?

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Jonathon_wodnicki
Jonathon_wodnickiAccepted solution
New Participant
Jun 11, 2021 6:34 PM UTC

Hi,

 

That is unusual. Glancing through this code it looks like the OUTPUT param gets set to STDOUT in spamcheck.pl, though this is fine and works on my test instance.

Maybe try deleting the param or commenting it? Line 93 of spamcheck.pl. Default for XML::Writer is stdout anyway.

 

Thanks,

-Jon

3 replies

Jonathon_wodnicki
Jonathon_wodnickiAccepted solution
New Participant
Jun 11, 2021 6:34 PM UTC

Hi,

 

That is unusual. Glancing through this code it looks like the OUTPUT param gets set to STDOUT in spamcheck.pl, though this is fine and works on my test instance.

Maybe try deleting the param or commenting it? Line 93 of spamcheck.pl. Default for XML::Writer is stdout anyway.

 

Thanks,

-Jon

Translate
RoystonPrAuthor
Level 3
Jun 18, 2021 7:19 AM UTC
@jonathon_wodnicki thanks mate. It's working now!
Translate
RoystonPrAuthor
Level 3
Jun 11, 2021 5:35 PM UTC

@jonathon_wodnickiHi Mate, do you have any idea on this issue? We have performed all the steps updated on this https://experienceleague.adobe.com/docs/campaign-classic/using/installing-campaign-classic/additional-configurations/configuring-spamassassin.html?lang=en#installation-steps-in-rhel-centos. After updating the required packages/command/rules, output is not the expected one under the OS and adobe campaign.

 

 

Sever level:- Output must be a handle, a reference or 'self' at /usr/local/share/perl5/XML/Writer.pm line 480.

Adobe Campaign:- Under Email Delivery level - DLV-490066 Anti-spam checking failed (command 'perl /usr/local/neolane/nl6/bin/spamcheck.pl "/tmp/tmp2669-0000.mail"').

Translate