On 19 Mar 2000, at 3:33, [EMAIL PROTECTED] wrote:

> I am not competent to advise you about mail.  I have a completely
> nonstandard setup, and it only works because I wrote critical pieces
> of the code myself.  I don't really know how mail _should_ work :-). 
> But I will have a go. 

Don't worry, I don't know how mail should work either. At least, 
your setup works...

>=20 > I obtained the Qmail sources and compiled
> them. The first problem I have = is > that I don't know what FQDN I
> should use for my system. I've tried with > precious (the system's
> name), localhost, and localhost.localdomain. The l= atter > seems to
> be OK. I only have one user account, jeremias, and the > root account.
> I edited the /var/qmail/users/assign file to redirect root'= s > mail
> to jeremias. I'm trying to use the new Maildir format, so I > created
> two Maildir folders, one in /root/Maildir and the other in >
> /home/jeremias/Maildir.
> 
> As I understand it, localhost should be the name of the loopback
> address 127.0.0.1.  For a freestanding system, /etc/hosts might look
> something like this: (snip)

My /etc/hosts looks like this:

127.0.0.1       localhost       precious
127.0.0.1       localhost
127.0.0.1       precious

Is this correct? It didn't prevent sendmail from waiting two minutes 
at boot time, so I ended up not loading it (I'm not using it after all).

> messages like these: >=20 > (..) localhost splogger: 953242046.653579
> alert: unable to opendir info/1= , > sleeping... > (..) localhost
> qmail: 953242047.563439 starting > delivery 1: msg 280 to local
> [EMAIL PROTECTED]=20 > (..) localhost qmail:
> 953242047.563439 starting delivery 2: msg 279 to re= mote >
> [EMAIL PROTECTED]=20 > (..) localhost qmail:
> 953242047.592951 delivery 2: deferral: >
> CNAME_lookup_failed_temporarily._(#4.4.3)/ =20
> 
> Is this an inet address it is getting from /etc/hosts or so?
> precious.localhost seems wrong to me, like it has 2 hostnames.  You
> might want to try and figure out where it is getting that.

The thing is that Qmail automatically adds localhost, or whatever it 
is told to, to the destination addresses it is given. Or at least, I 
don't know how to disable this "feature". Using an empty 
configuration value simply sets the default, which I don't remember 
what it is...

> 
> > (..) localhost qmail: 953242047.610623 delivery 1: deferral:
> > Unable_to_chdir_to_maildir._(#4.2.1)/
> 
> If qmail is like sendmail, I think Maildir has to be group mail and
> rwx for group.
> 
> chgrp mail /home/jeremias/Maildir
> chmod g+rwx /home/jeremias/Maildir

Actually it is a little bit more complicated. From the docs I've read, 
Qmail was designed with security in mind, and that's the reason 
why it runs as several different users. I used the package's Maildir 
folder creation script, which I think should set the right permissions.

> > (..) localhost splogger: 953242056.663598 alert: unable to opendir
> > info/1, sleeping...
> >
> I have no idea what this is all about.

splogger is one of Qmail's parts. info/1 is a directory within qmail's 
directory. I don't know what it is for, and why it can't be opened...

> try jeremias@localhost.  that should be the loopback to
> precious.wherever.itis unless /etc/hosts has been badly mauled.

I'll try that... What I don't think it'll work, not because it is wrong, 
but because even if I manage to give Qmail a valid destination 
address, it can't open the directory where mail is to be stored.

Maybe Qmail is not the right choice. It is, however, recommended 
as the "easiest to configure" MTA in the Mail HOWTO. Should I 
use sendmail or some other program? I haven't tried sendmail 
because if Qmail is the easiest MTA to install, I don't even want to 
think of sendmail. Is this so?

> Sorry, I don'd know SO at all.  HOW can't you run SO as jeremias? 
> What happens if you try?  Are there some other necessary files root
> has that jeremias needs?  Maybe strace could help tell what files SO
> is going after and not getting.  The only way I know to use strace is
> to figure out how to start SO from the command line, maybe in an
> xterm.

If I issue as user jeremias the command used to start StarOffice as 
root, nothings happens. The program is executed, but it simply 
exits one second later without issuing any error messages.

I didn't know about strace. Actually, I don't know what many things. 
I'll give that a try, too.

> As far as the c++ creatures are concerned, RH 5.x is kind of awfully
> old, and most c++ code that has been written since 1997 probably won't
> compile on gcc-2.7.2.3.  I think it was (is) a very good compiler, but
> even I use gcc-2.95.1  (gcc-2.95.2 would be better, I'll get to that
> when I make some disk space to build it in).
> 
> To compile anything, you need the -devel package for every library it
> uses, as well as the library itself.  If the package wants libfoo-3.1
> and you have libfoo-2.7, the compiler probably won't find libfoo.  You
> might have better luck with a newer English distro and go after
> Spanish doco separately.  I know there are Spanish man pages at
> metalab.unc.edu/pub/Linux/doc[s], but I don't know how good or
> complete they are.

I'm not using Conectiva Linux because of the docs in Spanish, but 
simply because it was the only one I could find for $6 at a 
magazine stand. RedHat costs $60 or $70 here, almost half of my 
monthly budget (I'm a college student). I'll see if I can find a newer 
version somewhere...
 
> Lawson

--
Jeremías Galletti
[EMAIL PROTECTED]
ICQ# 38969513

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to