RE: Newbie Question - Please Read!

1999-06-22 Thread Anonymous

I used the Memphis distribution which I got from the qmail.org sit a link
called RPM (it's on moni something)

My current status is:
Deliveries work great.
Virtual Domains, and hosting works great.
POP3 authentication (checking mail from the outside world) fails
SAMBA is broken (I think due to the fact that the Memphis distribution
installs it's own TCP handling)

There have been a lot of helpful suggestions since Sunday as to what might
be wrong with POP3. My guess is that I need to change the qmail-pop3d.init
scripts in the rc#.d files to S...blah rather than K...blah so the sequence
is correct (this is one of the suggestions)

Since Sunday night I haven't been able to get to my Linux machine long
enough to try these suggestions. I'll keep the list appraised of what pans
out.

Alex

> -Original Message-
> From: gene Campbell [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 21, 1999 5:41 PM
> To: Alex Miller
> Subject: RE: Newbie Question - Please Read!
>
>
> I have tried one RPM.  It didn't work.  Can you point me to the RPM you
> used.  (Yes, I am running RedHat Linux.)  Also, are you able to check mail
> from the outside world?  I want to be able to read and send from a client
> Mac, and a client PC.  If the RPM you used didn't get you this far, than I
> might end up with half a system and totally confused to the point that I
> can't finish the job myself.
>
> thanks for the reply. - gene
>
> >well, if you have Redhat Linux like I do here has been my experience.
> >
> >I installed QMail using the tarball, running through each step
> carefully by
> >hand, and with help from members on this list, finally got it to work. I
> >could send mail out (unlike you) but I couldn't recieve remote
> email. I was
> >sure that I had done something wrong with the remove sendmail
> steps since my
> >system did not have things configured exactly as described in
> the INSTALL,
> >and I wasn't that confident in my guesses.
> >
> >So last night I took down the RPM's (a whole bunch of them, and set the
> >whole thing up, deleting my qmail install, rpm'ing the src, then
> rpming the
> >required preinstall stuff, and finally rpming qmail).
> >
> >When I rebooted it worked and was very different. There was a whole new
> >qmail process running when I did ps-aux, there was no
> /var/qmail/rc file at
> >all, there was a whole slew of extra .qmail-*** files in my alias folder,
> >and lo and behold it worked, in particular, I could now send myself mail
> >from the outside world.
> >
> >So my feeling is that Redhat systems are sufficiently different from the
> >norm that their own unique install of QMail is required and the
> only way to
> >get that right now, is by using RPM's.
> >
> >Alex Miller
> >
> >> -Original Message-
> >> From: gene Campbell [mailto:[EMAIL PROTECTED]]
> >> Sent: Saturday, June 19, 1999 1:25 AM
> >> To: [EMAIL PROTECTED]
> >> Subject: Re: Newbie Question - Please Read!
> >>
> >>
> >> I just tried this howto.  It is the best one yet for helping understand
> >> this system.  But, I still can't get smtp to work. That is if
> I send from
> >> another place to my system with qmail, it is bouced back.  I get this
> >>
> >> ___
> >> Hi. This is the qmail-send program at mail.surfup.com.
> >> I'm afraid I wasn't able to deliver your message to the following
> >> addresses.
> >> This is a permanent error; I've given up. Sorry it didn't work out.
> >>
> >> <[EMAIL PROTECTED]>:
> >> Sorry. Although I'm listed as a best-preference MX or A for that host,
> >> it isn't in my control/locals file, so I don't treat it as
> local. (#5.4.6)
> >> ---
> >>
> >> I feel like I'm getting somewhere with this.  But, I have no
> idea how I'm
> >> going to get POP mail working.
> >>
> >> - gene
> >>
> >>
> >> At 1:06 AM -0400 6/19/99, Dale Miracle wrote:
> >> >> Kevin King wrote:
> >> >>
> >> >> I recently got my RH Linux box working wtith Qmail (with a
> huge amount
> >> >> of help from Dave Sill). When I installed Qmail setup the following
> >> >> files as such:
> >> >>
> >> >
> >> >I found this web site tonight that might help some people. I am also
> >> >trying to setup qmail my self because sendmail's virtual mail setup is
> >> >EVIL..I hate m4 and makemap . Any how here is the link
> >> >http://www.flounder.net/qmail/qmail-howto.html
> >> >
> >> >I found it while searching through many howto's and web pages
> trying to
> >> >make sense of the hundreds of interpretations of the qmail doc's.  I
> >> >read it all the way through and it sounds pretty good...to bad I found
> >> >it at 1 am :( I have been staring at this monitor of mine for over 3
> >> >hours now.  I think I am just going to remove what I have and install
> >> >qmail fresh tomorrow.
> >> >I hope this help's, I know it made more sense to me...
> >> >  Later,
> >> >--
> >> >
> >> >Dale Miracle
> >> > System Administrator
> >> >  Teoi Net
> >>
> >>
> >>
> >>
>
>
>



Re: Newbie Question - Please Read!

1999-06-20 Thread Anonymous

>> On Sat, 19 Jun 1999 08:04:04 -0400, 
>> "Alex Miller" <[EMAIL PROTECTED]> said:

A> So my feeling is that Redhat systems are sufficiently different from the
A> norm that their own unique install of QMail is required and the only way
A> to get that right now, is by using RPM's.

   I'm running RedHat-5.0 on a Pentium-Pro, and the only problem I had
   with compiling qmail from sources is creating a fake DNS setup.  I don't
   have a modem hooked up at home.  *sob*

-- 
Karl Vogel
ASC/YCOA, Wright-Patterson AFB, OH 45433, USA
[EMAIL PROTECTED]  or  [EMAIL PROTECTED]

Most Likely to Be at the Opening of An Envelope:
  Ellen Degeneres & Anne Heche.--Movieline, November 1998



Re: Newbie Question - Please Read!

1999-06-19 Thread Anonymous

Alex Miller wrote:
> 
> When I did the RPM install, it works, I can recieve mail, but nowhere in my
> /etc/inetd.conf is SMTP configured.

Aha. That's because you're using the memphis RPM which controls qmail
from...

> 
> However, in /etc/rc.d/init.d there are several new files which are not
> mentioned at all in the tarball INSTALL like qmail-pop3d.init,
> qmail-qmpqpd.init, qmail-qmpt.init, qmail-smtpd.init, qmail.init and they
> each have pointers in the /etc/rc.d/rc#.d files.

...a set of scripts that use djb's daemontools!

> > > So my feeling is that Redhat systems are sufficiently different from the
> > > norm that their own unique install of QMail is required and the only way to
> > > get that right now, is by using RPM's.
> >
> > Redhat systems are no different from anything else, and there's nothing to
> > preclude installing qmail from the tarball. I've installed qmail
> > on several Redhat boxes, always from the tarball. You follow the qmail installation
> > instructions, remove (or at least disable the script that starts)
> > sendmail, and start your qmail stuff from some script that runs at bootup, and 
>you're in
> > business. This is exactly how it's installed on any system.

This is exactly *one* way to install on any system.  It is the the
*default* installation method.

I think the problem here is one of mis-understanding just what an RPM
distribution is.  There is no "official" RPM distribution of qmail. 
There are a couple of contributed RPMs which result in a qmail
installation that is setup and configured according to the personal
preferences of the RPM author.

Mate Wierdl (who does the memphis RPM) chooses to not start qmail from
inetd and uses daemontools and a very nice set of rc scripts.  I was so
impressed with this approach that I replicated it on our FreeBSd boxes
at work.

So, in summary, there's more than one way to skin a cat; or install a
qmail in this case!

R.
-- 
Two rules to success in life: 
  1. Don't tell people everything you know.
 -- Sassan Tat



RE: Newbie Question - Please Read!

1999-06-19 Thread Anonymous

I don't think that's entirely accurate. That is, if Redhat (mine is Linux
Mandrake - Redhat + KDE) systems are no different than other systems then
the documentation would be written slightly differently.

For example:

The /var/qmail/doc/INSTALL file says:

16. Set up qmail-smtpd in /etc/inetd.conf (all on one line):
smpt stream tcp nowait qmaild /var/qmail/bin/tcp-env
tcp-env /var/qmail/bin/qmail-smtpd

This is what I did when I installed using the tarball, despite the warning
near the old commented out smtp line claiming that smtp is set in the
sendmail scripts (later steps about that). However I could not recieve mail
and when I ran telnet 127.0.0.1 25 I got a disconnected host.

When I did the RPM install, it works, I can recieve mail, but nowhere in my
/etc/inetd.conf is SMTP configured.

However, in /etc/rc.d/init.d there are several new files which are not
mentioned at all in the tarball INSTALL like qmail-pop3d.init,
qmail-qmpqpd.init, qmail-qmpt.init, qmail-smtpd.init, qmail.init and they
each have pointers in the /etc/rc.d/rc#.d files.

This is just one example of differences (there are quite a few others) that
I noticed from the effect of using the RPM install vs. the tarball RTFM
install. But of course the really important difference for me is that the
RPM install resulted in the successful ability to recieve mail, whereas my
careful tarball installation did not.

Alex Miller


> -Original Message-
> From: Chris Johnson [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, June 19, 1999 8:24 AM
> To: Alex Miller
> Cc: gene Campbell; Qmail
> Subject: Re: Newbie Question - Please Read!
>
>
> On Sat, Jun 19, 1999 at 08:04:04AM -0400, Alex Miller wrote:
> > well, if you have Redhat Linux like I do here has been my experience.
> >
> > I installed QMail using the tarball, running through each step
> carefully by
> > hand, and with help from members on this list, finally got it to work. I
> > could send mail out (unlike you) but I couldn't recieve remote
> email. I was
> > sure that I had done something wrong with the remove sendmail
> steps since my
> > system did not have things configured exactly as described in
> the INSTALL,
> > and I wasn't that confident in my guesses.
> >
> > So last night I took down the RPM's (a whole bunch of them, and set the
> > whole thing up, deleting my qmail install, rpm'ing the src,
> then rpming the
> > required preinstall stuff, and finally rpming qmail).
> >
> > When I rebooted it worked and was very different. There was a whole new
> > qmail process running when I did ps-aux, there was no
> /var/qmail/rc file at
> > all, there was a whole slew of extra .qmail-*** files in my
> alias folder,
> > and lo and behold it worked, in particular, I could now send myself mail
> > from the outside world.
> >
> > So my feeling is that Redhat systems are sufficiently different from the
> > norm that their own unique install of QMail is required and the
> only way to
> > get that right now, is by using RPM's.
>
> Redhat systems are no different from anything else, and there's nothing to
> preclude installing qmail from the tarball. I've installed qmail
> on several
> Redhat boxes, always from the tarball. You follow the qmail installation
> instructions, remove (or at least disable the script that starts)
> sendmail, and
> start your qmail stuff from some script that runs at bootup, and you're in
> business. This is exactly how it's installed on any system.
>
> You do, of course, have to know a little about how things start
> up at boot time
> on a Redhat system, but you'd have to know that about any system.
>
> Chris
>



Re: Newbie Question - Please Read!

1999-06-19 Thread Anonymous

On Sat, Jun 19, 1999 at 08:04:04AM -0400, Alex Miller wrote:
> well, if you have Redhat Linux like I do here has been my experience.
> 
> I installed QMail using the tarball, running through each step carefully by
> hand, and with help from members on this list, finally got it to work. I
> could send mail out (unlike you) but I couldn't recieve remote email. I was
> sure that I had done something wrong with the remove sendmail steps since my
> system did not have things configured exactly as described in the INSTALL,
> and I wasn't that confident in my guesses.
> 
> So last night I took down the RPM's (a whole bunch of them, and set the
> whole thing up, deleting my qmail install, rpm'ing the src, then rpming the
> required preinstall stuff, and finally rpming qmail).
> 
> When I rebooted it worked and was very different. There was a whole new
> qmail process running when I did ps-aux, there was no /var/qmail/rc file at
> all, there was a whole slew of extra .qmail-*** files in my alias folder,
> and lo and behold it worked, in particular, I could now send myself mail
> from the outside world.
> 
> So my feeling is that Redhat systems are sufficiently different from the
> norm that their own unique install of QMail is required and the only way to
> get that right now, is by using RPM's.

Redhat systems are no different from anything else, and there's nothing to
preclude installing qmail from the tarball. I've installed qmail on several
Redhat boxes, always from the tarball. You follow the qmail installation
instructions, remove (or at least disable the script that starts) sendmail, and
start your qmail stuff from some script that runs at bootup, and you're in
business. This is exactly how it's installed on any system. 

You do, of course, have to know a little about how things start up at boot time
on a Redhat system, but you'd have to know that about any system.

Chris



RE: Newbie Question - Please Read!

1999-06-19 Thread Anonymous

well, if you have Redhat Linux like I do here has been my experience.

I installed QMail using the tarball, running through each step carefully by
hand, and with help from members on this list, finally got it to work. I
could send mail out (unlike you) but I couldn't recieve remote email. I was
sure that I had done something wrong with the remove sendmail steps since my
system did not have things configured exactly as described in the INSTALL,
and I wasn't that confident in my guesses.

So last night I took down the RPM's (a whole bunch of them, and set the
whole thing up, deleting my qmail install, rpm'ing the src, then rpming the
required preinstall stuff, and finally rpming qmail).

When I rebooted it worked and was very different. There was a whole new
qmail process running when I did ps-aux, there was no /var/qmail/rc file at
all, there was a whole slew of extra .qmail-*** files in my alias folder,
and lo and behold it worked, in particular, I could now send myself mail
from the outside world.

So my feeling is that Redhat systems are sufficiently different from the
norm that their own unique install of QMail is required and the only way to
get that right now, is by using RPM's.

Alex Miller

> -Original Message-
> From: gene Campbell [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, June 19, 1999 1:25 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Newbie Question - Please Read!
>
>
> I just tried this howto.  It is the best one yet for helping understand
> this system.  But, I still can't get smtp to work. That is if I send from
> another place to my system with qmail, it is bouced back.  I get this
>
> ___
> Hi. This is the qmail-send program at mail.surfup.com.
> I'm afraid I wasn't able to deliver your message to the following
> addresses.
> This is a permanent error; I've given up. Sorry it didn't work out.
>
> <[EMAIL PROTECTED]>:
> Sorry. Although I'm listed as a best-preference MX or A for that host,
> it isn't in my control/locals file, so I don't treat it as local. (#5.4.6)
> ---
>
> I feel like I'm getting somewhere with this.  But, I have no idea how I'm
> going to get POP mail working.
>
> - gene
>
>
> At 1:06 AM -0400 6/19/99, Dale Miracle wrote:
> >> Kevin King wrote:
> >>
> >> I recently got my RH Linux box working wtith Qmail (with a huge amount
> >> of help from Dave Sill). When I installed Qmail setup the following
> >> files as such:
> >>
> >
> >I found this web site tonight that might help some people. I am also
> >trying to setup qmail my self because sendmail's virtual mail setup is
> >EVIL..I hate m4 and makemap . Any how here is the link
> >http://www.flounder.net/qmail/qmail-howto.html
> >
> >I found it while searching through many howto's and web pages trying to
> >make sense of the hundreds of interpretations of the qmail doc's.  I
> >read it all the way through and it sounds pretty good...to bad I found
> >it at 1 am :( I have been staring at this monitor of mine for over 3
> >hours now.  I think I am just going to remove what I have and install
> >qmail fresh tomorrow.
> >I hope this help's, I know it made more sense to me...
> > Later,
> >--
> >
> >Dale Miracle
> > System Administrator
> >  Teoi Net
>
>
>
>



Re: Newbie Question - Please Read!

1999-06-19 Thread Anonymous

> Kevin King wrote:
> 
> I recently got my RH Linux box working wtith Qmail (with a huge amount
> of help from Dave Sill). When I installed Qmail setup the following
> files as such:
> 

I found this web site tonight that might help some people. I am also
trying to setup qmail my self because sendmail's virtual mail setup is
EVIL..I hate m4 and makemap . Any how here is the link
http://www.flounder.net/qmail/qmail-howto.html

I found it while searching through many howto's and web pages trying to
make sense of the hundreds of interpretations of the qmail doc's.  I
read it all the way through and it sounds pretty good...to bad I found
it at 1 am :( I have been staring at this monitor of mine for over 3
hours now.  I think I am just going to remove what I have and install
qmail fresh tomorrow. 
I hope this help's, I know it made more sense to me... 
Later,
-- 

Dale Miracle
 System Administrator
  Teoi Net



Re: Newbie Question - Please Read!

1999-06-19 Thread Anonymous

gene Campbell wrote:
> 
> I just tried this howto.  It is the best one yet for helping understand
> this system.  But, I still can't get smtp to work. That is if I send from
> another place to my system with qmail, it is bouced back.  I get this
> 
> ___
> Hi. This is the qmail-send program at mail.surfup.com.
> I'm afraid I wasn't able to deliver your message to the following addresses.
> This is a permanent error; I've given up. Sorry it didn't work out.
> 
> <[EMAIL PROTECTED]>:
> Sorry. Although I'm listed as a best-preference MX or A for that host,
> it isn't in my control/locals file, so I don't treat it as local. (#5.4.6)
> ---
> 
> I feel like I'm getting somewhere with this.  But, I have no idea how I'm
> going to get POP mail working.
> 
> - gene
> 
> At 1:06 AM -0400 6/19/99, Dale Miracle wrote:
> >> Kevin King wrote:
> >>
> >> I recently got my RH Linux box working wtith Qmail (with a huge amount
> >> of help from Dave Sill). When I installed Qmail setup the following
> >> files as such:
> >>
> >
> >I found this web site tonight that might help some people. I am also
> >trying to setup qmail my self because sendmail's virtual mail setup is
> >EVIL..I hate m4 and makemap . Any how here is the link
> >http://www.flounder.net/qmail/qmail-howto.html
> >
> >I found it while searching through many howto's and web pages trying to
> >make sense of the hundreds of interpretations of the qmail doc's.  I
> >read it all the way through and it sounds pretty good...to bad I found
> >it at 1 am :( I have been staring at this monitor of mine for over 3
> >hours now.  I think I am just going to remove what I have and install
> >qmail fresh tomorrow.
> >I hope this help's, I know it made more sense to me...
> >   Later,
> >--
> >
> >Dale Miracle
> > System Administrator
> >  Teoi Net

I read in one the howto's tonight that you need to put all systems in
your net that do your mx (mail exchange) in fqdn (fully qualified domain
name) format in the control/locals file.  An example of fqdn is,
demon-spawn.teoi.net .
If you can help it do not use cname's as your mx records in your dns.
(ignore the following if you already know ;) ) cnames are conical or
alias names for A records in dns.  A records are the real names of
machine, A records combined with your domain name gives you your fqdn. 
MX is mail exchanger (mail server).  My mail server is
demon-spawn.teoi.net it has a cname of smtp.teoi.net .  The mx record
uses demon-spawn.teoi.net not smtp.teoi.net .  You can get away with
using cnames but some systems will not work using that.

I sent a message to your system and looked at the message transcript. 
(after checking your dns if needed) make sure your domain name is in
defaulthost, defaultdomain, plusdomains and your mail server's fqdn in
locals, me, rcphosts .  I had qmail working tonight with pine (didn't
have pop setup for qmail) with this config.  Any questions just ask.
Later,
-- 

Dale Miracle
 System Administrator
  Teoi Net



Re: Newbie Question - Please Read!

1999-06-19 Thread Anonymous

I just tried this howto.  It is the best one yet for helping understand
this system.  But, I still can't get smtp to work. That is if I send from
another place to my system with qmail, it is bouced back.  I get this

___
Hi. This is the qmail-send program at mail.surfup.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<[EMAIL PROTECTED]>:
Sorry. Although I'm listed as a best-preference MX or A for that host,
it isn't in my control/locals file, so I don't treat it as local. (#5.4.6)
---

I feel like I'm getting somewhere with this.  But, I have no idea how I'm
going to get POP mail working.

- gene


At 1:06 AM -0400 6/19/99, Dale Miracle wrote:
>> Kevin King wrote:
>>
>> I recently got my RH Linux box working wtith Qmail (with a huge amount
>> of help from Dave Sill). When I installed Qmail setup the following
>> files as such:
>>
>
>I found this web site tonight that might help some people. I am also
>trying to setup qmail my self because sendmail's virtual mail setup is
>EVIL..I hate m4 and makemap . Any how here is the link
>http://www.flounder.net/qmail/qmail-howto.html
>
>I found it while searching through many howto's and web pages trying to
>make sense of the hundreds of interpretations of the qmail doc's.  I
>read it all the way through and it sounds pretty good...to bad I found
>it at 1 am :( I have been staring at this monitor of mine for over 3
>hours now.  I think I am just going to remove what I have and install
>qmail fresh tomorrow.
>I hope this help's, I know it made more sense to me...
>   Later,
>--
>
>Dale Miracle
> System Administrator
>  Teoi Net





Re: Newbie Question - Please Read!

1999-06-19 Thread Anonymous

On Fri, 18 Jun 1999, gene Campbell wrote:

> I just tried this howto.  It is the best one yet for helping understand
> this system.  But, I still can't get smtp to work. That is if I send from
> another place to my system with qmail, it is bouced back.  I get this
> 
> ___
> Hi. This is the qmail-send program at mail.surfup.com.
> I'm afraid I wasn't able to deliver your message to the following addresses.
> This is a permanent error; I've given up. Sorry it didn't work out.
> 
> <[EMAIL PROTECTED]>:
> Sorry. Although I'm listed as a best-preference MX or A for that host,
> it isn't in my control/locals file, so I don't treat it as local. (#5.4.6)
> ---
> 
> I feel like I'm getting somewhere with this.  But, I have no idea how I'm
> going to get POP mail working.

what should mail.surfup.com do with the mail for surfup.com?

do ONE ONLY of the following:

if it should deliver it locally put
surfup.com into control/locals
   delivery is now done to local users

if surfup.com is one of many individual domains then put
surfup.com:username-surfup into control/virtualdomains
   delivery is now controlled by ~username/.qmail-surfup-*

if it should deliver to somewhere else then put
surfup.com:[ip.address.of.somewhereelse] into control/smtproutes
   mail will be forwarded to the host on the ip address inside the square
   brackets. you could put a hostname in there if you like.