Mark Edwards wrote: > Okay, I managed to hose exim an hour ago. I have the exim binary
> symbolically linked from /usr/sbin/sendmail on my Mac OSX Server
> machine.
>
> I believe I hosed things by sending something via the sendmail -t (or
> exim -t) command. I was trying to re-send an email from the command
> line.
>
> When I try to fly exim, I get a these types of errors:
>
> /usr/sbin/sendmail: parse error near `\n' [2]
> /usr/sbin/sendmail: command not found: Envelope-to: [2]
> /usr/sbin/sendmail: command not found: Delivery-date: [3]
> /usr/sbin/sendmail: command not found: Received: [4]
> id: H4P0H2-00066K-00: No such user
> /usr/sbin/sendmail: parse error near `mjl@???' [6]
> /usr/sbin/sendmail: unknown file attribute [7]
> /usr/sbin/sendmail: command not found: by [8]
> id: H4P0G4-000669-00: No such user
> /usr/sbin/sendmail: parse error near `mjl@???' [10]
> /usr/sbin/sendmail: parse error near `\n' [12]
> /usr/sbin/sendmail: command not found: X-BFI: [12]
> /usr/sbin/sendmail: command not found: Date: [13]
> /usr/sbin/sendmail: parse error near `\n' [15]
> /usr/sbin/sendmail: command not found: Subject: [15]
> /usr/sbin/sendmail: command not found: To: [16]
> /usr/sbin/sendmail: command not found: MIME-Version: [17]
> /usr/sbin/sendmail: command not found: Content-Type: [18]
> /usr/sbin/sendmail: parse error near `\n' [20]
> /usr/sbin/sendmail: command not found: X-Backed-Up: [20]
> /usr/sbin/sendmail: command not found: X-Spam-Status: [21]
> /usr/sbin/sendmail: command not found:
> REFINANCE,SAVE_MONEY,SAVE_ON_INSURANCE,SPAM_PHRASE_02_03, [23]
> /usr/sbin/sendmail: command not found: WEB_BUGS [24]
>
> exim is trying to parse the email that I sent it with sendmail -t (exim
> -t) as commands. What I can't figure out is where this stuff is being
> stored. I just want to delete what I tried to do, so that exim can run
> again. I can't find this stuff under /var/spool/exim anywhere.
>
> Can anyone tell me where the problem commands that I previously sent to
> exim are being buffered so I can delete them?
This lokks like you did something like
cat message > /usr/sbin/sendmail
instead of
cat message | /usr/sbin/sendmail
reinstall the exim binary, and it will be ok again.