Expunged emails after upgrade from 2.3.16 to 2.4.5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear All

Firstly I made a full backup of the IMAP server prior to the upgrade.

After fixing sync problems with the help of Bron this morning I discovered that ant email older that 150 days has been expunged. What alerted me was the size of the Full backup done one day after the upgrade.

Here is part of the log

Dec 5 04:00:02 brooks cyr_expire[23141]: Expunged 0 out of 208877 messages from 1453 mailboxes Dec 5 21:00:00 brooks ipurge[4410]: Expunged 2 messages from user.user1.Trash Dec 5 21:00:00 brooks ipurge[4410]: Expunged 1 messages from user.user2.Trash Dec 5 21:00:01 brooks ipurge[4410]: Expunged 25 messages from user.user3.Trash
...
Dec 6 03:00:00 brooks ipurge[18145]: Expunged 1 messages from user.user4.quarantine Dec 6 03:00:00 brooks ipurge[18145]: Expunged 5 messages from user.user5.quarantine
....
Dec 6 04:00:00 brooks ipurge[20370]: Expunged 95 messages from user.support.Bacula Dec 6 04:00:02 brooks cyr_expire[20368]: Expunged 0 out of 113053 messages from 1453 mailboxes

Notice the 208877 is now 113053 and I suspect it now more like 77000 since it is 2 days after the upgrade.

Is there a default Expunge ?

I have attached imapd.conf and cyrus.conf.

Thanks
Stephen Carr


--
Stephen Carr
School of Civil, Environmental & Mining Engineering
The University of Adelaide
Adelaide, South Australia, 5005
Australia
Tel +618-8303-4313
Fax +618-8303-4359

Email sgcarr@xxxxxxxxxxxxxxxxxxxxxx

CRICOS Provider Number 00123M
----------------------------------------------------------- This email message is intended only for the addressee(s) and
contains information that may be confidential and/or copyright.
If you are not the intended recipient please notify the sender by reply email and immediately delete this email. Use, disclosure or reproduction of this email by anyone other than the intended recipient(s) is strictly prohibited. No representation is made that this email or any attachments are free of viruses. Virus scanning is recommended and is the responsibility of the recipient.


configdirectory: /common/imap
partition-default: /maildata/cyrus
admins: cyrus
srvtab: /common/imap/srvtab
sievedir: /common/imap/sieve
sasl_pwcheck_method: auxprop
sasl_mech_list: cram-md5 digest-md5 
auxprop_plugin: sasldb
annotation_db: skiplist
sasl_auto_transition: false
allowapop: yes
allowplaintext: yes
postuser: bb
sieveusehomedir: false
sieve_maxscriptsize: 1024
sieve_maxscripts: 256
sieve_extensions: fileinto reject vacation imapflags notify envelope relational regex subaddress copy body
servername: brooks.civeng.adelaide.edu.au 
quotawarn: 80
popminpoll: 0
timeout:30
sendmail: /usr/sbin/sendmail
postmaster: postmaster
singleinstancestore: yes
duplicatesuppression: yes
lmtpsocket: /common/imap/socket/lmtp
tls_ca_file: /common/imap/server.pem
tls_cert_file: /common/imap/server.pem
tls_key_file: /common/imap/server.pem
tls_pop3_cert_file: /common/imap/server.pem
tls_pop3_key_file: /common/imap/server.pem
tls_imap_cert_file: /common/imap/server.pem
tls_imap_key_file: /common/imap/server.pem
tls_session_timeout: 1440
sync_machineid: 1
sync_host: proxy.civeng.adelaide.edu.au
sync_realm: brooks.civeng.adelaide.edu.au
sync_authname: cyrus
sync_password: 30cyrus51
sync_log: 1
sync_repeat_interval: 3
guid_mode: sha1
imapidlepoll:60
flushseenstate: no
expunge_mode: immediate
delete_mode: immediate
mboxname_lockpath: /mnt/tmpfs/lock
# standard standalone server implementation

START {
  # do not delete this entry!
  recover       cmd="ctl_cyrusdb -r"

  # this is only necessary if using idled for IMAP IDLE
  idled         cmd="idled"

  #sync

# problem if sync server not up - stalls others - handled by crontab

# syncclient	cmd="sync_client -v -l -d 5 -r -t 300"

}

# UNIX sockets start with a slash and are put into /var/imap/sockets
SERVICES {
  # add or remove based on preferences
  imap          cmd="imapd" listen="imap" prefork=5 provide_uuid=1
  imaps         cmd="imapd -s" listen="imaps" prefork=10 provide_uuid=1
  pop3          cmd="pop3d" listen="pop3" prefork=5
  pop3s         cmd="pop3d -s" listen="pop3s" prefork=5
  sieve         cmd="timsieved" listen="sieve" prefork=5

  # these are only necessary if receiving/exporting usenet via NNTP
#  nntp         cmd="nntpd" listen="nntp" prefork=3
#  nntps                cmd="nntpd -s" listen="nntps" prefork=1

  # at least one LMTP is required for delivery
#  lmtp         cmd="lmtpd" listen="lmtp" prefork=3
  lmtpunix      cmd="lmtpd" listen="/common/imap/socket/lmtp" prefork=5 provide_uuid=1

  # this is only necessary if using notifications
#  notify       cmd="notifyd" listen="/common/imap/socket/notify" proto="udp" prefork=1

}

EVENTS {
  # this is required
  checkpoint    cmd="ctl_cyrusdb -c" period=30

  # this is only necessary if using duplicate delivery suppression,
  # Sieve or NNTP
  delprune      cmd="cyr_expire -E 3" at=0400

  # this is only necessary if caching TLS sessions
  tlsprune      cmd="tls_prune" at=0400

  # Clean up Trash folders
  trashprune1	cmd="ipurge -f -d 21 user.%.Trash" at=2100
  trashprune2	cmd="ipurge -f -d 21 user.%.trash" at=2130

  # Purge quarantine mailboxes older than 14 days at 3 am
  purgespam	cmd="ipurge -f -d 14 user.%.quarantine" at=0300
  purgespam2	cmd="ipurge -f -d 2 user.%.spam" at=0330
  purgebacula	cmd="ipurge -f -d 28 user.support.Bacula" at=0400

}
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux