List Info

Thread: dbmail-export




dbmail-export
country flaguser name
Portugal
2007-07-15 07:25:13
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.
 
Jorge
Re: dbmail-export
country flaguser name
Netherlands
2007-07-15 09:27:51
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.


That should be documented more clearly in the manpage.

-- 
 
____________________________________________________________
____
  Paul Stevens                                      paul at
nfg.nl
  NET FACILITIES GROUP                     GPG/PGP:
1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

Re: dbmail-export
country flaguser name
United States
2007-07-15 10:39:53
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?

Aaron

_______________________________________________
DBmail mailing list
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

Re: dbmail-export
country flaguser name
Norway
2007-07-15 12:03:41
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?
> 
> Aaron
> 
> _______________________________________________
> DBmail mailing list
> DBmaildbmail.org
> htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail


My suggestions:

Export all users:
dbmail-export *

Just typing "dbmail-export" should be equal to
"dbmail-export -h"

-- 
Med hilsen/Best regards

Geir Voll Nielsen
Email	: geirkixz.net
_______________________________________________
DBmail mailing list
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

Re: dbmail-export
country flaguser name
Portugal
2007-07-15 13:43:32
Aaron,

My suggesting is never run without one, at least one
argument, for all, i 
woul'd say "--all-users" or "--all" or
similar.
What do you thing?
I'm not making this as a rule, just a sugestiong, tell me
what you think.



----- Original Message ----- 
From: "Geir Voll Nielsen" <geirkixz.net>
To: "DBMail mailinglist" <dbmaildbmail.org>
Sent: Sunday, July 15, 2007 6:03 PM
Subject: Re: [Dbmail] dbmail-export


> 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?
>>
>> Aaron
>>
>> _______________________________________________
>> DBmail mailing list
>> DBmaildbmail.org
>> htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
>
>
> My suggestions:
>
> Export all users:
> dbmail-export *
>
> Just typing "dbmail-export" should be equal
to "dbmail-export -h"
>
> -- 
> Med hilsen/Best regards
>
> Geir Voll Nielsen
> Email : geirkixz.net
> _______________________________________________
> DBmail mailing list
> DBmaildbmail.org
> htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
> 

_______________________________________________
DBmail mailing list
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

Re: dbmail-export
country flaguser name
Portugal
2007-07-15 13:44:44
By default like Gier said:

> Just typing "dbmail-export" should be equal
to "dbmail-export -h"


I agree, it should display it's help with none argument.



----- Original Message ----- 
From: "Geir Voll Nielsen" <geirkixz.net>
To: "DBMail mailinglist" <dbmaildbmail.org>
Sent: Sunday, July 15, 2007 6:03 PM
Subject: Re: [Dbmail] dbmail-export


> 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?
>> 
>> Aaron
>> 
>> _______________________________________________
>> DBmail mailing list
>> DBmaildbmail.org
>> htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
> 
> 
> My suggestions:
> 
> Export all users:
> dbmail-export *
> 
> Just typing "dbmail-export" should be equal
to "dbmail-export -h"
> 
> -- 
> Med hilsen/Best regards
> 
> Geir Voll Nielsen
> Email : geirkixz.net
> _______________________________________________
> DBmail mailing list
> DBmaildbmail.org
> htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
>
_______________________________________________
DBmail mailing list
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

Re: dbmail-export
country flaguser name
Netherlands
2007-07-15 14:16:54
Jorge Bastos wrote:
> Aaron,
> 
> My suggesting is never run without one, at least one
argument, for all,
> i woul'd say "--all-users" or
"--all" or similar.
> What do you thing?
> I'm not making this as a rule, just a sugestiong, tell
me what you think.

I agree here. Exporting all should never occur by accident.


-- 
 
____________________________________________________________
____
  Paul Stevens                                      paul at
nfg.nl
  NET FACILITIES GROUP                     GPG/PGP:
1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

Re: dbmail-export
country flaguser name
United States
2007-07-16 12:32:21
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
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

Re: dbmail-export
country flaguser name
Portugal
2007-07-17 03:14:25
Hum,
And for all users Aaron?


----- Original Message ----- 
From: "Aaron Stone" <aaronserendipity.cx>
To: <geirkixz.net>; "DBMail mailinglist"
<dbmaildbmail.org>
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
> DBmaildbmail.org
> htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
> 

_______________________________________________
DBmail mailing list
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

Re: dbmail-export
user name
2007-07-17 05:29:25


On 7/16/07, Paul J Stevens < paulnfg.nl">paulnfg.nl>; wrote:
Jorge Bastos wrote:
>; Aaron,
>;
> My suggesting is never run without one, at least one argument, for all,
> i woul'd say "--all-users&quot; or "--all" or similar.
&gt; What do you thing?
&gt; I'm not making this as a rule, just a sugestiong, tell me what you think.

I agree here. Exporting all should never occur by accident.

Yes. It shouldn9;t. 

Suggestion:

dbmail-export = dbmail-export --help = dbmail-export -h

Export all users: dbmail-export --all = dbmail-export -a (with a confirmation) = dbmail-export --all = dbmail-export -ay (without confirmation) = dbmail-export --all --yes

Just my 2 cents.



--
zamri
Linux System Administrator
Kolej ShahPutra Kuantan
Pahang Malaysia
Tel : 609.573.777.7 ext 119
web : http://muhdzamri.blogspot.com
[1-10] [11]

about | contact  Other archives ( Real Estate discussion Medical topics )