Re: [Bacula-users] Use bash/php script on "mailcommand"

2012-10-31 Thread Andrea Conti
> I want to use a php script that create a ticket or allarm on my monitor system > > I soved it, I need to call /bin/bash with "-c" to start every kind of > script, otherwise I have an error. ... or you can just make sure that your scripts start with a proper shebang line. E.g., for a php script,

Re: [Bacula-users] Use bash/php script on "mailcommand"

2012-10-31 Thread Carlo Filippetto
I don't want to use any mail server. I want to use a php script that create a ticket or allarm on my monitor system I soved it, I need to call /bin/bash with "-c" to start every kind of script, otherwise I have an error. Thank you --- Carlo 2012/10/30 John Doe : > From: Carlo Filippetto >

Re: [Bacula-users] Use bash/php script on "mailcommand"

2012-10-30 Thread John Doe
From: Carlo Filippetto > I need to modify the mailcommand with a script > How can I do it? I am not sure what you mean by "modify the mailcommand"... Do you mean to send the mail using a script?   mailcommand = "/path/to/script %r %c ..." Or do you mean to modify the mailcommand configuration li