RE: [exim] exim + virtual accoun + sms notify

Top Page
Delete this message
Reply to this message
Author: Hochstrasser Benedikt
Date:  
To: exim-users
CC: magafik
Subject: RE: [exim] exim + virtual accoun + sms notify
George "magafik@???" wrote:

>>>

added in transport section :
ms_tr:
driver=pipe
ignore_status
command = cat /var/spool/virtual/lap.pl/gregor | email2SMS -l
/bin/.list -n
135 -FS -ad -af -k | mail " +4860xxxxxx@???"
user = nobody
group = nobody

when someone is sending mail to me , in logs i watch :
2004-08-21 06:28:18 1ByVur-0004aO-SL => gregor <gregor@???>
R=sms_powiadomienie T=sms_tr
but that "command " IS NOT executed.
whats wrong , suggestions , comments , notify me pls
<<<

I had a similar problem with pipe characters in "command" strings.
I ended up putting the whole "cat /var..............." command into some
/usr/bin/exim-sms.sh file and call it via

command = /usr/bin/exim-sms.sh

(don't forget to set it executable)

(The problem I had was with a transport_filter where I first piped
through renattach and then through spamc)

--
Ben