[Mimedefang] Errors in /var/log/maillog

Matthew.van.Eerde at hbinc.com Matthew.van.Eerde at hbinc.com
Wed Oct 5 13:15:39 EDT 2005


Lisa Casey wrote:
> to    action_change_header('Subject', "*****SPAM***** $Subject");
...
> Oct  5 11:10:02 Raydeus-Dee mimedefang-multiplexor[22497]: Slave 0
> stderr: Can't find string terminator "`" anywhere before EOF at

Hmmm...

I'd guess you used sendmail.mc-style `quotes'
Note the opening quote is a backtick `
And the closing quote is an apostrophe '

Perl supports many quoting mechanisms, but that isn't one of them.

You can do "Subject" despite the manpage warning, because you don't have anything that looks like an interpolation
You can do 'Subject' (as your line above reads)
DO NOT do `Subject` because perl will try to execute that as a command
DO NOT do `Subject' because perl will keep looking for a closing ` and try to execute everything between the opening ` and the closing ` as a command

-- 
Matthew.van.Eerde (at) hbinc.com               805.964.4554 x902
Hispanic Business Inc./HireDiversity.com       Software Engineer




More information about the MIMEDefang mailing list