postfix: Trying to get the combo postfix + submission + saslauthd + postgrey + cyrus lmtp delivery working.

This commit is contained in:
Lari Huttunen 2013-03-01 15:21:05 +01:00
parent 2217bca3a1
commit 7fed52107c
3 changed files with 143 additions and 0 deletions

View file

@ -167,7 +167,11 @@ inet_protocols = all
#
# See also below, section "REJECTING MAIL FOR UNKNOWN LOCAL USERS".
#
<% if has_variable?("mydestination") -%>
mydestination = <%= mydestination %>
<% else -%>
mydestination = $myhostname, localhost.$mydomain, localhost
<% end -%>
#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
# mail.$mydomain, www.$mydomain, ftp.$mydomain
@ -480,6 +484,9 @@ mail_spool_directory = /var/mail
# non-UNIX accounts with "User unknown in local recipient table".
#
#mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
<% if has_variable?("cyrus_lmtp") -%>
mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp
<% end -%>
# If using the cyrus-imapd IMAP server deliver local mail to the IMAP
# server using LMTP (Local Mail Transport Protocol), this is prefered