# Authentication via remote IMAP server. Included from auth.conf. # # passdb { driver = imap args = host={{ ipsec[imapsvr.inventory_hostname_short] }} port=143 default_fields = userdb_imapc_password=%w } # "prefetch" user database means that the passdb already provided the # needed information and there's no need to do a separate userdb lookup. # userdb { driver = prefetch default_fields = home=/var/lib/imapproxy/%d/%n }