Hum,
And for all users Aaron?
----- Original Message -----
From: "Aaron Stone" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "DBMail mailinglist" <[email protected]>
Sent: Monday, July 16, 2007 6:32 PM
Subject: Re: [Dbmail] dbmail-export
On Sun, 2007-07-15 at 19:03 +0200, Geir Voll Nielsen wrote:
Aaron Stone skrev:
> On Sun, 2007-07-15 at 13:25 +0100, Jorge Bastos wrote:
>> Aaron,
>>
>> I was checking the changelog, and went to see the dbmail-export.
>> Should this have some parameter to start working? i just executed
>> "dbmail-export" and it started exporting all accounts.
>
> Because each argument is now really optional, none are required before
> dbmail-export can begin its work.
>
> Do you have a suggestion for what the minimum set of arguments should
> be? Perhaps the -u argument should require some kind of wildcard? Maybe
> an "are you sure you want to dump _all_ mailboxes" with -y?
My suggestions:
Export all users:
dbmail-export *
Just typing "dbmail-export" should be equal to "dbmail-export -h"
I re-read the dbmail-users man page and dbmail-user.c, and there's code
to glob with ? and * on aliases and forwards. So what I'll do them is
make the -u argument mandatory again, then toss this great function into
the mix the same way it is used in dbmail-user.c:
match_list = match_glob_list(userspec, user_list);
So if we match users this way, what about mailboxes? Should we try to
have filesystem semantics where Foo* matches Foo, FooBar, but not
Foo/Bar? This would be in contrast to IMAP mailbox search semantics (and
so I don't like the idea, but I'm just throwing it out there for sake of
discussion).
Aaron
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail