Wide character in subroutine entry

Steve Scotter amavis-users at spectrumcs.net
Thu Jul 9 10:19:47 CEST 2015

Hi all,

Version Info
# uname -a
FreeBSD maroon.spectrumcs.net 9.3-RELEASE-p13 FreeBSD 9.3-RELEASE-p13 #0: Tue Apr  7 03:01:12 UTC 2015
# perl -v
This is perl 5, version 20, subversion 2 (v5.20.2) built for amd64-freebsd-thread-multi
]# amavisd -V
amavisd-new-2.10.1 (20141025)
# postconf mail_version
mail_version = 2.11.5

I've been seeing this issue for a couple of months now and I thought upgrading perl from 5.18 to 5.20 would resolve it. However, I upgrading perl at the weekend and the issue still exists.

Every so often I get a message stuck in my postfix pre amavis queue, here are the logs of a example


3mRR2L3Hfpz6lxM to=<recipient at example.com>, relay=amavis.example.com[]:10040, delay=21443, delays=21441/0/0.01/2.6, dsn=4.5.0, status=deferred (host amavis.example.com[] said: 451 4.5.0 Error in processing, id=77737-09, main_log_entry FAILED: Wide character in subroutine entry at /usr/local/sbin/amavisd line 3119. (in reply to end of DATA command))

3mRR2L3Hfpz6lxM from=<ConsumerAlerts???KidsLiveSafe at abeautyicon.com>, size=61290, nrcpt=1 (queue active)


Doing a postcat on the mail files indicates the from address is 

From: "Consumer Alerts – Kids Live Safe" <ConsumerAlerts–KidsLiveSafe at abeautyicon.com>

However, looking at the message via Webmin's postfix queue module the from address is shown as...

From	"Consumer Alerts – Kids Live Safe" <ConsumerAlerts–KidsLiveSafe at abeautyicon.com>


In all the instances I have seen the senders address has had question marks in it (when I looked via postqueue -p, hadn't look via postcat or webmin before today). Typically the message is a spam message do I just delete it from the postfix queue.

It looks to me as the though the issue us Unicode related so I'm concerned that eventually a legitimate message might get stuck in the queue due to the same problem. Is this fear unfounded? Are the messages only getting stuck because a spammers is trying something clever or could legitimate messages eventually start using these Unicode characters too?

Kind regards


This email is for the use of the intended recipient(s) only. If you have received this email in error, please notify the sender immediately and then delete it. 
If you are not the intended recipient, you must not keep, use, disclose, copy or distribute this email without the author’s prior permission. 
We have taken precautions to minimise the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this message.
We cannot accept liability for any loss or damage caused by software viruses.
The information contained in this communication may be confidential and may be subject to the attorney-client privilege. 
If you are the intended recipient and you do not wish to receive similar electronic messages from us in future then please respond to the sender to this effect.

More information about the amavis-users mailing list