質問するログイン新規登録

質問編集履歴

1

postconf -nを加筆

2017/01/18 14:12

投稿

tomomi66
tomomi66

スコア94

title CHANGED
File without changes
body CHANGED
@@ -33,4 +33,56 @@
33
33
  環境が少し違いますが、↓を参考に構築しました。
34
34
  [SSLメールサーバ構築メモ Let's Encrypt+Postfix+Dovecot](https://blog.apar.jp/linux/3979/)
35
35
 
36
- どうぞよろしくお願いします。
36
+ どうぞよろしくお願いします。
37
+
38
+ postconf -nは↓です。
39
+ ```
40
+ alias_database = hash:/etc/aliases
41
+ alias_maps = hash:/etc/aliases
42
+ broken_sasl_auth_clients = yes
43
+ command_directory = /usr/sbin
44
+ config_directory = /etc/postfix
45
+ daemon_directory = /usr/libexec/postfix
46
+ data_directory = /var/lib/postfix
47
+ debug_peer_level = 2
48
+ debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
49
+ disable_vrfy_command = yes
50
+ home_mailbox = Maildir/
51
+ html_directory = no
52
+ inet_interfaces = all
53
+ inet_protocols = all
54
+ local_recipient_maps = proxy:unix:passwd.byname $alias_maps
55
+ mail_owner = postfix
56
+ mailbox_size_limit = 204800000
57
+ mailq_path = /usr/bin/mailq.postfix
58
+ manpage_directory = /usr/share/man
59
+ message_size_limit = 5120000
60
+ mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
61
+ mydomain = zero-6.net
62
+ myhostname = mail.zero-6.net
63
+ myorigin = $mydomain
64
+ newaliases_path = /usr/bin/newaliases.postfix
65
+ queue_directory = /var/spool/postfix
66
+ readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
67
+ relay_domains = $mydestination
68
+ relayhost =
69
+ sample_directory = /usr/share/doc/postfix-2.10.1/samples
70
+ sendmail_path = /usr/sbin/sendmail.postfix
71
+ setgid_group = postdrop
72
+ smtp_tls_security_level = may
73
+ smtpd_banner = $myhostname ESMTP
74
+ smtpd_client_restrictions = check_client_access hash:/etc/postfix/access reject_rbl_client zen.spamhaus.org reject_rbl_client all.rbl.jp reject_non_fqdn_sender reject_unknown_sender_domain
75
+ smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
76
+ smtpd_sasl_auth_enable = yes
77
+ smtpd_sasl_path = private/auth
78
+ smtpd_sasl_type = dovecot
79
+ smtpd_sender_restrictions = reject_rhsbl_sender zen.spamhaus.org reject_unknown_sender_domain
80
+ smtpd_tls_cert_file = /etc/letsencrypt/live/mail.zero-6.net/fullchain.pem
81
+ smtpd_tls_key_file = /etc/letsencrypt/live/mail.zero-6.net/privkey.pem
82
+ smtpd_tls_loglevel = 1
83
+ smtpd_tls_received_header = yes
84
+ smtpd_tls_session_cache_database = btree:/var/lib/postfix/smtpd_scache
85
+ smtpd_tls_session_cache_timeout = 3600s
86
+ smtpd_use_tls = yes
87
+ unknown_local_recipient_reject_code = 550
88
+ ```