ubuntuserver810:postfix_vs_dovecot
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ubuntuserver810:postfix_vs_dovecot [2009/04/06 12:09] – svschwartz | ubuntuserver810:postfix_vs_dovecot [2010/06/20 16:19] (current) – svschwartz | ||
|---|---|---|---|
| Line 24: | Line 24: | ||
| Добавляем в основной файл конфигурации **/ | Добавляем в основной файл конфигурации **/ | ||
| < | < | ||
| + | # basic protection | ||
| + | smtpd_helo_required = yes | ||
| + | strict_rfc821_envelopes = yes | ||
| + | smtpd_helo_restrictions = | ||
| + | permit_mynetworks | ||
| + | reject_invalid_helo_hostname | ||
| + | reject_non_fqdn_helo_hostname | ||
| + | reject_unknown_hostname | ||
| + | |||
| + | smtpd_recipient_restrictions = | ||
| + | permit_mynetworks | ||
| + | permit_sasl_authenticated | ||
| + | reject_unauth_destination | ||
| + | |||
| virtual_mailbox_domains = drivesource.ru | virtual_mailbox_domains = drivesource.ru | ||
| virtual_alias_maps = hash:/ | virtual_alias_maps = hash:/ | ||
| Line 29: | Line 43: | ||
| virtual_transport = dovecot | virtual_transport = dovecot | ||
| dovecot_destination_recipient_limit = 1 | dovecot_destination_recipient_limit = 1 | ||
| + | |||
| + | # SASL authentication | ||
| + | smtpd_sasl_auth_enable = yes | ||
| + | smtpd_sasl_type = dovecot | ||
| + | smtpd_sasl_path = private/ | ||
| + | |||
| </ | </ | ||
| Line 60: | Line 80: | ||
| mail_location = maildir:/ | mail_location = maildir:/ | ||
| + | |||
| + | # System user and group used to access mails. If you use multiple, userdb | ||
| + | # can override these by returning uid or gid fields. You can use either numbers | ||
| + | # or names. < | ||
| + | mail_uid = 500 | ||
| + | mail_gid = 500 | ||
| + | |||
| + | |||
| protocol lda { | protocol lda { | ||
| Line 91: | Line 119: | ||
| group = vmail # Or alternatively mode 0660 + LDA user in this group | group = vmail # Or alternatively mode 0660 + LDA user in this group | ||
| } | } | ||
| + | client { | ||
| + | # The client socket is generally safe to export to everyone. Typical use | ||
| + | # is to export it to your SMTP server so it can do SMTP AUTH lookups | ||
| + | # using it. | ||
| + | #path = / | ||
| + | #mode = 0660 | ||
| + | path = / | ||
| + | mode = 0660 | ||
| + | user = postfix | ||
| + | group = postfix | ||
| + | } | ||
| + | |||
| } | } | ||
| Line 123: | Line 163: | ||
| # You can use same UID and GID for all user accounts if you really want to. | # You can use same UID and GID for all user accounts if you really want to. | ||
| # If the UID/GID is still found from LDAP reply, it overrides these values. | # If the UID/GID is still found from LDAP reply, it overrides these values. | ||
| - | user_global_uid = 500 | + | #user_global_uid = 500 |
| - | user_global_gid = 500 | + | #user_global_gid = 500 |
| </ | </ | ||
ubuntuserver810/postfix_vs_dovecot.1239019776.txt.gz · Last modified: (external edit)
