[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exim and ETRN



At 14:56 20/07/2001 +0100, Philip Hazel wrote:
>On Fri, 20 Jul 2001, Eric Stevance wrote:
>
> > Ok now I can see where a mistake in the script on the cat command I've got
> > this error
> >
> > cat: standard output: Bad file descriptor
>
>There won't be a standard output when the script is run from ETRN. Where
>to you want the output of cat to go?



Philip,

In the script shown in C037 examples, there is a pipe to be taken by exim 
program

if ( test -f /var/spool/exim/etrn/${domain} ); then
  $EXIM_LOCK -q /var/spool/exim/etrn/${domain} "mv 
/var/spool/exim/etrn/${domain} /tmp/etrn-bsmtp-${UNIQ}"
   ( cat /tmp/etrn-bsmtp-${UNIQ}
    echo "QUIT" ) | $EXIM -bS -oMr etrn_requeue
  rm -f /tmp/etrn-bsmtp-${UNIQ}
fi

So ?

Eric


-----
This is the afnog mailing list, managed by Majordomo 1.94.4

To send a message to this list, e-mail afnog at afnog.org
To send a request to majordomo, e-mail majordomo at afnog.org and put
your request in the body of the message (i.e use "help" for help)

This list is maintained by owner-afnog at afnog.org