Jeremias Galletti <[EMAIL PROTECTED]> wrote:
>
> I'm trying to migrate from Windows 98 to Linux. Now I'm using my
> computer mainly for email, so a good email implementation is vital
> to my system. I've read the Mail-HOWTO and it recommends
> people to use qmail instead of sendmail. I've successfully
> downloaded and compiled qmail, but so far I haven't been able to
> configure it right.
First off, qmail is probably overkill for you. If you just want to use
your system to read mail from the mail account that your ISP provides you,
maybe you should try nullmailer instead, by Bruce Guenter. It's a simple
but reliable MTA, with much of its design inspired by qmail. It simply
provides a mail interface which will automatically send all outgoing mail
to a smarthost -- typically your ISP's SMTP server, though there are other
options.
You can find it at:
http://www.em.ca/~bruceg/nullmailer/
> The first problem arises when I have to tell qmail my FQDN. I
> connect to the Internet through my ISP, which assigns me a
> different dynamic IP address every time. My hostname is precious,
> so what should my FQDN be?
If you don't own a domain, pick something that doesn't exist (and can't
exist, like a non-existent top-level domain) -- something like
host.domain.internal.
This really doesn't matter, as your mailer will deliver locally-injected
mail to local accounts whatever the domain name is once it's configured
properly. As for mail you send to the real world, configure your MUA (like
mutt) to send using a From: and envelope sender of the account your ISP
provides you ([EMAIL PROTECTED], etc).
Then use something like getmail or fetchmail to retrieve your mail from your
ISP onto your Linux box to read, or use a POP3-enabled mail client to retrieve
it directly.
You can get getmail at:
http://www.qcc.sk.ca/~charlesc/software/getmail/
> I played aroung with different FQDN values and found that
> [EMAIL PROTECTED] seems to work. But when I try to
> send an email locally, I get different error messages saying
> something about one of qmail's daemons not being able to chdir to
> the mail directory. I've created mailboxes for root and my username
> with the utility included with qmail. Do I have to change the
> directory permissions?
Depends what your default delivery instructions are, and what (if any)
.qmail files you have. The typical installation of qmail uses Maildirs
for default delivery, and therefore it won't deliver to an mbox file.
Try doing `maildirmake ~/Maildir` as the user in question and see if the
error message goes away.
> I've read all the qmail docs I could find, and so far they seem to be
> oriented to big systems. Should I use qmail? My laptop is not
> connected to a network, and it only has one user. Has anyone
> successfully configured qmail for this particular kind of system?
> Any tips, suggestions or pointers would be really appreciated.
Again, I would recommend nullmailer for this purpose.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------