Questions about sendmail

Mark Peoples hondaman@mainex1.asu.edu
Fri, 21 Apr 2000 13:49:31 -0700


You can use QMail w/PHP, but I'm fine with sendmail.

Also, Joseph, what were you compile options for PHP or did you install it
via some package? I've used just configure and a few other options (LDAP,
IMAP, MySQL, etc etc) and everything has worked fine straight out of the
tarball. I have it compiled as a module and a CGI and mail works fine with
both (and I didn't have to setup any paths for it).

Lastly, what does phpinfo() give you? It should spit out the path to your
mail program and other things relating to sendmail.

Mark
-----Original Message-----
From: Mike Cantrell [mailto:yomahz@devnull.org]
Sent: Friday, April 21, 2000 8:08 AM
To: plug-discuss@lists.PLUG.phoenix.az.us
Subject: Re: Questions about sendmail


You hsould be able to find the RPM for your distro and it will set it up in
a
reasonable fashion for testing purposes. If you keep it for long, you may
want
to finish reading your O'reilly book and tighten it down a bit...

Also, you may be able to open up another mail program and use it as a
filehandle. I would be surprised if PHP didn't have this ability. In perl
it's
open(MAIL,"|/path/to/mail app -options user@domian.com") and then you can
just
print to the file handle and when you close the filehandle with close(MAIL)
the
mail should be sent. This way you aren't just limited to sendmail.


Hope it helps,
Mike Cantrell

Wizaerd wrote:

> I have a question about PHP and sendmail that I was hoping to get an
answer
> about.  But first let me tell you as to why I am asking this...
>
> I am new to Linux, using Mandrake Linux version 7.0.  I use the linux
> machine as a router/gateway/firewall for my windows 98 machine.  It is
> connected to the internet via an DHCP VDSL through US West.  I can access
> the machine via IP from outside (such as from work, etc...) with a
browser,
> and I'm running Apache 1.3.12.  I do not have a domain registered for it
> (since it's not a static IP) but I am running the DNS as a caching domain
> name server.
>
> Is there any way I can use the sendmail server (or program) to send and
> recieve emails?  The reason I ask is I'm learning PHP, and am converting a
> ColdFusion application (a discussion forum) to PHP, but in order to test
> some of the functionality I need email interaction.  (When a user adds a
new
> message, the message is emailed out to a group of subscribers or when a
> reply is posted, and email goes out to everyone who's posted to that
> particular thread).
>
> While testing it on this local machine, I'd like to be able to send an
email
> notification to three various email addresses I have (through work and
other
> domains I own and are hosted with web hosting ISPs...).  However the
mail()
> in PHP requires a sendmail directory instead of an SMTP server, so am not
> quite sure how to proceed...  I've never used sendmail before at all, and
> have an O'Reily book for it, but it's confusing as h*ll...
>
> thanx!
>
> Joseph E. Sheble
> a.k.a. Wizaerd
> Wizaerd's Realm
> Canvas, 3D, Graphics, ColdFusion
> http://www.wizaerd.com
> =================================
> Zanova, Inc.
> http://www.zanova.com
> Moving Business Forward.....
> =================================
>
> _______________________________________________
> Plug-discuss mailing list  -  Plug-discuss@lists.PLUG.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


_______________________________________________
Plug-discuss mailing list  -  Plug-discuss@lists.PLUG.phoenix.az.us
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss