Re: [expert] Setting Up Sendmail

2000-04-22 Thread Jean-Michel Dault


You can use Sendmail to *send* mail in its default configuration. It's
just that you won't be able to *receive* mail from the *outside*.

But to send mail from PHP or from another machine on the network, you
don't have to configure anything. To send mail for yourself from
ColdFusion or PHP, just tell it to send mail to "root", and not
"root@somewhere", so it will deliver it locally.

Jean-Michel Dault
[EMAIL PROTECTED]


On Thu, 20 Apr 2000, Wizaerd wrote:

> Date: Thu, 20 Apr 2000 07:29:57 -0700
> From: Wizaerd <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: Expert Mandrake List <[EMAIL PROTECTED]>
> Subject: [expert] Setting Up Sendmail
> 
> Ok, I need some information, but you'll need some background information...
> I have a linux box at home hooked up to the internet with DHCP through US
> West VDSL.  The IP has never actually changed, but it could at any time
> because of the DHCP.  I have a Windows 98 box connected via a second NIC
> card to the Linux machine, which uses the Linux box as a
> gateway/router/firewall to the internet.  So because of the DHCP connection,
> I don't have DNS running and I don't use Sendmail.
> 
> On the Linux box, I have Apache 1.3.12 installed and am in the process of
> learning PHP.  However, one of the things I want to do is convert my
> ColdFusion discussion forum over to PHP, but was hoping I could send myself
> email notifications during the testing period (so when I do copy this app to
> a real server it would work as expected...)...
> 
> Is there someway to use sendmail and the mailing options of PHP without
> using DNS and having a static IP?  Or better yet is there a way to use
> sendmail and DNS without having a static IP?
> 
> Thanx!
> 
> Joseph (Joe) Sheble
> a.k.a. Wizaerd
> 
> Wizaerd's Realm
> http://www.wizaerd.com
> 3D Art, ColdFusion, Illustration, Canvas
> a little bit of everything...
> 
> ColdFusion Developer
> Zanova, Inc.
> http://www.ZanovaInc.com
> Moving your business forward...
> 
> 




RE: [expert] Setting Up Sendmail

2000-04-21 Thread Wizaerd


Thanx... I'll take a look at this when I get home tonite!!

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Christopher Quale
> Sent: Thursday, April 20, 2000 12:42 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [expert] Setting Up Sendmail
>
>
>
> One other possibility: you should have SMTP service provided
> by your ISP.  You can set up sendmail to use your ISP's mail
> delivery service. One tool that may be helpful in setting it
> all up is a utility called install-sendmail.  Go to
> http://freshmeat.net and do a search for "install-sendmail".
> Check the homepage to get the version that matches your
> version of sendmail.  I believe that you also need procmail
> and fetchmail as well as the sendmail-cf and m4 packages
> installed. Here's what I have:
>
> sendmail-cf-8.9.3-9mdk
> sendmail-8.9.3-9mdk
> m4-1.4-13mdk
> procmail-3.13.1-3mdk
> fetchmail-5.0.3-2mdk
>
> The install-sendmail script asks you questions (at the command
> line) about how you want to set up your mail server, then
> generates the necessary config files for you. It has worked
> beautifully for me, as I am certainly no sendmail guru. One
> good way to test it is to install the mailx package and
> from the command line on the mailserver you can use the "mail"
> command to test out sendmail.
>
> Chris
>
>
> Wizaerd wrote:
> >
> > Ok, I need some information, but you'll need some background
> information...
> > I have a linux box at home hooked up to the internet with DHCP
> through US
> > West VDSL.  The IP has never actually changed, but it could at any time
> > because of the DHCP.  I have a Windows 98 box connected via a second NIC
> > card to the Linux machine, which uses the Linux box as a
> > gateway/router/firewall to the internet.  So because of the
> DHCP connection,
> > I don't have DNS running and I don't use Sendmail.
> >
> > On the Linux box, I have Apache 1.3.12 installed and am in the
> process of
> > learning PHP.  However, one of the things I want to do is convert my
> > ColdFusion discussion forum over to PHP, but was hoping I could
> send myself
> > email notifications during the testing period (so when I do
> copy this app to
> > a real server it would work as expected...)...
> >
> > Is there someway to use sendmail and the mailing options of PHP without
> > using DNS and having a static IP?  Or better yet is there a way to use
> > sendmail and DNS without having a static IP?
> >
> > Thanx!
> >
> > Joseph (Joe) Sheble
> > a.k.a. Wizaerd
> > 
> > Wizaerd's Realm
> > http://www.wizaerd.com
> > 3D Art, ColdFusion, Illustration, Canvas
> > a little bit of everything...
> > 
> > ColdFusion Developer
> > Zanova, Inc.
> > http://www.ZanovaInc.com
> > Moving your business forward...
> > 




