Re: Fw: How set ONLY Mailbox work mode in qmail?

2000-09-28 Thread Dave Sill

"Michail A.Baikov" <[EMAIL PROTECTED]> wrote:

>Better use link to /var/spool/mail and ONE software
>(?standalone). ;-)

Better than what? Why?

>But might be qmail-pop3d make it mbox support in future?

No, that won't happen. Maildir is superior and there are lots of
mbox-compatible POP servers out there (e.g., qpopper, solid).

-Dave



Re: Fw: How set ONLY Mailbox work mode in qmail?

2000-09-27 Thread Michail A.Baikov

Better use link to /var/spool/mail and ONE software (?standalone). ;-)
But might be qmail-pop3d make it mbox support in future?


- Original Message -
From: "Charles Cazabon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 28, 2000 12:12 AM
Subject: Re: Fw: How set ONLY Mailbox work mode in qmail?


> Michail A.Baikov <[EMAIL PROTECTED]> wrote:
> > >
> > > If you need mail delivered to /var/spool/mail/$USER, then you don't
> > > want or need Maildirs.
> >
> > But qmail not work in only maildirs mode. pop3 daemon know about ONLY
> > Maildirs! :-(
> [...]
> > in $HOME :
> >
> > echo -n >.qmail
> > echo ./Maildir/ > .qmail
> > ln -s /var/spool/mail/bob Maildir
> >
> > and all work, but this curved :-/
> >
> > I am want use Mailbox in $HOME. And kill Maildir with /var/spool/mail/*
> > qmail-pop3d not work with Mailbox :-(
>
> You're really confused here.  A Maildir is not just an mbox named
"Maildir".
> They're fundamentally different.  Programs which expect mail to be stored
> in mbox format in /var/spool/mail/$USER will not understand a Maildir
there,
> which is what you're trying to accomplish above.
>
> Yes, qmail-pop3d does not understand anything but Maildirs.  So use
> qpopper instead; it can use /var/spool/mail/$USER mboxes.
>
> 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.
> ---




Re: Fw: How set ONLY Mailbox work mode in qmail?

2000-09-27 Thread Charles Cazabon

Michail A.Baikov <[EMAIL PROTECTED]> wrote:
> >
> > If you need mail delivered to /var/spool/mail/$USER, then you don't
> > want or need Maildirs.
> 
> But qmail not work in only maildirs mode. pop3 daemon know about ONLY
> Maildirs! :-(
[...] 
> in $HOME :
> 
> echo -n >.qmail
> echo ./Maildir/ > .qmail
> ln -s /var/spool/mail/bob Maildir
> 
> and all work, but this curved :-/
> 
> I am want use Mailbox in $HOME. And kill Maildir with /var/spool/mail/*
> qmail-pop3d not work with Mailbox :-(

You're really confused here.  A Maildir is not just an mbox named "Maildir".
They're fundamentally different.  Programs which expect mail to be stored
in mbox format in /var/spool/mail/$USER will not understand a Maildir there,
which is what you're trying to accomplish above.

Yes, qmail-pop3d does not understand anything but Maildirs.  So use
qpopper instead; it can use /var/spool/mail/$USER mboxes.

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.
---



Re: Fw: How set ONLY Mailbox work mode in qmail?

2000-09-27 Thread Dave Sill

"Michail A.Baikov" <[EMAIL PROTECTED]> wrote:

>But qmail not work in only maildirs mode. pop3 daemon know about ONLY
>Maildirs! :-(

qmail-pop3d only works with maildirs.

>I'm don't want use other software (like sendmail,procmail,qpopper and etc),
>but want be use mailbox-like style.

Sorry, that's not possible. You'll either need to use maildirs or
switch to a POP daemon like Solid[1].

>Too many capacibility parts of disk's. We must use only /var/spool/mail for
>storage messages.

You'll need to use /bin/mail, procmail, or some other local delivery
agent. qmail-local only delivers to $HOME.

>I'm make next (ex. for user BOB):
>
>mkdir /var/spool/mail/bob
>mkdir /var/spool/mail/bob/cur
>.../new
>.../tmp
>chown bob.users /var/spool/mail/bob
>chown bob.users * -R (in bob directory)
>chmod 0700 /var/spool/mail/bob
>etc..
>
>in $HOME :
>
>echo -n >.qmail
>echo ./Maildir/ > .qmail
>ln -s /var/spool/mail/bob Maildir
>
>and all work, but this curved :-/

Yeah. :-)

>I am want use Mailbox in $HOME. And kill Maildir with /var/spool/mail/*

Wait a minute...I thought you said you had to use /var/spool/mail, not 
$HOME. Which is it?

>qmail-pop3d not work with Mailbox :-(

Correct.

>> > 1. All messages saving in Maildir/new/
>> > How automate move all message from Maildir/ to ./Mailbox ?
>>
>> Write a script to loop through the messages and append them to the
>> /var/spool/mail/$USER mailbox after prefising them with "From "
>> lines.
>
>Sorry, not understand, source? Example of script please ;-)

Something like:

  for i in `find Maildir -type f -print`; do
echo >>/var/spool/mail/$USER
echo "root@localhost Wed Sep 27 13:39:32 2000" >>/var/spool/mail/$USER
sed 's/^From/>From/' $i >>/var/spool/mail/$USER
  done

Which is completely untested and likely to Kill Your Dog (tm)[2].

>Resume: qmail-pop3d work with ./Mailbox or no?

No.

So why do you want to use mbox? Maildir is superior.

-Dave

Footnotes: 
[1]  http://web.infoave.net/~dsill/lwq.html#solid

[2]  http://web.infoave.net/~dsill/lwq.html#lwq-warranty



Re: Fw: How set ONLY Mailbox work mode in qmail?

2000-09-27 Thread Michail A.Baikov

Hello


> "Michail A.Baikov" <[EMAIL PROTECTED]> wrote:
>
> > 1. I am have "old sendmail" system, and all mail found in
> > /var/spool/mail/$USER (all in sendmail-like mode (mbox))
> >
> > 2. I am set qmail and create Maildir directory's.
>
> If you need mail delivered to /var/spool/mail/$USER, then you don't
> want or need Maildirs.


But qmail not work in only maildirs mode. pop3 daemon know about ONLY
Maildirs! :-(


>
> > 3. But system must save all message's for every $USER in
> > /var/spool/mail/$USER
>
> See INSTALL.vsm.


I'm don't want use other software (like sendmail,procmail,qpopper and etc),
but want be use mailbox-like style.


>
> > 4. I am create ln -s /var/spool/mail/$USER Mailbox and every $HOME.
>
> Why? What's looking for $HOME/Mailbox?

Too many capacibility parts of disk's. We must use only /var/spool/mail for
storage messages.

I'm make next (ex. for user BOB):

mkdir /var/spool/mail/bob
mkdir /var/spool/mail/bob/cur
.../new
.../tmp
chown bob.users /var/spool/mail/bob
chown bob.users * -R (in bob directory)
chmod 0700 /var/spool/mail/bob
etc..

in $HOME :

echo -n >.qmail
echo ./Maildir/ > .qmail
ln -s /var/spool/mail/bob Maildir

and all work, but this curved :-/

I am want use Mailbox in $HOME. And kill Maildir with /var/spool/mail/*

qmail-pop3d not work with Mailbox :-(


>
> > 1. All messages saving in Maildir/new/
> > How automate move all message from Maildir/ to ./Mailbox ?
>
> Write a script to loop through the messages and append them to the
> /var/spool/mail/$USER mailbox after prefising them with "From "
> lines.

Sorry, not understand, source? Example of script please ;-)

>
> > 2. All messages saved in ./Mailbox not visible in pop3 connection. :(
>
> Wait... ./Mailbox or ./Maildir? Which POP3 daemon are you using? If
> you're using one that looks in /var/spool/mail/$USER, then it won't
> look in the user's home directory (unless you create a link) and the
> mailbox will have to be in mbox format, not maildir format.

./Mailbox! ;-) I am want and using qmail-pop3d.

Resume: qmail-pop3d work with ./Mailbox or no?


Michail.




Re: Fw: How set ONLY Mailbox work mode in qmail?

2000-09-27 Thread Dave Sill

"Michail A.Baikov" <[EMAIL PROTECTED]> wrote:

> 1. I am have "old sendmail" system, and all mail found in
> /var/spool/mail/$USER (all in sendmail-like mode (mbox))
> 
> 2. I am set qmail and create Maildir directory's.

If you need mail delivered to /var/spool/mail/$USER, then you don't
want or need Maildirs.

> 3. But system must save all message's for every $USER in
> /var/spool/mail/$USER

See INSTALL.vsm.

> 4. I am create ln -s /var/spool/mail/$USER Mailbox and every $HOME.

Why? What's looking for $HOME/Mailbox?
 
> 1. All messages saving in Maildir/new/
> How automate move all message from Maildir/ to ./Mailbox ?

Write a script to loop through the messages and append them to the
/var/spool/mail/$USER mailbox after prefising them with "From "
lines.

> 2. All messages saved in ./Mailbox not visible in pop3 connection. :(

Wait... ./Mailbox or ./Maildir? Which POP3 daemon are you using? If
you're using one that looks in /var/spool/mail/$USER, then it won't
look in the user's home directory (unless you create a link) and the
mailbox will have to be in mbox format, not maildir format.

-Dave



Fw: How set ONLY Mailbox work mode in qmail?

2000-09-27 Thread Michail A.Baikov



> Help me please!!!
> 
> 1. I am have "old sendmail" system, and all mail found in
> /var/spool/mail/$USER (all in sendmail-like mode (mbox))
> 
> 2. I am set qmail and create Maildir directory's.
> 
> 3. But system must save all message's for every $USER in
> /var/spool/mail/$USER
> 
> 4. I am create ln -s /var/spool/mail/$USER Mailbox and every $HOME.
> 
> Problem:
> 
> 1. All messages saving in Maildir/new/
> How automate move all message from Maildir/ to ./Mailbox ?
> 
> 2. All messages saved in ./Mailbox not visible in pop3 connection. :(
> 
> Sorry for bad english :(
> 
> Help me, please!
>