09 February 2011

qmail-inject: fatal: unable to parse this line:

The full message (with email addresses redacted) was:


qmail-inject: fatal: unable to parse this line:
To: REDACTED;REDACTED;REDACTED
system error calling qmail-inject


The problem was probably due to the ';' used to seperate email addesses (that were NOT enclosed in <>) and that the vpopmail user had set a .qmail file to redirect all their mail.

So, the email log look something like...


qmail: 1297251062.876788 new msg 4515421
qmail: 1297251062.876812 info msg 4515421: bytes 387 from <REDACTED1> qp 7531 uid 64020
qmail: 1297251062.893855 starting delivery 286560: msg 4515421 to local skinny-jet.co.uk-REDACTED2@skinny-jet.co.uk
qmail: 1297251062.893873 status: local 1/10 remote 1/20
qmail: 1297251062.896739 delivery 286560: failure: qmail-inject:_fatal:_unable_to_parse_this_line:/To:_REDACTED;REDACTED;REDACTED/system_error_calling_qmail-inject/
qmail: 1297251062.896755 status: local 0/10 remote 1/20
qmail: 1297251062.910979 bounce msg 4515421 qp 7535
qmail: 1297251062.910996 end msg 4515421


Changing the ';' to ',' in the "To" header fixed the problem.