Re: [exim] Pipe mail to script

Etusivu
Poista viesti
Vastaa
Lähettäjä: Florian Laws
Päiväys:  
Vastaanottaja: 'ml@charliesangels.biz'
Kopio: exim-users
Aihe: 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