Email Delivery: Anti-Spam Checking Filter Implementation Issue | Community
Skip to main content
Level 3
June 10, 2021
Solved

Email Delivery: Anti-Spam Checking Filter Implementation Issue

  • June 10, 2021
  • 2 replies
  • 2452 views

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.
Best answer by Jonathon_wodnicki

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

2 replies

RoystonPrAuthor
Level 3
June 11, 2021

@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"').

Jonathon_wodnicki
Community Advisor
Jonathon_wodnickiCommunity AdvisorAccepted solution
Community Advisor
June 11, 2021

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

RoystonPrAuthor
Level 3
June 18, 2021
@jonathon_wodnicki thanks mate. It's working now!