On Mon, 20 Nov 2006, John Peacock wrote:
Charlie Brady wrote:
2006-11-20 11:57:59.998412500 [25121] warn: Argument "1.3User:
qpsmtpd\r" isn't numeric in numeric gt (>) at /usr/bin/spamd line 1211,
<GEN1427> chunk 1.
Actually, I find that trailing \r very suspicious myself. I wonder if there is
some way that the e-mail headers were deliberately/accidently broken (extra
CR?), which caused qpsmtpd and dspam to stop talking?
spamd is using IO::Handle::getline - it looks like it might be buggy:
...
$io->getline
This works like <$io> described in "I/O Operators" in perlop
except that it's more readable and can be safely called in a list
context but still returns just one line.
...
We have more than one line, perhaps - although there does appear to be a
missing CRLF. But we can explain the missing CRLF, I think, by this spamd
code:
s/\r?\n//;
Anyone care to dig into IO::Handle?