Dovecot2
Here is the config for the simplest form of dovecot deployment - users are local, auth are done with PAMdefault_login_user = dovenull
default_internal_user = dovecot
mail_location = maildir:~/Maildir
auth_cache_size = 1024
auth_verbose = yes
auth_debug=yes
userdb {
driver = passwd
args = blocking=no
}
passdb {
driver = pam
args = %s
}
service auth {
user = $default_internal_user
}
service auth-worker {
user = root
}Minimal postfix config
This will instruct postfix to deliver to a local Maildir.main.cf
mydomain = mail.company.tld
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mynetworks = 1.2.3.4/28, 127.0.0.0/8
home_mailbox = Maildir/
virtual_alias_maps = hash:/etc/postfix/virtual
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mynetworks = 1.2.3.4/28, 127.0.0.0/8
home_mailbox = Maildir/
virtual_alias_maps = hash:/etc/postfix/virtual
Virtual alias map
virtual
ceo@company.tld jsmith
There are no comments on this page. [Add comment]