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

Pàgina inicial
Delete this message
Reply to this message
Autor: Hochstrasser Benedikt
Data:  
A: magafik
CC: exim-users
Assumpte: RE: [exim] exim + virtual accoun + sms notify
George wrote:

>>>

yeah i have involded it.
but i have noticed that command isnt executed at all
cat /etc/1
-----
#!/bin/bash
touch /home/gregor/it_works
----
ls -la /etc/1
-rwxr-xr-x    1 root     root          171 Aug 22 01:53 /etc/1


So good : command = /etc/1
eh . but this is not executed . after sending mail to my box :
---
ls /home/gregor/dziala
ls: /home/gregor/dziala: No such file or directory

<<<

No wonder...exim is running as "exim" or "mail", depending on your
situation. An ordinary user does not have access to other users' home
directories.
You need to set up a directory where the exim user has rwx rights, eg
exim's home directory or something in /tmp

So if your script looks like

#!/bin/bash
touch /home/exim/it_works

It should work.

--
Ben