[Postfixbuch-users] mails bestimmter user an script übergeben

micho edo micho2 at gmx.de
Do Jun 5 23:33:19 CEST 2008


Hallo,
ich komme immer noch nicht weiter.

1)
in aliases:
localuser: |/usr/bin/nl >>/home/localuser/t2/mailbos

funktioniert wenn ich per mail aus der shell des mailservers eine Mail 
absende.

2)
in virtual_alias_maps:
externeruser at domain.de  -> localuser at cms1
funktioniert bei mails von Extern.

3)
wenn ich das kombiniere, was ich ja eigentlich will, geht´s nicht mehr.
Ich bekomme die Fehlermeldung:
<localuser at cms1> (expanded from <externeruser at domain.de>): Command
died with status 2: "/usr/bin/nl>". Command output: sh: -c: line 0: syntax
     error near unexpected token `newline' sh: -c: line 0: `/usr/bin/nl>'

Das Kommando hat in variante 1 noch funktioniert und von der 
kommandozeite geht´s auch.

Was kann ich tun?




Mehr Informationen über die Mailingliste Postfixbuch-users