Displaying 20 results from an estimated 6000 matches similar to: "how to automatically delete folders from Trash after x days"
2020 Mar 09
4
how to create Drafts, Junk, Sent, Trash folders after user already created
Hello Dovecot,
Do to a misconfiguration, I have a bunch of users who do not have the
standard folders.
I can create a routine to cycle through the users and look for the folders
and run a command if there is one.
Is there a way to create the proper namespace for a user after the user has
already been created?
Thanks in advance.
-------------- next part --------------
An HTML attachment was
2009 Nov 15
2
FW: Panic: Message unexpectedly expunged from index
Nevermind. I figured it out. I left off the INDEX command. Sorry to spam
the mail list :(
Here is my mail_location for future reference / searches:
mail_location =
mbox:/var/spool/mail:INBOX=/var/spool/mail/%u:INDEX=/var/indexes/%u
-----Original Message-----
From: dovecot-bounces+chayes=afo.net at dovecot.org
[mailto:dovecot-bounces+chayes=afo.net at dovecot.org]On Behalf Of Cliff
Hayes
2005 Dec 14
1
Best way to upgrade from 1.0a4 to 1.0a5
Hello all,
I have 1.0 Alpha 4. Is it better to shut down sendmail, uninstall dovecot
1.0a4 then install 1.0a5, or just install 1.0a5 over the top of 1.0a4?
Thanks,
Cliff
2016 Dec 13
3
mailboxes and capitalisation
Dear all,
I have set up a series of special-use mailboxes in the default namespace
differing by capitalisation of the names, mainly to capture multiple
mailboxes
with autoexpunge
namespace inbox {
...
mailbox Trash {
auto = no
autoexpunge = 30d
special_use = \Trash
}
mailbox trash {
auto = no
autoexpunge = 30d
special_use = \Trash
}
...
}
2019 Jul 25
3
Autoexpunge not working for Junk?
Hi all,
I set up dovecot a couple of months ago and am having trouble getting autoexpunge=30d to work on my Trash and Junk mailboxes. Not sure why not because I'm not getting error messages in my log.
Running "doveadm search -u <user> mailbox Junk savedbefore 30d" shows me many messages (I've got messages back to mid-May, and a couple of other users have them back to
2016 Dec 13
1
mailboxes and capitalisation
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, 13 Dec 2016, Tanstaafl wrote:
> On 12/13/2016 4:48 AM, Thorsten Hater <thorsten.hater at gmail.com> wrote:
>> I have set up a series of special-use mailboxes in the default namespace
>> differing by capitalisation of the names, mainly to capture multiple
>> mailboxes
>> with autoexpunge
>>
>>
2005 Nov 28
1
Graceful shutdown
Hello all,
I am running Dovecot v1alpha4 on Fedora 4 from the command line (as opposed
to deamon). Is there a recommended way to shut it down gracefully? Or do I
just use killall -9 dovecot? I'm not using the included version, so I can't
do SERVICE DOVECOT STOP.
Thanks,
Cliff
2014 Oct 21
2
dictionary attack defense
Does dovecot have any dictionary attack defenses yet?
In the past I have had to implement defense from outside dovecot, but
since dovecot is at the front lines and therefore is the first to know
I'm hoping by now there is something we can set. For example, a limit
on access failures per minut/hour/day or some such. If not why not?
2016 Aug 30
2
autoexpunge clarification
I'm trying to understand autoexpunge, but the documentation is just not
clear. Hopefully, someone can clear up a few questions.
http://wiki.dovecot.org/MailboxSettings says the following:
autoexpunge=<time>: (v2.2.20+) Automatically at user deinitialization
expunge all mails in this mailbox whose saved-timestamp is older than <time>
(e.g. autoexpunge=30d). This removes the
2005 Nov 16
2
Mailbox isn't a valid mbox file
Hello all,
I have a new installation of Fedora 4 and Dovecot 1.4.Alpha4
A small percentage of my users are getting unable to pop mail from a client
(ie: Outlook), they get continually prompted for username/password. The
error they get is: Mailbox isn't a valid mbox file.
When I look in the file, I don't see anything unusual. There's not much
info on the Internet about this
2016 Feb 08
2
autoexpunge - different settings for different users
> On Feb 7, 2016, at 10:59 AM, Timo Sirainen <tss at iki.fi> wrote:
>> On 07 Feb 2016, at 04:50, Tom Johnson <tj at terramar.net> wrote:
>>
>> I have some users where I'd like to expunge their mail at different times.
>> ....
>> ....
>> Is there a way to do some sort of lookup for this? Or is this beyond the ability of the autoexpunge
2016 Feb 07
6
autoexpunge - different settings for different users
I have some users where I'd like to expunge their mail at different times.
For example, I may have some users who I want to expunge everything from every folder at 30 days.
Others where I'd like to expunge everything at 90 days.
And still others where I only want to expunge mail from the Trash and Junk folders, and nowhere else.
Is there a way to do some sort of lookup for this? Or
2016 Dec 16
1
autoexpunge=30d does not works :(
Hello,
just upgraded to Dovecot 2.2.27 and altered dovecot.conf to contain
autoexpunge directive for Spam mailbox (yes it's migrated from Courier 3
years ago):
namespace inbox {
prefix = INBOX.
separator = .
inbox = yes
2020 Mar 09
0
how to create Drafts, Junk, Sent, Trash folders after user already created
> On 09/03/2020 19:22 chayes at afo.net wrote:
>
>
> Hello Dovecot,
> Do to a misconfiguration, I have a bunch of users who do not have the standard folders.
> I can create a routine to cycle through the users and look for the folders and run a command if there is one.
> Is there a way to create the proper namespace for a user after the user has already been created?
>
2020 Mar 09
0
FW: how to create Drafts, Junk, Sent, Trash folders after user already created
Thanks for the suggestions, but I need to do this after users have been
created.
Would this be the best way?
To run this for each user:
doveadm mailbox create -u $username -s Drafts
doveadm mailbox subscribe -u $username Drafts
doveadm mailbox create -u $username -s Junk
doveadm mailbox subscribe -u $username Junk
doveadm mailbox create -u $username -s Sent
doveadm mailbox subscribe -u
2020 Oct 13
4
Auro expunge
When using autoexpunge = 14 days in, for example. The trash of junk folders, does that physically remove the messages from disk or simply mark them to be removed and some other action needs to be taken?
I ask because my mail server crapped out today and I discovered a Junk folder with 490,000 messages in it, and the sa-spamd and mariadb processes died a horrible death.
Haven't had time to
2019 Aug 08
2
Autoexpunge not working for Junk?
Hello!
I have the autoexpunge settings defined inside protocol imap thus (and
it works):
protocol imap {
? mail_plugins = quota notify replication imap_quota imap_sieve
? namespace inbox {
??? location =
??? mailbox Ham {
????? autoexpunge = 365 days
??? }
??? mailbox Spam {
????? autoexpunge = 365 days
??? }
??? mailbox Trash {
????? autoexpunge = 180 days
??? }
??? prefix =
? }
2014 Oct 15
1
Permissions problem on new installation
I am setting up a new mail server using imap only on Scientific Linux
6.5 and dovecot 2.0.9. How do I fix this problem?
I keep getting these errors regardless of permissions ... even up to 777.
Oct 15 13:56:01 avalon dovecot: imap(chayes at domain.tld): Error:
opendir(/var/email/chayes at domain.tld/Maildir) failed: Permission denied
(euid=497(chayes) egid=12(mail) missing +r perm:
2017 Jan 17
2
Dynamic autoexpunge for IMAP folders
So, returning from the LDAP userdb does not change situation.
As I said, I would to set folder names dynamicaly, without setting
up a mailbox in advance.
Here the problem is discussed
http://www.dovecot.org/list/dovecot/2013-August/092023.html
but no solution is found apart from defining the namespace in the
static config, see here
http://www.dovecot.org/list/dovecot/2013-August/092053.html
As
2017 Jan 17
2
Dynamic autoexpunge for IMAP folders
Dear all,
is there a way to allow users to set up something like autoexpunge
on an individual IMAP folder basis?
The idea I implemented does not seem to work, namely returning
namespace/inbox/mailbox/Bla/autoexpunge=6h
from a userdb, which results in
Debug: Unknown userdb setting:
plugin/namespace/inbox/mailbox/Bla/autoexpunge=6h
>From older questions on the mailing list I gather that the