-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I am trying to create a user with dbox format.
i get this error:
dovecot: Jan 28 13:45:34 Error: IMAP(ebal2): Mail storage creation failed with mail_location: dbox:/var/mail/folders/testuser dovecot: Jan 28 13:45:34 Error: child 5336 (imap) returned error 89
my conf has this entry:
mail_location: dbox:/var/mail/folders/%u
dovecot 1.0.10
any ideas?
Evaggelos Balaskas - http://ebalaskas.gr Unix System Engineer Informatics Engineer Technological Education -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHncCfWIK+Pe9twhoRAsqJAKCD1Ctf0Tz+2uU5LpLsrmXyNQTg9gCeO/C3 6AzUw9JG3gMwq0cPwiUDmps= =Q/0q -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
no cant do :) at least not yet, i cant just use a beta version to servers (company policy).
The problem i used to have with mbox was a lot of locks, the problem i have with maildir is that programs like sa-learn (from spamassassin) returns argument too long list and perhaps a lot of other programs too.
I though that with dbox i can easily use a simple solution.
Is there some other direction that i can see/learn/use???
Charles Marcus wrote:
On 1/28/2008, Evaggelos Balaskas (ebalaskas@ebalaskas.gr) wrote:
dovecot 1.0.10
Don't even try to use dbox with 1.0.x... it is completely broken.
If you want to play with it, you will have to use the 1.1 code (currently at beta14)...
Evaggelos Balaskas - http://ebalaskas.gr Unix System Engineer Informatics Engineer Technological Education -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHncX7WIK+Pe9twhoRAk7VAKDI7JsU3L4FjgzlnTKadobkAKxaPQCfSdoP ZFVr1kQeMLdUFbkSSyBGNxg= =IG6+ -----END PGP SIGNATURE-----
On 1/28/2008, Evaggelos Balaskas (ebalaskas@ebalaskas.gr) wrote:
I though that with dbox i can easily use a simple solution.
Is there some other direction that i can see/learn/use???
No. Again - dbox is broken and WILL NEVER be fixed in 1.0.x version.
I guess you'll just have to use mbox or maildir until 1.1 goes stable - which shouldn't be too long, timo has said next release will likely be an rc...
--
Best regards,
Charles
Evaggelos Balaskas wrote:
the problem i have with maildir is that programs like sa-learn (from spamassassin) returns argument too long list and perhaps a lot of other programs too.
I have never seen sa-learn giving me any problems while learning spam from maildirs (often with tens of thousands messages).
Simple:
sa-learn --progress --spam new
does the thing, with previously prepared maildir with messages classified as spam.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
thanks for the answer,
I use the same command ( via cron ) but my maildir folder with spam is more than 50.000 emails !!! so ...
but my question wasnt about spamassassin (wrong mail list :) ) but with alternative mailbox format (like dbox) in dovecot 1.0.x
Michal Soltys wrote:
Evaggelos Balaskas wrote:
the problem i have with maildir is that programs like sa-learn (from spamassassin) returns argument too long list and perhaps a lot of other programs too.
I have never seen sa-learn giving me any problems while learning spam from maildirs (often with tens of thousands messages).
Simple:
sa-learn --progress --spam new
does the thing, with previously prepared maildir with messages classified as spam.
Evaggelos Balaskas - http://ebalaskas.gr Unix System Engineer Informatics Engineer Technological Education -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHndd4WIK+Pe9twhoRAoNsAJ4rBkxPsa+ngWGXUEPO9jZmePYLAACgiZZ0 LoIkPnyr9Hiu709QzHK4Azc= =ePcg -----END PGP SIGNATURE-----
Hi Evaggelos,
I use the same command ( via cron ) but my maildir folder with spam is more than 50.000 emails !!! so ...
I had the same issue and I solved it with a little bash script. The trick is to use the xargs function to break up the spam list in smaller blocks (I also restrict spam processing to spam older than $TIME_LIMIT in order to let time to user remove non-spam, and ignore filename ending with T as they have already been removed). Relevant lines :
find ./ -iname "*" -mtime +$TIME_LIMIT -print | grep -v T\$ > $TEMP_FILE_NAME cat $TEMP_FILE_NAME | xargs -r -n500 sa-learn --showdots --spam -C $SA_CONF_DIR
Cheers,
Denis
but my question wasnt about spamassassin (wrong mail list :) ) but with alternative mailbox format (like dbox) in dovecot 1.0.x
Michal Soltys wrote:
Evaggelos Balaskas wrote:
the problem i have with maildir is that programs like sa-learn (from spamassassin) returns argument too long list and perhaps a lot of other programs too.
I have never seen sa-learn giving me any problems while learning spam from maildirs (often with tens of thousands messages).
Simple:
sa-learn --progress --spam new
does the thing, with previously prepared maildir with messages classified as spam.
Evaggelos Balaskas - http://ebalaskas.gr Unix System Engineer Informatics Engineer Technological Education -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHndd4WIK+Pe9twhoRAoNsAJ4rBkxPsa+ngWGXUEPO9jZmePYLAACgiZZ0 LoIkPnyr9Hiu709QzHK4Azc= =ePcg -----END PGP SIGNATURE-----
-- Denis Cardon Tranquil IT Systems 44 bvd des pas enchantés 44230 Saint Sébastien sur Loire tel : +33 (0) 2.40.97.62.67 http://www.tranquil-it-systems.fr
Quoting Evaggelos Balaskas:
I use the same command ( via cron ) but my maildir folder with spam is more than 50.000 emails !!! so ...
Don't run sa-learn over the same messages again, it will give you nothing (sa-learn will ignore it), but it will take a lot of time anyways. Simply move the messages out of the way (e.g. $MAILDIR/.spam-old) after sa-learn ran over it.
participants (5)
-
Charles Marcus
-
Denis Cardon
-
Evaggelos Balaskas
-
Jakob Hirsch
-
Michal Soltys