You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by "Noel J. Bergman" <no...@devtech.com> on 2007/11/30 19:06:04 UTC
RE: JAMES and sendmail
> James and sendmail don't seem to like coexisting. Can I trick them
> into that? or send emails from php through James?
They co-exist. They even have their own FAQ entry right on the JAMES server
menu: http://james.apache.org/server/james_and_sendmail.html.
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: JAMES and sendmail
Posted by Simon Clark <si...@zebraspot.com>.
> sendmail.py was my first python program. Fixes and enhancements are
> welcomed. :-)
>
What I have done probably won't help you much. I needed to generate
the email from a database anyway, so I just passed in the row index,
and forgot about all the other stuff, grabbed it from MySQL instead.
Still your script got me out of a tight spot quickly, so I am in your
debt.
Simon
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
RE: JAMES and sendmail
Posted by "Noel J. Bergman" <no...@devtech.com>.
Simon Clark wrote:
> My next avenue was to try disabling sendmail, and use the
> sendmail.py script that comes with James. While this
> worked from the commandline, it was not working from php.
> I took the python code, and altered it to suit my needs
sendmail.py was my first python program. Fixes and enhancements are
welcomed. :-)
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: JAMES and sendmail
Posted by Simon Clark <si...@zebraspot.com>.
On 1-Dec-07, at 10:26 AM, Danny Angus wrote:
> I wrote the faq. Its old now.
> Try changing the script, let us know how you get on and I'll update
> the faq.
I tried altering the script, but had no luck. My next avenue was to
try disabling sendmail, and use the sendmail.py script that comes
with James. While this worked from the commandline, it was not
working from php. I took the python code, and altered it to suit my
needs, and am now using it happily from an exec() command in php.
Sendmail is disabled, and all php mails go through james via my
python script.
Simon
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: JAMES and sendmail
Posted by Danny Angus <da...@apache.org>.
I wrote the faq. Its old now.
Try changing the script, let us know how you get on and I'll update the faq.
On 11/30/07, Simon Clark <si...@zebraspot.com> wrote:
>
> On 30-Nov-07, at 1:06 PM, Noel J. Bergman wrote:
>
> >> James and sendmail don't seem to like coexisting. Can I trick them
> >> into that? or send emails from php through James?
> >
> > They co-exist. They even have their own FAQ entry right on the
> > JAMES server
> > menu: http://james.apache.org/server/james_and_sendmail.html.
>
> I've been working with that, but the directions on the page do not
> bear much resemblance to my sendmail install. For instance, there is
> no DAEMON=yes line in my sendmail.conf. I nca set DAEMON_MODE to
> 'none', but that seems to do something different.
>
> Sendmail.cf has a DS line, but no DH, or DR. I can add them in, but
> I am suspicious of them not being there.
>
> > there is a sendmail.py script in the bin directory just be sure to
> > link
> > it to /usr/sbin/sendmail and /usr/lib/sendmail.
>
>
> This looks more like the solution to me. This means that I can
> uninstall sendmail, and trick PHP into using James for it, correct?
>
> Simon
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>
--
Sent from Google Mail for mobile | mobile.google.com
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: JAMES and sendmail
Posted by Simon Clark <si...@zebraspot.com>.
On 30-Nov-07, at 1:06 PM, Noel J. Bergman wrote:
>> James and sendmail don't seem to like coexisting. Can I trick them
>> into that? or send emails from php through James?
>
> They co-exist. They even have their own FAQ entry right on the
> JAMES server
> menu: http://james.apache.org/server/james_and_sendmail.html.
I've been working with that, but the directions on the page do not
bear much resemblance to my sendmail install. For instance, there is
no DAEMON=yes line in my sendmail.conf. I nca set DAEMON_MODE to
'none', but that seems to do something different.
Sendmail.cf has a DS line, but no DH, or DR. I can add them in, but
I am suspicious of them not being there.
> there is a sendmail.py script in the bin directory just be sure to
> link
> it to /usr/sbin/sendmail and /usr/lib/sendmail.
This looks more like the solution to me. This means that I can
uninstall sendmail, and trick PHP into using James for it, correct?
Simon
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org