Re: Automatic purging of old email in all mailboxes

2016-08-30 Thread Scott W. Sander
I have now set those (with some modifications detailed below) in /etc/dovecont/conf.d/10-mail.conf: mail_uid=vmail mail_uid=vmail mail_home=/var/mail/vhosts/%d/%n mail_location=maildir:/var/mail/vhosts/%d/$n I made these changes relative to your suggestion to more closely match my original

Re: Automatic purging of old email in all mailboxes

2016-08-30 Thread Aki Tuomi
You can provide those defaults with mail_uid=vmail mail_gid=vmail mail_home=/var/mail/vhosts/%d/%u mail_location=Maildir:~/maildir global settings. And then you can remove userdb block completely. Aki > On August 30, 2016 at 7:02 PM "Scott W. Sander" wrote: > > >

Re: Automatic purging of old email in all mailboxes

2016-08-30 Thread Scott W. Sander
Forgive me, I'm a novice. Consider that today I have already set up a working postfix + Dovecot server with userdb using the static driver and passdb using a password file (in the format :{hashing algorithm}). The Dovecot server has several mailboxes which are already in use today. I understand

Re: Automatic purging of old email in all mailboxes

2016-08-29 Thread Stefán Tamás
2016. 08. 29, hétfő keltezéssel 19.40-kor Scott W. Sander ezt írta: > userdb { > args = uid=vmail gid=vmail home=/var/mail/vhosts/%d/%n > driver = static > } Use passwd-file driver to get iteration working. The static driver is can not be used for iteration. -- Üdvözlettel Stefán Tamás

Re: Automatic purging of old email in all mailboxes

2016-08-29 Thread Edgar Pettijohn
Sent from my iPhone > On Aug 29, 2016, at 3:29 PM, Scott W. Sander wrote: > > I used this guide as the starting point for this postfix + Dovecot server: > http://www.binarytides.com/install-postfix-dovecot-debian/. > > My /etc/dovecot/dovecot-users passwd-file only has

Re: Automatic purging of old email in all mailboxes

2016-08-29 Thread Scott W. Sander
I used this guide as the starting point for this postfix + Dovecot server: http://www.binarytides.com/install-postfix-dovecot-debian/. My /etc/dovecot/dovecot-users passwd-file only has username:password (as mentioned in that article) and my userdb driver is static as laid out in the article as

Re: Automatic purging of old email in all mailboxes

2016-08-29 Thread Joseph Tam
"Scott W. Sander" writes: A few of the mailboxes in Dovecot receive hundreds of emails per day. I'd like to automatically remove all emails in all mailboxes and mailbox folders that were received more than 90 days prior to the received date. As I'm a novice Dovecot

Re: Automatic purging of old email in all mailboxes

2016-08-29 Thread Christian Kivalo
On 2016-08-29 21:40, Scott W. Sander wrote: I am using a postfix + Dovecot server as a test mail server for which some applications in our test environment use as a target to deliver email so that our real endusers don't receive messages from our test servers. A few of the mailboxes in

Re: Automatic purging of old email in all mailboxes

2016-08-29 Thread Edgar Pettijohn
http://wiki.dovecot.org/MailboxSettings I just started using auto expunge so can't tell you how well it works, but it's worth a look. Sent from my iPhone > On Aug 29, 2016, at 2:40 PM, Scott W. Sander wrote: > > I am using a postfix + Dovecot server as a test mail

Re: Automatic purging of old email in all mailboxes

2016-08-29 Thread Sean Greenslade
On Mon, Aug 29, 2016 at 07:40:41PM +, Scott W. Sander wrote: > I am using a postfix + Dovecot server as a test mail server for which some > applications in our test environment use as a target to deliver email so > that our real endusers don't receive messages from our test servers. > > A few

Automatic purging of old email in all mailboxes

2016-08-29 Thread Scott W. Sander
I am using a postfix + Dovecot server as a test mail server for which some applications in our test environment use as a target to deliver email so that our real endusers don't receive messages from our test servers. A few of the mailboxes in Dovecot receive hundreds of emails per day. I'd like