postfix-dovecot-dkim
no way to compare when less than two revisions
Rozdíly
Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.
Předchozí verzeNásledující verze | |||
— | postfix-dovecot-dkim [2015/04/28 12:17] – [Postfix] blazek | ||
---|---|---|---|
Řádek 1: | Řádek 1: | ||
+ | ====== Postfix + Dovecot + DKIM ====== | ||
+ | Instalace Mail serveru Postfix, Dovecot pro POP3 a IMAP server, a DKIM na CentOS 6.X. | ||
+ | |||
+ | < | ||
+ | shell# yum install postfix.x86_64 dovecot.x86_64 opendkim.x86_64 | ||
+ | </ | ||
+ | |||
+ | ===== Postfix ===== | ||
+ | |||
+ | <file conf / | ||
+ | append_dot_mydomain = no | ||
+ | |||
+ | readme_directory = no | ||
+ | |||
+ | # SASL CONF | ||
+ | smtpd_sasl_auth_enable = yes | ||
+ | smtpd_sasl_type = dovecot | ||
+ | smtpd_sasl_path = private/ | ||
+ | smtpd_recipient_restrictions = permit_mynetworks, | ||
+ | |||
+ | # tls config | ||
+ | smtpd_tls_cert_file = / | ||
+ | smtpd_tls_key_file = / | ||
+ | smtpd_use_tls = yes | ||
+ | smtpd_tls_session_cache_database = btree: | ||
+ | smtp_tls_session_cache_database = btree: | ||
+ | |||
+ | # network settings | ||
+ | myhostname = mail.isn.cz | ||
+ | alias_maps = hash:/ | ||
+ | alias_database = hash:/ | ||
+ | myorigin = / | ||
+ | mydestination = mail.isn.cz, | ||
+ | relayhost = | ||
+ | mynetworks = 127.0.0.0/8 [:: | ||
+ | mailbox_size_limit = 0 | ||
+ | recipient_delimiter = + | ||
+ | inet_interfaces = all | ||
+ | |||
+ | # dkim | ||
+ | milter_protocol = 2 | ||
+ | milter_default_action = accept | ||
+ | smtpd_milters = unix: | ||
+ | non_smtpd_milters = $smtpd_milters | ||
+ | </ | ||
+ | |||
+ | ===== Dovecot ===== | ||
+ | |||
+ | ===== DKIM ===== | ||
+ | |||
+ | < | ||
+ | shell# mkdir / | ||
+ | shell# opendkim-genkey -D / | ||
+ | shell# chown -R root: | ||
+ | shell# chmod 640 / | ||
+ | shell# chmod 644 / | ||
+ | </ |
postfix-dovecot-dkim.txt · Poslední úprava: 2023/12/26 19:13 autor: 127.0.0.1