Re: [exim] Pipe mail to script

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Florian Laws
Data:  
Para: 'ml@charliesangels.biz'
CC: exim-users
Asunto: Re: [exim] Pipe mail to script

Mail(at)charliesangels.biz wrote:
> > That will be interpreted as "pipe to a program
> > called 'cat | /opt/bin/gen-wartung.sh'". Why not simply say
> >
> > wartung: "|/opt/bin/gen-wartung.sh"
> > ?
>
> I tried this as well - with no success.
>
> Exim´s main.log says:
>
> 2006-10-23 11:49:51 1GbwRL-0000xq-CN ** | /opt/bin/gen-wartung.sh
> <wartung@???> R=system_aliases
> T=address_pipe:
> return message generated


Your script should not generate any output on stdout or stderr.
Try to check that.

Kind regards,

Florian