Yes, I did the rebuild and had the same message. Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 18: Unknown setting: username_filter
In my dovecot.conf file this is what I see:
[root@server /etc]# cat dovecot.conf
#0.2
## Dovecot 2.0 configuration file
!include conf/ip.conf
auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@&
auth_verbose = yes
disable_plaintext_auth = no
login_greeting = Dovecot DA ready.
mail_access_groups = mail
default_login_user = dovecot
mail_location = maildir:~/Maildir
!include conf/limits.conf
!include conf/maildir_copy_with_hardlinks.conf
passdb {
username_filter = !*@*
driver = passwd
}
passdb {
username_filter = *@*
args = username_format=%n /etc/virtual/%d/passwd
driver = passwd-file
}
!include conf/protocols.conf
!include conf/mail_plugins.conf
service auth {
user = root
}
service imap-login {
process_min_avail = 16
user = dovecot
}
service pop3-login {
process_min_avail = 16
user = dovecot
}
!include conf/ssl.conf
userdb {
driver = passwd
}
userdb {
args = username_format=%n /etc/virtual/%d/passwd
driver = passwd-file
}
verbose_proctitle = yes
protocol imap {
!include conf/imap_mail_plugins.conf
}
protocol pop3 {
pop3_uidl_format = %08Xu%08Xv
pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s, bytes=%i/%o
}
!include conf/mail_max_userip_connections.conf
!include_try conf/lmtp.conf
!include conf.d/*.conf
[root@server /etc]