Yes, they are run by the same user (well, I am actually using postfix).
Here is the error message I get:
This is the mail system at host example.com.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<[EMAIL PROTECTED] <[EMAIL PROTECTED]>>: Command died with status 1:
"/usr/local/bin/ruby
/home/james/public_html/tracks/script/runner -e production
'SMSGateway.receive(STDIN.read)'". Command output: /usr/local/bin/ruby:
Permission denied -- /home/james/public_html/tracks/script/runner
(LoadError)
Final-Recipient: rfc822; [EMAIL PROTECTED]
Original-Recipient: rfc822;[EMAIL PROTECTED] <[EMAIL PROTECTED]>
Action: failed
Status: 5.3.0
Diagnostic-Code: x-unix; /usr/local/bin/ruby: Permission denied --
/home/james/public_html/tracks/script/runner (LoadError)
James Carruth
http://www.thecarruths.org
http://www.edehaiti.org
On Wed, Oct 1, 2008 at 1:11 PM, Eric Allen <[EMAIL PROTECTED]> wrote:
> Is the user that runs sendmail the same user that is hosting your app? Can
> you forward me the error message?
>
> On Oct 1, 2008, at 2:09 PM, James Carruth wrote:
>
> I get a permission denied error in an email that comes back to me. Any
> idea what I am doing wrong? Thanks
>
> James Carruth
> http://www.thecarruths.org
> http://www.edehaiti.org
>
>
> On Sun, Sep 21, 2008 at 12:05 PM, Eric Allen <[EMAIL PROTECTED]> wrote:
>
>> I've finally gotten around to cleaning up my integrated email receiver and
>> merging it to trunk! See commit
>> 3a21739be9790f85c9793222999f3c6b54167711<http://github.com/bsag/tracks/commit/3a21739be9790f85c9793222999f3c6b54167711>.
>> It could still use more features, like better support for HTML and multipart
>> messages, but the basic functionality is there. I've been using this in my
>> own Tracks deployment for a couple of months now.
>> One thing I'm puzzled by is which documentation file I should update to
>> explain how to set this up. The process is really simple:
>>
>> -Go to preferences inside Tracks and set up the email address and default
>> context for todos sent in via email (which could come from an SMS message)
>> -In sendmail/qmail/postfix/whatever, set up an email address alias to pipe
>> messages to
>> /PATH/TO/RUBY/ruby /PATH/TO/TRACKS/script/runner -e production
>> 'SMSGateway.receive(STDIN.read)'
>>
>> That's all! Note: This only works if your mail agent resides on the same
>> server as your Tracks installation, so it won't work for everybody.
>>
>> Which documentation file do I edit, and how do I regenerate the rest of
>> them?
>>
>> _______________________________________________
>> Tracks-discuss mailing list
>> [email protected]
>> http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss
>>
>>
>
>
_______________________________________________
Tracks-discuss mailing list
[email protected]
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss