Ensure virtual domains go through LMTP
This commit is contained in:
		| @@ -484,6 +484,8 @@ alias_database = hash:/etc/aliases | |||||||
| # Cyrus IMAP over LMTP. Specify ``lmtpunix      cmd="lmtpd" | # Cyrus IMAP over LMTP. Specify ``lmtpunix      cmd="lmtpd" | ||||||
| # listen="/var/imap/socket/lmtp" prefork=0'' in cyrus.conf. | # listen="/var/imap/socket/lmtp" prefork=0'' in cyrus.conf. | ||||||
| #mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp | #mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp | ||||||
|  | mailbox_transport = lmtp:inet:localhost:24 | ||||||
|  | virtual_transport = lmtp:inet:localhost:24 | ||||||
|  |  | ||||||
| # If using the cyrus-imapd IMAP server deliver local mail to the IMAP | # If using the cyrus-imapd IMAP server deliver local mail to the IMAP | ||||||
| # server using LMTP (Local Mail Transport Protocol), this is prefered | # server using LMTP (Local Mail Transport Protocol), this is prefered | ||||||
| @@ -746,3 +748,8 @@ shlib_directory = /usr/lib64/postfix | |||||||
| {% endfor %} | {% endfor %} | ||||||
| smtpd_milters = {% for milter in ensure_postfix.milter_list %} {{ milter.protocol }}:{{ milter.hostname }}:{{ milter.port }} {% endfor %} | smtpd_milters = {% for milter in ensure_postfix.milter_list %} {{ milter.protocol }}:{{ milter.hostname }}:{{ milter.port }} {% endfor %} | ||||||
| {% endif %} | {% endif %} | ||||||
|  |  | ||||||
|  | {% if ensure_postifx.domain_list is defined and ensure_postfix.domain_list is iterable %} | ||||||
|  | virtual_mailbox_domains = {% for domain in ensure_postfix.domain_list %} {{ domain }} {% endfor %} | ||||||
|  | {% endif %} | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user