[Dovecot] Is there a way to limit multiple POP3 connections?

arvids arvids at mpe.lv
Fri Jan 11 16:23:20 EET 2008


On Friday 11 January 2008 15:37:51 Timo Sirainen wrote:
> Hmm. Not here, at least with latest hg..
>
> export MAIL=~/Maildir
> rm -f ~/Maildir/dovecot*
> printf "list\ntop 1\nretr 1\ndele 1\nquit\n" | ./pop3
> ls ~/Maildir/dovecot*
> /home/tss/Maildir/dovecot.index.log  /home/tss/Maildir/dovecot-uidlist
>
> If you do "idxview ~/Maildir" (idxview should be in libexec/dovecot/
> directory) what cached fields does it show for messages?

just tested with the latest hg(740a17139b67) - removed the whole mail directory,
then sent two mails, then retrieved them with POP3, then repeated sending and
retrieving. After each step cache file was updated(both after deliver and POP3 session).
Here are cached fields from idxview output after the test:
-- Cache fields --
 #  Name                                         Type Size Dec  Last used
 0: flags                                        bit     4 no   1970-01-01 03:00
 1: date.sent                                    fix     8 no   1970-01-01 03:00
 2: date.received                                fix     4 no   1970-01-01 03:00
 3: date.save                                    fix     4 no   1970-01-01 03:00
 4: size.virtual                                 fix     8 tmp  2008-01-11 16:11
 5: size.physical                                fix     8 tmp  2008-01-11 16:11
 6: imap.body                                    str     - no   1970-01-01 03:00
 7: imap.bodystructure                           str     - no   1970-01-01 03:00
 8: imap.envelope                                str     - no!  1970-01-01 03:00
 9: mime.parts                                   var     - no   1970-01-01 03:00

here is dovecot -n output:
# 1.1.beta13: /usr/local/dovecot/etc/dovecot.conf
base_dir: /var/run/dovecot/
syslog_facility: local0
protocols: pop3
ssl_disable: yes
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable: /usr/local/dovecot/libexec/dovecot/pop3-login
login_greeting: Server.
login_process_per_connection: no
login_processes_count: 5
login_max_processes_count: 32
verbose_proctitle: yes
first_valid_uid: 95
first_valid_gid: 95
mail_uid: 95
mail_gid: 95
mail_location: maildir:~/Maildir
fsync_disable: yes
mail_executable: /usr/local/dovecot/libexec/dovecot/pop3
mail_plugins: quota
mail_plugin_dir: /usr/local/dovecot/lib/dovecot/pop3
pop3_enable_last: yes
pop3_client_workarounds: outlook-no-nuls oe-ns-eoh
auth default:
  mechanisms: plain login digest-md5 cram-md5 apop
  cache_size: 1024
  cache_ttl: 600
  cache_negative_ttl: 60
  user: doveauth
  verbose: yes
  passdb:
    driver: sql
    args: /usr/local/dovecot/etc/dovecot-sql.conf
  userdb:
    driver: prefetch
  userdb:
    driver: sql
    args: /usr/local/dovecot/etc/dovecot-sql.conf
  socket:
    type: listen
    master:
      path: /var/run/dovecot/auth-master
      mode: 384
      user: vmail
      group: vmail
plugin:
  quota: dict:::proxy:/var/run/dovecot/dict-server:quotadict
dict:
  quotadict: mysql:/usr/local/dovecot/etc/dovecot-sql-dict-quota.conf


Regards, Arvids


More information about the dovecot mailing list