Re: [Cooker] etcskel-1.63-15mdk

2003-02-06 Thread Oden Eriksson
onsdagen den 5 februari 2003 21.28 skrev Buchan Milne:
> On Wed, 5 Feb 2003, Wesley J. Landaker wrote:
> > courier-imap must use Maildir, and postfix can use Maildir. You do
> > support those packages. =)
>
> courier is in contrib, ie unsupported. Postfix is configured to deliver
> via procmail by default, procmail is configured to deliver to mbox by
> default.
>
> Should other packages own files under /etc/skel? Or should this be handled
> by post-install scrits etc?

This is a dead end street...

As the contribs is unsupported, and my patch for "etcskel" was not accepted, I 
might as well do as I please and have both courier-imap and bincimap require 
my new "Maildir" package...

I guess Vincent Danens qmail stuff could all require this simple package too, 
to avoid misunderstanding for those not so experienced "postmasters".

I also broke out Mr. Sams "maildirmake" command into its own package 
(maildirmake++), so you don't have to install courier-imap to be able to make 
for example Maildir++ for all the users in /etc/passwd or whatever.

So EOD on this one, this time.

-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] etcskel-1.63-15mdk

2003-02-06 Thread Yves Duret
Vincent Danen wrote:


I don't think it's unrealistic to add.  If nothing else, it's extremely
simple for a user to remove if they don't want it (rm -rf ~/Maildir).

Alternatively, we could configure postfix out of the box to use
Maildirs instead of mboxes...  Maildirs are far more reliable than
traditional mboxes anyways.  People use journalling filesystems now to
prevent fs corruption, but what happens with mail corruption?  If
/var/spool/mail/username is corrupt, all the mail in it is useless.  At
least with Maildir, each message is it's own file; one corrupt file
doesn't corrupt the entire folder.


quite agree. and i would add easier quota support too. I would add way 
better performance[1] for large mail boxes. I would add... ok i stop 
here,  i switched to maildir a while back, and i will never commeback to 
mbox or gnus/nnml (sort of Maildir, but "proprietary") format.
but before doing this sort of thing, we must check and configure *ALL* 
our included MUA to use Maildir.

Don't dismiss this out of hand just because djb invented it... =)  The
only MTA I know of that doesn't support Maildir is sendmail, and I
could be wrong.  postfix, qmail, exim... they all can use Maildirs.


Maildir r0x :)
And if you use procmail to deliver mail with sendmail (as most of people 
are doing) you will receive them in your Maildir

[1] http://www.courier-mta.org/mbox-vs-maildir/




Re: [Cooker] etcskel-1.63-15mdk

2003-02-06 Thread Buchan Milne
Vincent Danen wrote:
> On Wed Feb 05, 2003 at 08:08:24PM +0100, Chmouel wrote:

> Alternatively, we could configure postfix out of the box to use
> Maildirs instead of mboxes...  Maildirs are far more reliable than
> traditional mboxes anyways.  People use journalling filesystems now to
> prevent fs corruption, but what happens with mail corruption?  If
> /var/spool/mail/username is corrupt, all the mail in it is useless.  At
> least with Maildir, each message is it's own file; one corrupt file
> doesn't corrupt the entire folder.
> 
> Don't dismiss this out of hand just because djb invented it... =)  The
> only MTA I know of that doesn't support Maildir is sendmail, and I
> could be wrong.  postfix, qmail, exim... they all can use Maildirs.
> 

But the default POP/IMAP server doesn't do Maildir, and
1)replacing uw with courier as the default would mean existing users
would have to migrate mbox->Maildir somehow.

IIRC, there are patches around for adding Maildir support it uw, which
would possible make a better migration path to Maildir ...

Buchan

-- 
|--Another happy Mandrake Club member--|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7





Re: [Cooker] etcskel-1.63-15mdk

2003-02-05 Thread Pixel
Vincent Danen <[EMAIL PROTECTED]> writes:

[...]

> > so why theses programs doen't do a mkdir() inside ?
> 
> Because they don't.  You might as well ask why bash doesn't create
> ~/.bash_profile and ~/.bashrc the first time you run it.

because those files are not needed? ~/.bash_history *is* created.

> Or why every program that uses ~/tmp doesn't create it first.
> 
> You're adding four directories: ~/Maildir/{cur,new,tmp}.

still the same question, why not mkdir them in maildir?

> I don't think it's unrealistic to add.  If nothing else, it's extremely
> simple for a user to remove if they don't want it (rm -rf ~/Maildir).

I don't think it's unrealistic to mkdir them. I have a ~/nsmail which
is created by i-don't-know-which-program, I also have a ~/Mail, a
~/Desktop...




Re: [Cooker] etcskel-1.63-15mdk

2003-02-05 Thread Vincent Danen
On Wed Feb 05, 2003 at 08:08:24PM +0100, Chmouel wrote:

> > Maybe you still don't want to add these, but remember Maildir isn't just a
> > qmail issue:
> >
> > courier-imap must use Maildir, and postfix can use Maildir. You do support
> > those packages. =)
> 
> so why theses programs doen't do a mkdir() inside ?

Because they don't.  You might as well ask why bash doesn't create
~/.bash_profile and ~/.bashrc the first time you run it.  Or why every
program that uses ~/tmp doesn't create it first.

You're adding four directories: ~/Maildir/{cur,new,tmp}.  Many programs
use Maildir now, not just qmail.  I've gotten around this in the past
with adding this stuff to /etc/skel via my qmail rpms, but this doesn't
help users that exist prior to installing the qmail rpm... an admin
still has to add all these dirs themself.

I don't think it's unrealistic to add.  If nothing else, it's extremely
simple for a user to remove if they don't want it (rm -rf ~/Maildir).

Alternatively, we could configure postfix out of the box to use
Maildirs instead of mboxes...  Maildirs are far more reliable than
traditional mboxes anyways.  People use journalling filesystems now to
prevent fs corruption, but what happens with mail corruption?  If
/var/spool/mail/username is corrupt, all the mail in it is useless.  At
least with Maildir, each message is it's own file; one corrupt file
doesn't corrupt the entire folder.

Don't dismiss this out of hand just because djb invented it... =)  The
only MTA I know of that doesn't support Maildir is sendmail, and I
could be wrong.  postfix, qmail, exim... they all can use Maildirs.

-- 
MandrakeSoft Security; http://www.mandrakesecure.net/
"lynx -source http://linsec.ca/vdanen.asc | gpg --import"
{FE6F2AFD : 88D8 0D23 8D4B 3407 5BD7  66F9 2043 D0E5 FE6F 2AFD}


msg90045/pgp0.pgp
Description: PGP signature


Re: [Cooker] etcskel-1.63-15mdk

2003-02-05 Thread Buchan Milne
On Wed, 5 Feb 2003, Wesley J. Landaker wrote:

> courier-imap must use Maildir, and postfix can use Maildir. You do support
> those packages. =)
>

courier is in contrib, ie unsupported. Postfix is configured to deliver
via procmail by default, procmail is configured to deliver to mbox by
default.

Should other packages own files under /etc/skel? Or should this be handled
by post-install scrits etc?

Buchan

-- 
|Registered Linux User #182071-|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7





Re: [Cooker] etcskel-1.63-15mdk

2003-02-05 Thread Chmouel Boudjnah
"Wesley J. Landaker" <[EMAIL PROTECTED]> writes:

> Maybe you still don't want to add these, but remember Maildir isn't just a
> qmail issue:
>
> courier-imap must use Maildir, and postfix can use Maildir. You do support
> those packages. =)

so why theses programs doen't do a mkdir() inside ?





Re: [Cooker] etcskel-1.63-15mdk

2003-02-05 Thread Wesley J. Landaker
Apparently, Chmouel Boudjnah recently wrote:
> Oden Eriksson <[EMAIL PROTECTED]> writes:
>
>> Please add this simple fix for 9.1. It will ease support issues in the
>> future,  belive me... (qmail, postfix, courier-imap, bincimap, etc.)
>
> sorry but we cannot do that by default. I know it may be an issue for
> you but we don't support qmail and we cannot add stuf like that to
> etcskel...


