Просмотр исходного кода

lmtp socket for postfix

master
Markus Katharina Brechtel 7 лет назад
Родитель
Сommit
ed5dc81ab8
2 измененных файлов: 34 добавлений и 13 удалений
  1. +8
    -13
      templates/conf.d/10-master.conf.j2
  2. +26
    -0
      templates/conf.d/20-lmtp.conf

+ 8
- 13
templates/conf.d/10-master.conf.j2 Просмотреть файл

@@ -46,16 +46,11 @@ service pop3-login {
}

service lmtp {
unix_listener lmtp {
#mode = 0666
unix_listener /var/spool/postfix/private/dovecot-lmtp {
group = postfix
mode = 0600
user = postfix
}

# Create inet listener only if you can't use the above UNIX socket
#inet_listener lmtp {
# Avoid making LMTP visible for the entire internet
#address =
#port =
#}
}

service imap {
@@ -88,8 +83,8 @@ service auth {
# permissions (e.g. 0777 allows everyone full permissions).
unix_listener auth-userdb {
#mode = 0666
#user =
#group =
#user =
#group =
}

# Postfix smtp-auth
@@ -113,7 +108,7 @@ service dict {
# For example: mode=0660, group=vmail and global mail_access_groups=vmail
unix_listener dict {
#mode = 0600
#user =
#group =
#user =
#group =
}
}

+ 26
- 0
templates/conf.d/20-lmtp.conf Просмотреть файл

@@ -0,0 +1,26 @@
##
## LMTP specific settings
##

# Support proxying to other LMTP/SMTP servers by performing passdb lookups.
#lmtp_proxy = no

# When recipient address includes the detail (e.g. user+detail), try to save
# the mail to the detail mailbox. See also recipient_delimiter and
# lda_mailbox_autocreate settings.
#lmtp_save_to_detail_mailbox = no

# Verify quota before replying to RCPT TO. This adds a small overhead.
#lmtp_rcpt_check_quota = no

# Which recipient address to use for Delivered-To: header and Received:
# header. The default is "final", which is the same as the one given to
# RCPT TO command. "original" uses the address given in RCPT TO's ORCPT
# parameter, "none" uses nothing. Note that "none" is currently always used
# when a mail has multiple recipients.
#lmtp_hdr_delivery_address = final

protocol lmtp {
# Space separated list of plugins to load (default is global mail_plugins).
#mail_plugins = $mail_plugins
}

Загрузка…
Отмена
Сохранить