Re: [Dovecot] Poll: Quota near full behavior? [Was: Feature request? Make deliver quota inclusive!]

2010-02-18 Thread Sven Eulberg
 On Thu, 2010-02-18 at 09:05 -0500, Charles Marcus wrote:
 Personally I think the best way would be, if the user isn't over quota
 at the time of a message delivery, deliver that message, *regardless* of
 whether or not it puts the user over quota.
 
 Wonder if there's anyone who wouldn't want this behavior? One exception
 could be that if mail is larger than the user's entire quota limit, it
 wouldn't be accepted. And this would happen only for deliver/lmtp, not
 imap append (because it would give user an error message directly).
 

Over quota is over quota... 
Perhaps it's better to drop a line in the user's inbox e.g. 'mail from 
m...@address.com rejected because there was not enough space in your inbox...' 
or something else.
So both sender AND recipient are informed and I'm sure the owner will THEN tidy 
up his mailbox.

[Dovecot] Log filenames of saved files to inbox by dovecot-deliver

2009-06-02 Thread Sven Eulberg

Hello,

Is it possible to log the filenames into deliver.log where dovecot- 
deliver saved incoming emails?

If not so, please add this as a feature request.
Thanks in advance!

Regards,
Sven



Re: [Dovecot] Connection queue full on dovecot 1.1.14 and 1.1.15

2009-06-01 Thread Sven Eulberg


Am 28.05.2009 um 09:36 schrieb Sven Eulberg:


Hello,

sometimes we get the following errors on out dovecot proxies:

dovecot: May 27 20:06:10 Info: imap-login: Disconnected: Connection  
queue full (no auth attempts): REMOTE=IP LOCAL=IP TLS handshaking
dovecot: May 27 20:06:10 Info: imap-login: Disconnected: Connection  
queue full (no auth attempts): REMOTE=IP LOCAL=IP TLS handshaking
dovecot: May 27 20:06:10 Info: imap-login: Disconnected: Connection  
queue full (auth failed, 1 attempts): user=USER, method=PLAIN,  
REMOTE=IP LOCAL=IP
dovecot: May 27 20:06:10 Info: imap-login: Disconnected: Connection  
queue full (no auth attempts): REMOTE=IP LOCAL=IP TLS handshaking
dovecot: May 27 20:06:10 Info: imap-login: Disconnected: Connection  
queue full (no auth attempts): REMOTE=IP LOCAL=IP TLS handshaking
dovecot: May 27 20:06:10 Info: imap-login: Disconnected: Connection  
queue full (auth failed, 1 attempts): user=USER, method=PLAIN,  
REMOTE=IP LOCAL=IP
dovecot: May 27 20:06:10 Info: imap-login: Disconnected: Connection  
queue full (no auth attempts): REMOTE=IP LOCAL=IP TLS handshaking
dovecot: May 27 20:06:10 Info: imap-login: Disconnected: Connection  
queue full (no auth attempts): REMOTE=IP LOCAL=IP TLS
dovecot: May 27 20:06:11 Info: imap-login: Disconnected: Connection  
queue full (auth failed, 1 attempts): user=USER, method=PLAIN,  
REMOTE=IP LOCAL=IP TLS
dovecot: May 27 20:06:12 Info: imap-login: Disconnected: Connection  
queue full (auth failed, 1 attempts): user=USER, method=PLAIN,  
REMOTE=IP LOCAL=IP TLS
dovecot: May 27 20:06:15 Info: imap-login: Disconnected: Connection  
queue full (auth failed, 1 attempts): user=USER, method=PLAIN,  
REMOTE=IP LOCAL=IP
dovecot: May 27 20:09:36 Info: imap-login: Disconnected: Connection  
queue full (no auth attempts): REMOTE=IP LOCAL=IP TLS
dovecot: May 27 20:09:36 Info: imap-login: Disconnected: Connection  
queue full (no auth attempts): REMOTE=IP LOCAL=IP
dovecot: May 27 20:09:36 Info: imap-login: Disconnected: Connection  
queue full (no auth attempts): REMOTE=IP LOCAL=IP TLS handshaking
dovecot: May 27 20:09:36 Info: imap-login: Disconnected: Connection  
queue full (no auth attempts): REMOTE=IP LOCAL=IP TLS handshaking
dovecot: May 27 20:09:36 Info: imap-login: Disconnected: Connection  
queue full (no auth attempts): REMOTE=IP LOCAL=IP TLS handshaking
dovecot: May 27 20:11:18 Info: imap-login: Disconnected: Connection  
queue full (no auth attempts): REMOTE=IP LOCAL=IP TLS
dovecot: May 27 20:11:18 Info: imap-login: Disconnected: Connection  
queue full (auth failed, 1 attempts): user=USER, method=PLAIN,  
REMOTE=IP LOCAL=IP TLS
dovecot: May 27 20:39:22 Info: imap-login: Disconnected: Connection  
queue full (no auth attempts): REMOTE=IP LOCAL=IP TLS handshaking
dovecot: May 27 20:39:22 Info: imap-login: Disconnected: Connection  
queue full (auth failed, 1 attempts): user=USER, method=PLAIN,  
REMOTE=IP LOCAL=IP TLS
dovecot: May 27 20:39:23 Info: imap-login: Disconnected: Connection  
queue full (auth failed, 1 attempts): user=USER, method=PLAIN,  
REMOTE=IP LOCAL=IP


