Re: [Exim] alias & pipe does not work

Startseite
Nachricht löschen
Nachricht beantworten
Autor: George Schlossnagle
Datum:  
To: Andre Esser
CC: exim-users
Betreff: Re: [Exim] alias & pipe does not work
You need the pipe inside the quotes:

rt:     "|/usr/local/rt/bin/rt-mailgate abuse correspond"


ndre Esser wrote:
>
> Hi there,
>
> I've got a problem with piping an alias to a command.
> My /etc/alias looks like:
> rt:     |"/usr/local/rt/bin/rt-mailgate abuse correspond"

>
> mailgate is part of a tracking system. I should get a tracking number after sending a mail
> But all I get is an delivery erroer Message which looks like:
>
> >   rt@???:
> >    generated |"/usr/local/rt/bin/rt-mailgate abuse correspond":
> >    Child process of address_pipe transport returned 69 (could mean service or program unavailable) from command:
> >    "/usr/local/rt/bin/rt-mailgate abuse correspond"

>
> The exim-user archive says that the ploblem lies with the executed programm
> and the user archive of the other software says the problem lies with the MTA.
> Their suggestion (with using sendmail) is:
>
> >Sendmail has a program called smrsh. smrsh restricts what binaries
> >can be run from sendmail aliases. I think it keeps the programs in
> >/etc/smrsh on redhat6. add a symlink from
> >/usr/local/rt/bin/rt-mailgate to /etc/smrsh/rt-mailgate and things
> >should work better.
>
> Is there someting like this in exim ?
>
> Thanx fo help
>
> Andre
> --
> Andre Esser
> andre@???
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##