Re: [expert] Setting Up Sendmail

2000-04-20 Thread Christopher Quale


One other possibility: you should have SMTP service provided
by your ISP.  You can set up sendmail to use your ISP's mail
delivery service. One tool that may be helpful in setting it
all up is a utility called install-sendmail.  Go to
http://freshmeat.net and do a search for "install-sendmail".
Check the homepage to get the version that matches your
version of sendmail.  I believe that you also need procmail
and fetchmail as well as the sendmail-cf and m4 packages
installed. Here's what I have:

sendmail-cf-8.9.3-9mdk
sendmail-8.9.3-9mdk
m4-1.4-13mdk
procmail-3.13.1-3mdk
fetchmail-5.0.3-2mdk

The install-sendmail script asks you questions (at the command
line) about how you want to set up your mail server, then
generates the necessary config files for you. It has worked
beautifully for me, as I am certainly no sendmail guru. One
good way to test it is to install the mailx package and
from the command line on the mailserver you can use the "mail"
command to test out sendmail.

Chris


Wizaerd wrote:
> 
> Ok, I need some information, but you'll need some background information...
> I have a linux box at home hooked up to the internet with DHCP through US
> West VDSL.  The IP has never actually changed, but it could at any time
> because of the DHCP.  I have a Windows 98 box connected via a second NIC
> card to the Linux machine, which uses the Linux box as a
> gateway/router/firewall to the internet.  So because of the DHCP connection,
> I don't have DNS running and I don't use Sendmail.
> 
> On the Linux box, I have Apache 1.3.12 installed and am in the process of
> learning PHP.  However, one of the things I want to do is convert my
> ColdFusion discussion forum over to PHP, but was hoping I could send myself
> email notifications during the testing period (so when I do copy this app to
> a real server it would work as expected...)...
> 
> Is there someway to use sendmail and the mailing options of PHP without
> using DNS and having a static IP?  Or better yet is there a way to use
> sendmail and DNS without having a static IP?
> 
> Thanx!
> 
> Joseph (Joe) Sheble
> a.k.a. Wizaerd
> 
> Wizaerd's Realm
> http://www.wizaerd.com
> 3D Art, ColdFusion, Illustration, Canvas
> a little bit of everything...
> 
> ColdFusion Developer
> Zanova, Inc.
> http://www.ZanovaInc.com
> Moving your business forward...
> 

begin:vcard 
n:Quale;Christopher
x-mozilla-html:FALSE
org:UC Berkeley Group in Biostatistics
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
note;quoted-printable:-BEGIN PGP PUBLIC KEY B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J84qTepm1kK+Useu9d7LyjHkwajmJBhDJ91C1A2GFzqUAKYacV8xiw=0D=0AIjjTy+omyG6JHroCgRxGdFR4oaWCi2fldTM/qijvqJSDqYl7TQ1M3IJVFC90ja16=0D=0A2XqqjqBD6aKQ+ohGBBgRAgAGBQI41707AAoJEKEk837tv0J8Gx0An2EUF5T7fuNu=0D=0AWhmh0MdJ9hh5W9WkAJ9KVuubX74WjkFQze3WYMkyffnCPw=3D=3D=0D=0A=3D11Xp=0D=0A-END PGP PUBLIC KEY BLOCK-
x-mozilla-cpt:;-32224
fn:Quale, Christopher
end:vcard



Re: [expert] Setting Up Sendmail

2000-04-20 Thread Deim Ágoston

On 20 Apr 00, at 7:29, Wizaerd wrote:
> Is there someway to use sendmail and the mailing options of PHP without
> using DNS and having a static IP?  Or better yet is there a way to use
> sendmail and DNS without having a static IP?
Yes. Just use the masquarading options what sendmail offers. 
Masq your envelope and header.
Bye,
Ago
ps.: there's a very good HOWTO about sendmail and different 
environments at RedHat's page under howtos

"If you love somebody set them free..."
Sting is GPL fan :-))
A hivatalos magyar KDE oldal : www.kde.hu



Re: [expert] Setting Up Sendmail

2000-04-20 Thread Gary Bunker

I use Sendmail on a similar system as he mentioned, and I have to force
some mail to be routed via my ISP's SMTP server, for exactly that
reason.  So far, I've had to create "Domain Routing" rules for AOL,
Compuserve, Earthlink and Adobe (whatever), as well as a local ISP in
Minnesota.  Oddly, I can email to Microsoft and other large companies
without a problem.  But, it's still a pain at times.  I just use it
because it's the Unix-y thing to do.  :-)  Well, and I'm trying to
continue my education in SysAd stuff.

On 20 Apr, Bug Hunter wrote:
> 
>   Yes.  However, with the preponderance of UCE (Unsolicited Commercial
> Email, also known as SPAM), you will have problems.  The majority of
> systems you try to deliver to will reject your mail because your domain
> name is bogus and does not match up with your ip address.

-- 

---
Nil Carborundum Illegitimi
http://andysocial.com




Re: [expert] Setting Up Sendmail

2000-04-20 Thread Daniel Woods


Joseph,

> Ok, I need some information, but you'll need some background information...
> I have a linux box at home hooked up to the internet with DHCP through US
> West VDSL.  The IP has never actually changed, but it could at any time
> because of the DHCP.  I have a Windows 98 box connected via a second NIC
> card to the Linux machine, which uses the Linux box as a
> gateway/router/firewall to the internet.  So because of the DHCP connection,
> I don't have DNS running and I don't use Sendmail.
> 
> On the Linux box, I have Apache 1.3.12 installed and am in the process of
> learning PHP.  However, one of the things I want to do is convert my
> ColdFusion discussion forum over to PHP, but was hoping I could send myself
> email notifications during the testing period (so when I do copy this app to
> a real server it would work as expected...)...
> 
> Is there someway to use sendmail and the mailing options of PHP without
> using DNS and having a static IP?  Or better yet is there a way to use
> sendmail and DNS without having a static IP?
> 
> Thanx!
> Joseph (Joe) Sheble
> a.k.a. Wizaerd

Since the DHCP generated number only changes a few times a year (YMMV),
you could simply notice when this happens and change your setup to
reflect the new IP.  A friend has setup two DNS machines at his home
by purchasing an extra dynamic IP from the cable service.

   Comp B |   |-|   |-|
  |h| Comp A ---|h|- cable modem
  |u|   |u|
   Comp C |b| Comp D ---|b|
  |-|   |-|
 (private side)

He has a DNS server on Comp A and Comp D.  When he notices that the
ISP DHCP returns different IP numbers (usually on different subnets),
then he manually changes his DNS setup.

At least that's how I understand this is supposed to work. :)

Thanks... Dan.



Re: [expert] Setting Up Sendmail

2000-04-20 Thread Nick Kay