Our config:

./dovecot -n
# 1.1.15: /usr/local/dovecot-1.1.15/etc/dovecot.conf
# OS: Linux 2.6.18-6-686 i686 Debian 4.0
base_dir: /usr/local/dovecot/var/run/dovecot/
log_path: /var/log/dovecot-1.1.log
protocols: pop3 pop3s imap imaps
ssl_ca_file: /usr/local/dovecot/etc/ssl/de.TR_CRT
ssl_cert_file: /usr/local/dovecot/etc/ssl/de.CRT
ssl_key_file: /usr/local/dovecot/etc/ssl/de.PKEY
disable_plaintext_auth: no
login_dir: /usr/local/dovecot/var/run/dovecot/login
login_executable(default): /usr/local/dovecot-1.1.15/libexec/dovecot/ 
imap-login
login_executable(imap): /usr/local/dovecot-1.1.15/libexec/dovecot/ 
imap-login
login_executable(pop3): /usr/local/dovecot-1.1.15/libexec/dovecot/ 
pop3-login

login_log_format_elements: user=%u method=%m REMOTE=%r LOCAL=%l %c
login_process_per_connection: no
login_greeting_capability(default): yes
login_greeting_capability(imap): yes
login_greeting_capability(pop3): no
login_processes_count: 10
login_max_processes_count: 256
verbose_proctitle: yes
mail_location: maildir:/home/email/%u/Maildir
mailbox_idle_check_interval: 60
mmap_disable: yes
fsync_disable: yes
mail_executable(default): /usr/local/dovecot-1.1.15/libexec/dovecot/ 
imap

mail_executable(imap): /usr/local/dovecot-1.1.15/libexec/dovecot/imap
mail_executable(pop3): /usr/local/dovecot-1.1.15/libexec/dovecot/pop3
mail_process_size: 512
mail_plugins(default): quota imap_quota
mail_plugins(imap): quota imap_quota
mail_plugins(pop3): quota
mail_plugin_dir(default): /usr/local/dovecot-1.1.15/lib/dovecot/imap
mail_plugin_dir(imap): /usr/local/dovecot-1.1.15/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/local/dovecot-1.1.15/lib/dovecot/pop3
imap_client_workarounds(default): delay-newmail outlook-idle  
netscape-eoh tb-extra-mailbox-sep
imap_client_workarounds(imap): delay-newmail outlook-idle netscape- 
eoh tb-extra-mailbox-sep

