Re: [exim] Pipe mail to script

Pàgina inicial
Delete this message
Reply to this message
Autor: Florian Laws
Data:  
A: 'ml@charliesangels.biz'
CC: exim-users
Assumpte: 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