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

Top Page
Delete this message
Reply to this message
Author: magafik
Date:  
To: Hochstrasser Benedikt
CC: exim-users
Subject: Re: [exim] exim + virtual accoun + sms notify

---- Wiadomość Oryginalna ----
Od: Hochstrasser Benedikt <bhoc@???>
Do: magafik@???
Kopia do: exim-users@???
Data: Sun, 22 Aug 2004 11:54:40 +0200
Temat: 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
>

exim is started as a "mail" user , permissions fixed :
ls -la /etc/1
-rwxrwxrwx    1 mail     mail          171 Aug 22 01:53 /etc/1


in logs :
----
2004-08-22 03:12:57 1BypLN-0000J5-FQ => gregor <gregor@???>
R=sms_powiadomienie T=sms_tr
2004-08-22 03:12:57 1BypLN-0000J5-FQ Completed
----
ls: /home/exim/it_works: No such file or directory
i dunno what is going on with this . Mayby those lines are placed in
wrong place ?ive included my exim.conf


George