Maybe you still don't want to add these, but remember Maildir isn't just a
qmail issue:

courier-imap must use Maildir, and postfix can use Maildir. You do support
those packages. =)








Re: [Cooker] etcskel-1.63-15mdk

2003-02-05 Thread Chmouel Boudjnah
Oden Eriksson <[EMAIL PROTECTED]> writes:

> Ok, then I fix a package myself that will be required by courier-imap and 
> bincimap.

sorry about that...





Re: [Cooker] etcskel-1.63-15mdk

2003-02-05 Thread Oden Eriksson
onsdagen den 5 februari 2003 18.09 skrev Chmouel Boudjnah:
> Oden Eriksson <[EMAIL PROTECTED]> writes:
> > Please add this simple fix for 9.1. It will ease support issues in the
> > future, belive me... (qmail, postfix, courier-imap, bincimap, etc.)
>
> sorry but we cannot do that by default. I know it may be an issue for
> you but we don't support qmail and we cannot add stuf like that to
> etcskel...

Ok, then I fix a package myself that will be required by courier-imap and 
bincimap.

Thanks.
-- 
Regards // Oden Eriksson, Deserve-IT.com




Re: [Cooker] etcskel-1.63-15mdk

2003-02-05 Thread Chmouel Boudjnah
Oden Eriksson <[EMAIL PROTECTED]> writes:

> Please add this simple fix for 9.1. It will ease support issues in the future, 
> belive me... (qmail, postfix, courier-imap, bincimap, etc.)

sorry but we cannot do that by default. I know it may be an issue for
you but we don't support qmail and we cannot add stuf like that to
etcskel... 





[Cooker] etcskel-1.63-15mdk

2003-02-05 Thread Oden Eriksson
Hi.

Please add this simple fix for 9.1. It will ease support issues in the future, 
belive me... (qmail, postfix, courier-imap, bincimap, etc.)

Patches attached.

Chears.
-- 
Regards // Oden Eriksson, Deserve-IT.com


etcskel-1.63-Maildir.patch.bz2
Description: BZip2 compressed data
--- etcskel.spec	2002-08-14 05:14:40.0 +0200
+++ etcskel.spec.oden	2003-02-05 17:22:22.0 +0100
@@ -1,7 +1,7 @@
 # Defined in CVS makefile.
 %define version 1.63
 %define name	etcskel
-%define release 14mdk
+%define release 15mdk
 
 Summary:	Mandrake Linux default files for new users' home directories
 Name:		%{name}
@@ -15,6 +15,8 @@
 # http://www.linuxmandrake.com/en/cvs.php3)
 Source:		%{name}-%{version}.tar.bz2
 
+Patch0:		etcskel-1.63-Maildir.patch.bz2
+
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
 Requires:	bash
 BuildArchitectures: noarch
@@ -28,6 +30,7 @@
 %prep
 
 %setup -q
+%patch0 -p1
 
 %build
 
@@ -43,8 +46,15 @@
 %doc ChangeLog
 %config(noreplace) /etc/skel/.??*
 %config(noreplace) /etc/skel/tmp
+%attr(0700,root,root) %config(noreplace) /etc/skel/Maildir
+%attr(0700,root,root) %config(noreplace) /etc/skel/Maildir/cur
+%attr(0700,root,root) %config(noreplace) /etc/skel/Maildir/new
+%attr(0700,root,root) %config(noreplace) /etc/skel/Maildir/tmp
 
 %changelog
+* Wed Feb 05 2003 Oden Eriksson <[EMAIL PROTECTED]> 1.63-15mdk
+- add the Maildir structure
+
 * Wed Aug 14 2002 Gwenole Beauchesne <[EMAIL PROTECTED]> 1.63-14mdk
 - Automated rebuild with gcc 3.2-0.3mdk
 
@@ -224,3 +234,4 @@
 
 * Thu Mar 20 1997 Erik Troan <[EMAIL PROTECTED]>
 - Moved .Xclients and .xsession to xinitrc package
+