Re: [exim] Help debugging pipe transport

Página Inicial
Delete this message
Reply to this message
Autor: Brian Candler
Data:  
Para: Jason Martens
CC: exim-users
Assunto: Re: [exim] Help debugging pipe transport
On Fri, Apr 15, 2005 at 11:49:24AM -0500, Jason Martens wrote:
> crimereport_transport:
>         driver = pipe
>         command = /usr/local/bin/script
>         current_directory = /tmp
>         group = groupname
>         home_directory = /tmp
>         user = username

>
> This is going to pipe the e-mail message into the /usr/local/bin/script
> right?


Try replacing /usr/local/bin/script with

#!/bin/sh
date >>/tmp/script.log
id >>/tmp/script.log
cat - >>/tmp/script.log
exit 0

(remember chmod 755 /usr/local/bin/script).

Brian.