At 07:29 20/04/00 -0700, you wrote:
>Ok, I need some information, but you'll need some background information...
>I have a linux box at home hooked up to the internet with DHCP through US
>West VDSL.  The IP has never actually changed, but it could at any time
>because of the DHCP.  I have a Windows 98 box connected via a second NIC
>card to the Linux machine, which uses the Linux box as a
>gateway/router/firewall to the internet.  So because of the DHCP connection,
>I don't have DNS running and I don't use Sendmail.
>
>On the Linux box, I have Apache 1.3.12 installed and am in the process of
>learning PHP.  However, one of the things I want to do is convert my
>ColdFusion discussion forum over to PHP, but was hoping I could send myself
>email notifications during the testing period (so when I do copy this app to
>a real server it would work as expected...)...
>
>Is there someway to use sendmail and the mailing options of PHP without
>using DNS and having a static IP?  Or better yet is there a way to use
>sendmail and DNS without having a static IP?
>

If you only need to send mail to the Windows box for testing then
you do have a static IP address - its the one on the internal network.

hih
[EMAIL PROTECTED]


>Thanx!
>
>Joseph (Joe) Sheble
>a.k.a. Wizaerd
>
>Wizaerd's Realm
>http://www.wizaerd.com
>3D Art, ColdFusion, Illustration, Canvas
>a little bit of everything...
>
>ColdFusion Developer
>Zanova, Inc.
>http://www.ZanovaInc.com
>Moving your business forward...
>
>
>
>



Re: [expert] Setting Up Sendmail

2000-04-20 Thread Bug Hunter


  Yes.  However, with the preponderance of UCE (Unsolicited Commercial
Email, also known as SPAM), you will have problems.  The majority of
systems you try to deliver to will reject your mail because your domain
name is bogus and does not match up with your ip address.

  Sendmail will just work.  So will PHP3.  You can test with your loopback
address of 127.0.0.1 without a problem.


On Thu, 20 Apr 2000, Wizaerd wrote:

> Ok, I need some information, but you'll need some background information...
> I have a linux box at home hooked up to the internet with DHCP through US
> West VDSL.  The IP has never actually changed, but it could at any time
> because of the DHCP.  I have a Windows 98 box connected via a second NIC
> card to the Linux machine, which uses the Linux box as a
> gateway/router/firewall to the internet.  So because of the DHCP connection,
> I don't have DNS running and I don't use Sendmail.
> 
> On the Linux box, I have Apache 1.3.12 installed and am in the process of
> learning PHP.  However, one of the things I want to do is convert my
> ColdFusion discussion forum over to PHP, but was hoping I could send myself
> email notifications during the testing period (so when I do copy this app to
> a real server it would work as expected...)...
> 
> Is there someway to use sendmail and the mailing options of PHP without
> using DNS and having a static IP?  Or better yet is there a way to use
> sendmail and DNS without having a static IP?
> 




[expert] Setting Up Sendmail

2000-04-20 Thread Wizaerd

Ok, I need some information, but you'll need some background information...
I have a linux box at home hooked up to the internet with DHCP through US
West VDSL.  The IP has never actually changed, but it could at any time
because of the DHCP.  I have a Windows 98 box connected via a second NIC
card to the Linux machine, which uses the Linux box as a
gateway/router/firewall to the internet.  So because of the DHCP connection,
I don't have DNS running and I don't use Sendmail.

On the Linux box, I have Apache 1.3.12 installed and am in the process of
learning PHP.  However, one of the things I want to do is convert my
ColdFusion discussion forum over to PHP, but was hoping I could send myself
email notifications during the testing period (so when I do copy this app to
a real server it would work as expected...)...

Is there someway to use sendmail and the mailing options of PHP without
using DNS and having a static IP?  Or better yet is there a way to use
sendmail and DNS without having a static IP?

Thanx!

Joseph (Joe) Sheble
a.k.a. Wizaerd

Wizaerd's Realm
http://www.wizaerd.com
3D Art, ColdFusion, Illustration, Canvas
a little bit of everything...

ColdFusion Developer
Zanova, Inc.
http://www.ZanovaInc.com
Moving your business forward...