develooper Front page | perl.qpsmtpd | Postings from August 2016

Re: Spamassassin plugin: Can't call method ... on an undefined value

Thread Previous | Thread Next
From:
Charlie Brady
Date:
August 10, 2016 19:34
Subject:
Re: Spamassassin plugin: Can't call method ... on an undefined value
Message ID:
Pine.LNX.4.64.1608101532560.20368@e-smith.charliebrady.org


On Wed, 27 Jul 2016, markus schnalke wrote:

> Hoi,
> 
> I'm using qpsmtpd and am quite happy with it. Now I encountered
> a problem, when someone sent a message with an (as the sender
> said) empty body to me.

You might want to look at:

http://grokbase.com/t/perl/qpsmtpd/118f562eah/patch-tweak-qps-header-handling-for-messages-with-no-body

"tweak QP's header handling for messages with no body"
 
> This is the relevant part of the logfile:
> 
> 	Thu Jul 21 17:51:45 2016 quagga[18965]: 250 <foo@openmailbox.org>, sender OK - how exciting to get mail from you!
> 	Thu Jul 21 17:51:45 2016 quagga[18965]: dispatching RCPT TO:<bar@marmaro.de>
> 	Thu Jul 21 17:51:45 2016 quagga[18965]: 250 <bar@marmaro.de>, recipient ok
> 	Thu Jul 21 17:51:45 2016 quagga[18965]: dispatching DATA
> 	Thu Jul 21 17:51:45 2016 quagga[18965]: 354 go ahead
> 	Thu Jul 21 17:51:45 2016 quagga[18965]: FATAL PLUGIN ERROR [spamassassin]:  Can't call method "as_string" on an undefined value at /usr/share/qpsmtpd/plugins/spamassassin line 163.
> 
> 	Thu Jul 21 17:51:45 2016 quagga[18965]: FATAL PLUGIN ERROR [spamassassin]:  Can't call method "get" on an undefined value at /usr/share/qpsmtpd/plugins/spamassassin line 257.
> 
> 	Thu Jul 21 17:51:45 2016 quagga[18965]: FATAL PLUGIN ERROR [spamassassin]:  Can't call method "get" on an undefined value at /usr/share/qpsmtpd/plugins/spamassassin line 257.
> 
> 	Thu Jul 21 17:51:45 2016 quagga[18965]: forwarding to localhost:25
> 	Thu Jul 21 17:51:45 2016 quagga[18965]: FATAL PLUGIN ERROR [queue::smtp_2dforward]: Can't call method "as_string" on an undefined value at /usr/share/qpsmtpd/plugins/queue/smtp-forward line 60.
> 
> 	Thu Jul 21 17:51:45 2016 quagga[18965]: 451 Queuing declined or disabled; try again later
> 	Thu Jul 21 17:51:45 2016 quagga[18965]: dispatching QUIT
> 	Thu Jul 21 17:51:45 2016 quagga[18965]: 221 quagga closing connection. Have a wonderful day.
> 
> 
> I'm using qpsmtpd from the Debian package version 0.84-9.
> 
> The spamassassin line in the plugins file reads:
> 
> 	spamassassin munge_subject_threshold 8 reject_threshold 12 leave_old_headers rename
> 
> 
> Is this a known problem? How can I solve it?
> 
> Help is appreciated.
> 
> 
> meillo
> 
> 
> P.S.
> Thanks for developing qpsmtpd, which I think is great software!
> 

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About