[Dovecot] Problem with vpopmail + qmail + dovecot lda
Davide
davide.marchi at mail.cgilfe.it
Fri Apr 12 17:00:29 EEST 2013
I have a little problem in my configuration (vpopmail + qmail + dovecot
2.1.12 with LDA)
my .qmail-default is this
| /var/qmail/bin/preline -f /usr/local/libexec/dovecot/dovecot-lda -d
$EXT@$USER -e | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
I receive al mails to postmaster for non-existent users (all my users
are virtual and live under group 89 vpopmail) and this is ok
but all mails for quota-full users dosen't
If i remove the vdelivermail part in .qmail-default i receive bounce for
quota-full but not for non-existent users.
If can be usefull this is my dovecot conf
auth_cache_size = 10 k
auth_cache_ttl = 5 hours
auth_mechanisms = plain cram-md5
disable_plaintext_auth = yes
dotlock_use_excl = yes
first_valid_gid = 89
first_valid_uid = 89
info_log_path = /var/log/dovecot/dovecot.log
last_valid_gid = 89
last_valid_uid = 89
listen = 127.0.0.1
log_path = /var/log/dovecot/dovecot-err.log
debug_log_path = /var/log/dovecot/dovecot-debug.log
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_fsync = never
mail_location = maildir:~/Maildir
# mail_debug = yes
mmap_disable = yes
mail_plugins=$mail_plugins notify zlib fts fts_solr quota
default_internal_user = dovecot
default_login_user = dovenull
default_vsz_limit = 512M
maildir_very_dirty_syncs=yes
verbose_ssl = no
# syslog_facility = mail
namespace {
inbox = yes
location =
prefix =
separator = /
type = private
}
# Public namespace
namespace {
type = public
separator = /
prefix = Public/
location = maildir:/var/mail/public
subscriptions = no
list = children
}
passdb {
args = webmail=127.0.0.1 cache_key=%u%s
driver = vpopmail
}
plugin {
fts = solr
fts_decoder = decode2text
fts_solr = url=http://192.168.10.103:8983/solr/ break-imap-search debug
zlib_save_level = 9 # 1..9
zlib_save = gz # or bz2
# sieve = /usr/local/lib/dovecot/sieve/%n.sieve
sieve=~/.dovecot.sieve
sieve_dir=~/sieve
# sieve_default = /usr/local/lib/dovecot/sieve/default.sieve
# sieve_global_dir = /usr/local/lib/dovecot/sieve/
mail_log_events = delete undelete expunge copy
mail_log_fields = uid box msgid size
mail_log_group_events =
quota = maildir:User quota
quota_rule2 = Trash:storage=+20%%
quota_warning = storage=95%% quota-warning 95 %u
quota_warning2 = storage=80%% quota-warning 80 %u
# antispam_debug_target = syslog
# antispam_verbose_debug = 1
antispam_backend = pipe
antispam_spam = SPAM
antispam_unsure = UNSURE
antispam_trash_pattern_ignorecase = trash;Deleted *
# antispam_signature = X-DSPAM-Signature
# antispam_signature_missing = move
# antispam_dspam_binary = /usr/local/bin/dspamc
# antispam_crm_args =
-u;%h;/usr/share/crm114/mailreaver.crm;--fileprefix=/usr/share/crm114/
#sa-learn -u clamav --spam /var/mail/public/.Spam --showdots
# antispam_dspam_args = --deliver;--user;%u
antispam_pipe_program = /usr/bin/sa-learn
# (defaults to /usr/sbin/sendmail)
antispam_pipe_program_args = -u;clamav
antispam_pipe_program_spam_arg = --spam
antispam_pipe_program_notspam_arg = --ham
antispam_pipe_tmpdir = /mnt/ramdisk
}
protocols = imap sieve
service auth {
unix_listener auth-master {
group = vchkpw
mode = 0660
user = vpopmail
}
unix_listener auth-userdb {
mode = 0600
user = vpopmail
group = vchkpw
}
# user = vpopmail
vsz_limit = 64 M
}
service imap-login {
executable = /usr/local/libexec/dovecot/imap-login
inet_listener imaps {
address = 192.168.119.150
}
process_limit = 500
process_min_avail = 8
service_count = 1
#user = dovecot
}
service managesieve-login {
executable = managesieve-login
inet_listener sieve {
address = 127.0.0.1
port = 4190
}
#inet_listener sieve_deprecated {
# port = 2000
#}
# Number of connections to handle before starting a new process.
Typically
# the only useful values are 0 (unlimited) or 1. 1 is more secure, but 0
# is faster. <doc/wiki/LoginProcess.txt>
service_count = 1
# Number of processes to always keep waiting for more connections.
process_min_avail = 1
# If you set service_count=0, you probably need to grow this.
vsz_limit = 64M
}
service managesieve {
# Max. number of ManageSieve processes (connections)
process_limit = 10
}
# Service configuration
protocol sieve {
# Maximum ManageSieve command line length in bytes. ManageSieve
usually does
# not involve overly long command lines, so this setting will not
normally need
# adjustment
managesieve_max_line_length = 65536
# Maximum number of ManageSieve connections allowed for a user from
each IP address.
# NOTE: The username is compared case-sensitively.
#mail_max_userip_connections = 10
# Space separated list of plugins to load (none known to be useful so
far). Do NOT
# try to load IMAP plugins here.
#mail_plugins =
# MANAGESIEVE logout format string:
# %i - total number of bytes read from client
# %o - total number of bytes sent to client
managesieve_logout_format = bytes=%i/%o
# To fool ManageSieve clients that are focused on CMU's timesieved
you can specify
# the IMPLEMENTATION capability that the dovecot reports to clients.
# For example: 'Cyrus timsieved v2.2.13'
managesieve_implementation_string = Dovecot Pigeonhole
# Explicitly specify the SIEVE and NOTIFY capability reported by the
server before
# login. If left unassigned these will be reported dynamically
according to what
# the Sieve interpreter supports by default (after login this may
differ depending
# on the user).
#managesieve_sieve_capability =
#managesieve_notify_capability =
# The maximum number of compile errors that are returned to the
client upon script
# upload or script verification.
#managesieve_max_compile_errors = 5
# Refer to 90-sieve.conf for script quota configuration and
configuration of
# Sieve execution limits.
log_path = /var/log/dovecot/dovecot-sieve-error.log
info_log_path = /var/log/dovecot/dovecot-sieve.log
}
service decode2text {
executable = script /usr/local/libexec/dovecot/decode2text.sh
unix_listener decode2text {
mode = 0666
user = dovecot
}
#user = vpopmail
}
service imap {
executable = /usr/local/libexec/dovecot/imap
vsz_limit = 1024M
}
service quota-warning {
executable = script /usr/local/libexec/dovecot/quota_warning
# use some unprivileged user for executing the quota warnings
user = vpopmail
unix_listener quota-warning {
group = vchkpw
mode = 0660
user = vpopmail
}
}
ssl_cert = </var/qmail/control/servercert.pem
ssl_key = </var/qmail/control/servercert.pem
userdb {
args = quota_template=quota_rule=*:backend=%q
driver = vpopmail
}
protocol imap {
imap_client_workarounds =
imap_max_line_length = 64 k
mail_plugin_dir = /usr/local/lib/dovecot
mail_plugins = $mail_plugins imap_quota mail_log antispam imap_zlib
}
protocol lda {
mail_fsync = optimized
auth_socket_path = /usr/local/var/run/dovecot/auth-userdb
deliver_log_format = msgid=<%f>-<%s>-%m: %$
hostname = mail.cgilfe.it
info_log_path = /var/log/dovecot/dovecot-deliver.log
log_path = /var/log/dovecot/dovecot-deliver.log
mail_plugin_dir = /usr/local/lib/dovecot
mail_plugins = $mail_plugins mail_log sieve
postmaster_address = postmaster at mail.cgilfe.it
rejection_reason = Il Vostro messaggio a <%t> è stato automaticamente
rifiutato:%n%r
sendmail_path = /usr/bin/sendmail
# quota_full_tempfail = yes
}
--
*Davide Marchi*
*T*eorema *F*errara *Srl*
Via Spronello, 7 - Ferrara - 44121
Tel. *0532783161* Fax. *0532783368*
E-m at il: *davide.marchi at mail.cgilfe.it*
Skype: *davide.marchi73*
Web: *http://www.cgilfe.it*
*CONFIDENZIALITA'*
*Ai sensi del D.Lgs. 196/2003 si precisa che le informazioni contenute
in questo messaggio sono riservate ed a uso esclusivo del
destinatario/dei destinatari. Qualora il messaggio in parola Le fosse
pervenuto per errore, La invitiamo ad eliminarlo senza copiarlo e a non
inoltrarlo a terzi, dandocene gentilmente comunicazione.*
*Per favore, pensa all'ambiente. Stampa questa email solo se necessario.*
More information about the dovecot
mailing list