Sam
2016-Aug-24 06:43 UTC
virtual users, mailer daemon send mails to non existant recipient and dovecot store it
Hello Aki,
here is the output:
# 2.2.10: /etc/dovecot/dovecot.conf
# OS: Linux 3.10.0-327.el7.x86_64 x86_64 CentOS Linux release 7.2.1511
(Core)
auth_debug = yes
auth_master_user_separator = *
auth_mechanisms = plain login
mail_location = maildir:~/Maildir
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope
encoded-character vacation subaddress comparator-i;ascii-numeric
relational regex imap4flags copy include variables body enotify
environment mailbox date ihave
mbox_write_locks = fcntl
namespace inbox {
inbox = yes
location mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix }
passdb {
driver = pam
}
passdb {
args = /etc/dovecot/sieve.creds
driver = passwd-file
master = yes
}
plugin {
quota = maildir
quota_grace = 10%%
quota_rule2 = Trash:storage=+100M
sieve = ~/.dovecot.sieve
sieve_dir = ~/sieve
}
protocols = imap pop3 lmtp sieve
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
}
}
service managesieve-login {
inet_listener sieve {
port = 4190
}
}
ssl = required
ssl_cert = </etc/letsencrypt/live/mail3.albertville.fr/fullchain.pem
ssl_key = </etc/letsencrypt/live/mail3.albertville.fr/privkey.pem
userdb {
args = uid=1001 gid=1001 home=/home/vmail/%Lu allow_all_users=yes
driver = static
}
protocol lmtp {
mail_plugins = " sieve"
}
protocol lda {
mail_plugins = " quota sieve"
postmaster_address = postmaster@%d
}
protocol imap {
mail_plugins = " quota imap_quota"
}
Le 23/08/2016 ? 18:08, Aki Tuomi a ?crit :> doveconf -n output
Aki Tuomi
2016-Aug-24 06:45 UTC
virtual users, mailer daemon send mails to non existant recipient and dovecot store it
On 24.08.2016 09:43, Sam wrote:> Hello Aki, > here is the output: > > userdb { > args = uid=1001 gid=1001 home=/home/vmail/%Lu allow_all_users=yes > driver = static > }You basically accept all users here, this is why things get delivered. If you don't like this, change this to some other userdb, preferably same you are using for auth db. Aki
Sam
2016-Aug-24 07:18 UTC
virtual users, mailer daemon send mails to non existant recipient and dovecot store it
Does it works with pam? Can I set it like this :
userdb {
driver = pam
args = uid=1001 gid=1001 home=/home/vmail/%Lu allow_all_users=no
}
Thanks Aki
Le 24/08/2016 ? 08:45, Aki Tuomi a ?crit :>
> On 24.08.2016 09:43, Sam wrote:
>> Hello Aki,
>> here is the output:
>>
>> userdb {
>> args = uid=1001 gid=1001 home=/home/vmail/%Lu allow_all_users=yes
>> driver = static
>> }
> You basically accept all users here, this is why things get delivered.
> If you don't like this, change this to some other userdb, preferably
> same you are using for auth db.
>
> Aki
Apparently Analagous Threads
- virtual users, mailer daemon send mails to non existant recipient and dovecot store it
- virtual users, mailer daemon send mails to non existant recipient and dovecot store it
- lmtp and virtual users
- Userdb by directory lookup
- Empty Mails from MAILER-DAEMON with Dovecot-Antispam and DSPAM