imap_client_workarounds(pop3):
pop3_lock_session(default

[Dovecot] Connection queue full on dovecot 1.1.14 and 1.1.15

2009-05-28 Thread Sven Eulberg

Hello,

sometimes we get the following errors on out dovecot proxies:

dovecot: May 27 20:06:10 Info: imap-login: Disconnected: Connection  
queue full (no auth attempts): REMOTE=IP LOCAL=IP TLS handshaking
dovecot: May 27 20:06:10 Info: imap-login: Disconnected: Connection  
queue full (no auth attempts): REMOTE=IP LOCAL=IP TLS handshaking
dovecot: May 27 20:06:10 Info: imap-login: Disconnected: Connection  
queue full (auth failed, 1 attempts): user=USER, method=PLAIN,  
REMOTE=IP LOCAL=IP
dovecot: May 27 20:06:10 Info: imap-login: Disconnected: Connection  
queue full (no auth attempts): REMOTE=IP LOCAL=IP TLS handshaking
dovecot: May 27 20:06:10 Info: imap-login: Disconnected: Connection  
queue full (no auth attempts): REMOTE=IP LOCAL=IP TLS handshaking
dovecot: May 27 20:06:10 Info: imap-login: Disconnected: Connection  
queue full (auth failed, 1 attempts): user=USER, method=PLAIN,  
REMOTE=IP LOCAL=IP
dovecot: May 27 20:06:10 Info: imap-login: Disconnected: Connection  
queue full (no auth attempts): REMOTE=IP LOCAL=IP TLS handshaking
dovecot: May 27 20:06:10 Info: imap-login: Disconnected: Connection  
queue full (no auth attempts): REMOTE=IP LOCAL=IP TLS
dovecot: May 27 20:06:11 Info: imap-login: Disconnected: Connection  
queue full (auth failed, 1 attempts): user=USER, method=PLAIN,  
REMOTE=IP LOCAL=IP TLS
dovecot: May 27 20:06:12 Info: imap-login: Disconnected: Connection  
queue full (auth failed, 1 attempts): user=USER, method=PLAIN,  
REMOTE=IP LOCAL=IP TLS
dovecot: May 27 20:06:15 Info: imap-login: Disconnected: Connection  
queue full (auth failed, 1 attempts): user=USER, method=PLAIN,  
REMOTE=IP LOCAL=IP
dovecot: May 27 20:09:36 Info: imap-login: Disconnected: Connection  
queue full (no auth attempts): REMOTE=IP LOCAL=IP TLS
dovecot: May 27 20:09:36 Info: imap-login: Disconnected: Connection  
queue full (no auth attempts): REMOTE=IP LOCAL=IP
dovecot: May 27 20:09:36 Info: imap-login: Disconnected: Connection  
queue full (no auth attempts): REMOTE=IP LOCAL=IP TLS handshaking
dovecot: May 27 20:09:36 Info: imap-login: Disconnected: Connection  
queue full (no auth attempts): REMOTE=IP LOCAL=IP TLS handshaking
dovecot: May 27 20:09:36 Info: imap-login: Disconnected: Connection  
queue full (no auth attempts): REMOTE=IP LOCAL=IP TLS handshaking
dovecot: May 27 20:11:18 Info: imap-login: Disconnected: Connection  
queue full (no auth attempts): REMOTE=IP LOCAL=IP TLS
dovecot: May 27 20:11:18 Info: imap-login: Disconnected: Connection  
queue full (auth failed, 1 attempts): user=USER, method=PLAIN,  
REMOTE=IP LOCAL=IP TLS
dovecot: May 27 20:39:22 Info: imap-login: Disconnected: Connection  
queue full (no auth attempts): REMOTE=IP LOCAL=IP TLS handshaking
dovecot: May 27 20:39:22 Info: imap-login: Disconnected: Connection  
queue full (auth failed, 1 attempts): user=USER, method=PLAIN,  
REMOTE=IP LOCAL=IP TLS
dovecot: May 27 20:39:23 Info: imap-login: Disconnected: Connection  
queue full (auth failed, 1 attempts): user=USER, method=PLAIN,  
REMOTE=IP LOCAL=IP


Our config:

./dovecot -n
# 1.1.15: /usr/local/dovecot-1.1.15/etc/dovecot.conf
# OS: Linux 2.6.18-6-686 i686 Debian 4.0
base_dir: /usr/local/dovecot/var/run/dovecot/
log_path: /var/log/dovecot-1.1.log
protocols: pop3 pop3s imap imaps
ssl_ca_file: /usr/local/dovecot/etc/ssl/de.TR_CRT
ssl_cert_file: /usr/local/dovecot/etc/ssl/de.CRT
ssl_key_file: /usr/local/dovecot/etc/ssl/de.PKEY
disable_plaintext_auth: no
login_dir: /usr/local/dovecot/var/run/dovecot/login
login_executable(default): /usr/local/dovecot-1.1.15/libexec/dovecot/ 
imap-login
login_executable(imap): /usr/local/dovecot-1.1.15/libexec/dovecot/imap- 
login
login_executable(pop3): /usr/local/dovecot-1.1.15/libexec/dovecot/pop3- 
login

login_log_format_elements: user=%u method=%m REMOTE=%r LOCAL=%l %c
login_process_per_connection: no
login_greeting_capability(default): yes
login_greeting_capability(imap): yes
login_greeting_capability(pop3): no
login_processes_count: 10
login_max_processes_count: 256
verbose_proctitle: yes
mail_location: maildir:/home/email/%u/Maildir
mailbox_idle_check_interval: 60
mmap_disable: yes
fsync_disable: yes
mail_executable(default): /usr/local/dovecot-1.1.15/libexec/dovecot/imap
mail_executable(imap): /usr/local/dovecot-1.1.15/libexec/dovecot/imap
mail_executable(pop3): /usr/local/dovecot-1.1.15/libexec/dovecot/pop3
mail_process_size: 512
mail_plugins(default): quota imap_quota
mail_plugins(imap): quota imap_quota
mail_plugins(pop3): quota
mail_plugin_dir(default): /usr/local/dovecot-1.1.15/lib/dovecot/imap
mail_plugin_dir(imap): /usr/local/dovecot-1.1.15/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/local/dovecot-1.1.15/lib/dovecot/pop3
imap_client_workarounds(default): delay-newmail outlook-idle netscape- 
eoh tb-extra-mailbox-sep
imap_client_workarounds(imap): delay-newmail outlook-idle netscape-eoh  
tb-extra-mailbox-sep

imap_client_workarounds(pop3):
pop3_lock_session(default): no
pop3_lock_session(imap): no
pop3_lock_session(pop3): yes

Re: [Dovecot] Dovecot load balancing

2008-07-31 Thread Sven Eulberg
 Do you use dovecot's delivery agent (LDA)?
 As I stated, no. I need the procmail filtering features.

Call dovecot LDA inside of procmail!
It will speed up your configuration certainly.

procmailrc should contain something like:

  DELIVER=/path/to/dovecot/deliver
  :0 w
  | $DELIVER

Works like a charm.

Kind regards
Sven