Using Maildir

1999-10-14 Thread Keith Lee

Greetings,

   I've just installed the latest version of qmail and am trying to get
Maildirs working.  Is there anyway to globally tell qmail to use
Maildirs for all my users with out creating a .qmail file for each one?

--Keith Lee



Re: Using Maildir

1999-10-14 Thread Dave Sill

Keith Lee <[EMAIL PROTECTED]> wrote:

>   I've just installed the latest version of qmail and am trying to get
>Maildirs working.  Is there anyway to globally tell qmail to use
>Maildirs for all my users with out creating a .qmail file for each one?

man qmail-start

-Dave



Re: Using Maildir

1999-10-14 Thread Mirko Zeibig

On Thu, Oct 14, 1999 at 12:30:15PM -0500, Keith Lee wrote:
>I've just installed the latest version of qmail and am trying to get
> Maildirs working.  Is there anyway to globally tell qmail to use
> Maildirs for all my users with out creating a .qmail file for each one?

Hello Keith,
- first make sure your startscript specifies ./Maildir/ as delivery target.
- I am afraid you need to create a Maildir for every user as well, so echo
  .qmail should be no problem as well, sth like:
- assume your users all have GID 5?? (like on RedHat)
cd /home
for i in $(awk -F: '$3~/5[0-9][0-]/{print $1}'}); do
su $i -c 'maildirmake '$i'/Maildir && echo "./Maildir/" > 
'$i'/.qmail
done

Regards
Mirko



Re: Using Maildir

1999-10-14 Thread Russell Nelson

Keith Lee writes:
 > Greetings,
 > 
 >I've just installed the latest version of qmail and am trying to get
 > Maildirs working.  Is there anyway to globally tell qmail to use
 > Maildirs for all my users with out creating a .qmail file for each one?

The general answer to your question is "yes".  Go into /var/qmail/boot 
and you'll find that all the files there differ only by the default
delivery instructions.  Whatever you want to do for each user (for
example, check their quota before delivering mail) should be inserted
in that file.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!



using ./Maildir/ problems

2000-06-22 Thread Mirco Jeske

Hi all,

I am running qmail 1.03 and decided to use ./Maildir/ delivery.
When an internal mail to [EMAIL PROTECTED] is sent, the folling lines come
in the log:

@40003951f0ee087f3d54 starting delivery 33: msg 766948 to local
[EMAIL PROTECTED] @40003951f0ee0880048c status: local 1/10 remote 0/20
@40003951f0ee08ebb6dc delivery 33: deferral: Unable_to_chdir_to_maildir._(#4.2.1)/
@40003951f0ee08ec85e4 status: local 0/10 remote 0/20


There is the path /home/mirco/Maildir/new (or cur / tmp) , which should be used
for mail delivery.

The last seven days I was reading so much about sendmail, qmail and all the
daemons, that I now completly lost orientation. Somebody wash my brain please !!

Where do I have to set the enviroment variable MAILDIR ??
And how can it be , that the path is not found although it's there ?

I post everything you need, but please help me out ...

Mirco, Hannover



RE: using ./Maildir/ problems

2000-06-22 Thread Tim Hunter

Since you stated you chose to use Maildir/ delivery I would guess that you
edited defaultdelivery in your qmail rc file, or that you understand what
that means.

what it looks like is you need to run maildirmake (found in /var/qmail/bin)
as the user mirco.
Or if you already have a Maildir for mirco, you need to check the ownership
and permissions.

Good luck.

-- Tim


-Original Message-
From: Mirco Jeske [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 22, 2000 9:18 AM
To: [EMAIL PROTECTED]
Subject: using ./Maildir/ problems


Hi all,

I am running qmail 1.03 and decided to use ./Maildir/ delivery.
When an internal mail to [EMAIL PROTECTED] is sent, the folling lines
come
in the log:

@40003951f0ee087f3d54 starting delivery 33: msg 766948 to local
[EMAIL PROTECTED] @40003951f0ee0880048c status: local 1/10 remote
0/20
@40003951f0ee08ebb6dc delivery 33: deferral:
Unable_to_chdir_to_maildir._(#4.2.1)/
@40003951f0ee08ec85e4 status: local 0/10 remote 0/20


There is the path /home/mirco/Maildir/new (or cur / tmp) , which should be
used
for mail delivery.

The last seven days I was reading so much about sendmail, qmail and all the
daemons, that I now completly lost orientation. Somebody wash my brain
please !!

Where do I have to set the enviroment variable MAILDIR ??
And how can it be , that the path is not found although it's there ?

I post everything you need, but please help me out ...

Mirco, Hannover




Message sequence/ordering when using MAILDIR format

1999-11-11 Thread Curtis Generous

What is the mailbox ordering scheme that is returned by applications
as qmail-pop3d when using MAILDIR?

For example, if when using the 'LIST' or 'UIDL' command to POP,
in what sequence will files be listed? In cronological order, or
file creation time, or   Do files in ~/Maildir/cur come before
~/Maildir/new? 

I wasn't able to find any mention of this either in the archives or
in any of the doc files.

Thanks

--curtis



Re: Message sequence/ordering when using MAILDIR format

1999-11-11 Thread Petr Novotny

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11 Nov 99, at 11:03, Curtis Generous wrote:
> I wasn't able to find any mention of this either in the archives or
> in any of the doc files.

How about - deliberately undocumented?

What exactly do you need to know the order for?

-BEGIN PGP SIGNATURE-
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBOCr3nFMwP8g7qbw/EQJGkACg4PSJgA+p6IjhS6Jf+ZywEJipX1MAoNRv
YRRcxiobsrSXbwyH0910eF4y
=u7Ys
-END PGP SIGNATURE-
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
 [Tom Waits]



Re: Message sequence/ordering when using MAILDIR format

1999-11-11 Thread Russell Nelson

Curtis Generous writes:
 > What is the mailbox ordering scheme that is returned by applications
 > as qmail-pop3d when using MAILDIR?
 > 
 > For example, if when using the 'LIST' or 'UIDL' command to POP,
 > in what sequence will files be listed? In cronological order, or
 > file creation time, or   Do files in ~/Maildir/cur come before
 > ~/Maildir/new? 

File modification time.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!



Re: Message sequence/ordering when using MAILDIR format

1999-11-11 Thread Curtis Generous

According to Petr Novotny:
> 
> On 11 Nov 99, at 11:03, Curtis Generous wrote:
> > I wasn't able to find any mention of this either in the archives or
> > in any of the doc files.
> 
> How about - deliberately undocumented?
>
> What exactly do you need to know the order for?

I need to make sure that mailbox ordering is preserved for our
users after we migrate from old POP client (non MAILDIR based)
to the QMAIL-POPPER so that it doesn't confuse their MUA's.

The UIDL is being preserved, but some clients are choking on
the ordering change.

Thanks,

--curtis



Re: Message sequence/ordering when using MAILDIR format

1999-11-11 Thread Curtis Generous

According to Russell Nelson:
> 
> Curtis Generous writes:
>  > What is the mailbox ordering scheme that is returned by applications
>  > as qmail-pop3d when using MAILDIR?
>  > 
>  > For example, if when using the 'LIST' or 'UIDL' command to POP,
>  > in what sequence will files be listed? In cronological order, or
>  > file creation time, or   Do files in ~/Maildir/cur come before
>  > ~/Maildir/new? 
> 
> File modification time.

Across both /cur and /new?  What if files in /new are older than in /cur?
And how does it mitigate between two files with same modification time?

Thanks,

--curtis



Re: Message sequence/ordering when using MAILDIR format

1999-11-11 Thread Russell Nelson

Curtis Generous writes:
 > According to Russell Nelson:
 > > 
 > > Curtis Generous writes:
 > >  > What is the mailbox ordering scheme that is returned by applications
 > >  > as qmail-pop3d when using MAILDIR?
 > >  > 
 > >  > For example, if when using the 'LIST' or 'UIDL' command to POP,
 > >  > in what sequence will files be listed? In cronological order, or
 > >  > file creation time, or   Do files in ~/Maildir/cur come before
 > >  > ~/Maildir/new? 
 > > 
 > > File modification time.
 > 
 > Across both /cur and /new?  What if files in /new are older than in /cur?

Across both /cur and /new.

 > And how does it mitigate between two files with same modification time?

The time is the only key used, so the resultant order depends on the
order the files are presented by readdir().

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!