procmail
[Top] [All Lists]

Re: Autoresponder problem

1999-09-22 10:25:25
Dave Stone wrote,

| Whenever this recipe executes I get
| a "sh error (2) unexpected end of file" on the line
| that pipes the response to sendmail:
| 
|    | $SENDMAIL -oi -t

It sounds as if $SENDMAIL is pointed to a shell script rather than to a
binary MTA, and that shell script ends with

1. an unmatched quote left open
2. an unmatched parenthesis or brace left open
3. an unclosed if or while or for or case structure
4. no terminating newline on its last line

or something similar.

However, is 

 | $SENDMAIL -oi -t

the entire action line of the recipe, or is it the tail end of one that
actually invokes some other command and pipes the output to $SENDMAIL?
If the latter, then maybe the command earlier on the line (whose output
is piped to $SENDMAIL) could be the cause of the problem.

<Prev in Thread] Current Thread [Next in Thread>