On Sun, Jun 25, 2000 at 05:26:42AM -0500, Mark Thomas wrote:
>
>
> -----Original Message-----
> From: Steffan Hoeke [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, June 25, 2000 12:51 AM
> To: Mark Thomas
> Subject: Re: INSTALL.maildir - Clairification please!
>
>
> On Sat, Jun 24, 2000 at 05:02:02PM -0500, Mark Thomas wrote:
> >
> >
> > -----Original Message-----
> > From: Steffan Hoeke [mailto:[EMAIL PROTECTED]]
> > Sent: Saturday, June 24, 2000 3:15 PM
> > To: Mark Thomas
> > Subject: Re: INSTALL.maildir - Clairification please!
> >
> >
> > I simply omitted the rc files and put qmail start in my rc ;-)
> > Works like a charm ;)
> > (( I put csh -cf '/var/qmail/rc &' in the inetd.conf, it is working fine
> > also)
> Hmm, my gut tells me that's not the way to go ;)
>
> Right Again. I thought it was working, but after remming it out, it still
> was loading anyway from /usr/local/etc/rc.d/qmail.sh which is a symbolic
> link to /var/qmail/rc. But I think the /usr/local/etc/rc.d/qmail.sh is what
> is actually running on startup. I think this because I copied a "batch file"
> that I had wrote over to the directory and gave it a .sh extension, and it
> runs on boot. This is what is in the rc file.
> #!/bin/sh
> # Using splogger to send the log through syslog.
> # Using qmail-local to deliver messages to ~/Mailbox by default.
>
> exec env - PATH="/var/qmail/bin:$PATH" \
> qmail-start ./Mailbox splogger qmail&
The & shouldn't be needed.
And again, you're telling qmail to deliver to an mbox file named Mailbox ?
I thought you wanted to default to Maildir delivery ?
> I had to add the & after qmail on the second line, because it would not
> complete loading (ie.. apache loads just before qmail, and it would just sit
> there loading apache and never move.
It's no longer loading apache, it's running qmail in the foreground, the ctrl-c
terminates qmail (which is *not* what you want :-))
> I had to hit ctrl-c to get it to the
> login prompt, and this was unloading the qmail rc. Also why I thought it
> was running out of inetd.conf.
qmail-smtpd and qmail-pop3d can run from inetd, but it's *not* 'supported'
I really suggest you take another look at Life with qmail.
It worked for me on my OBSD system, so it should work for your FBSD system as
well !
> Does your rc file have the & at the end?
Nope, it doesn't, as per lwq....
> I have to take another stab at converting over to ./Maildir. When I change
> the rc file over to ./Maildir, all mail works outbound, but I have trouble
> on inbound.
That's logical, since ./Maildir is considered by qmail to be an mbox file with
the filename Maildir.
I know it can be a bit confusing, but if you want qmail to deliver to a Maildir
the proper notation would be ./Maildir/
^ Note the extra / at the end there.
> Root still says access denied on ./Maildir when he receives a message and my
> other users says that ./Maildir is a directory and errors out.
what's the contents of .qmail-root ?
If it's ./Maildir/ it won't work, since qmail DOES NOT deliver mail to root
you have to put something like &bob in .qmail-root, so mail gets forwarded to user
'bob' ....
Again, it should read ./Maildir/ !
./Maildir to qmail means a mbox file with the name Maildir.
> The
> conversion looks pretty simple, I have to look again at the changes I made.
<G> If at first you don't succeed ;-)
> MarkT.
> > What's the problem with maildir2mbox ?
> > I'm not sure how to use it! I have it in my /var/qmail/bin directory.
> There are wrappers for mail, elm and pine in /var/qmail/bin called qail, elq
> and pinq.
> they automagically call maildir2mbox before starting mail, elm or pine ....
>
> I guess the reason I thought it wasn't working, was the fact that mail was
> not seing the mail in ./Mailbox anymore, but it is actually qmail now and
> not sendmail ???
Sorry, but i've got no idea what you mean with this :-(
HTH,
Steffan
--
http://therookie.dyndns.org