何時まで経っても終わらない〜
メールサーバー立ち上がらない〜
困っています。
saslauthdは無理くり動かした。
main.cfとmaster.cfの調整だけで終わりそうなのに、肝心のその二つが不整合を起こしていそう。
さてさて、sampleとのdiffを撮ってみた。
そのうちの変更箇所のみ集めてみる。
master.cfから。
|
1 2 3 4 5 6 7 |
smtp inet n - n - - smtpd -v submission inet n - n - - smtpd -o smtpd_sasl_auth_enable=yes -o smtpd_tls_auth_only=yes -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject submissions inet n - n - - smtpd -o smtpd_sasl_auth_enable=yes |
main.cfはMacPortsから入れたものなので、そこら辺も変更されている。
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
command_directory = /opt/local/sbin daemon_directory = /opt/local/libexec/postfix sendmail_path = /opt/local/sbin/sendmail newaliases_path = /opt/local/bin/newaliases mailq_path = /opt/local/bin/mailq manpage_directory = /opt/local/share/man sample_directory = /opt/local/share/postfix/sample readme_directory = /opt/local/share/postfix/readme meta_directory = /opt/local/etc/postfix config_directory = /opt/local/etc/postfix cyrus_sasl_config_path = /opt/local/etc/sasl/smtpd.conf virtual_alias_maps = $virtual_maps hash:/opt/local/etc/postfix/virtual_users alias_maps = hash:/opt/local/etc/postfix/aliases mailbox_transport = _dovecot postscreen_dnsbl_sites = zen.spamhaus.org spamcop.net virtual_alias_domains = $virtual_alias_maps hash:/opt/local/etc/postfix/virtual_domains smtpd_sender_restrictions = reject_unknown_sender_domain mail_owner = postfix setgid_group = _postdrop #default_privs = nobody myorigin = $mydomain inet_interfaces = all mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, mail.$mydomain mynetworks = 192.168.0.0/16, 127.0.0.0/8 relayhost = html_directory = no shlib_directory = no mailbox_size_limit = 0 message_size_limit = 15728640 biff = no data_directory = /Volumes/Works/Library/mail/postfix queue_directory = /Volumes/Works/Library/mail/spool myhostname = mail.k-in.co.jp mydomain = k-in.co.jp debug_peer_list = 192.168.0.0/16 recipient_delimiter = + smtpd_tls_ciphers = medium inet_interfaces = all smtp_tls_protocols = !SSLv2, !SSLv3, !TLSv1.1, !TLSv1.2 smtp_tls_mandatory_protocols = !SSLv2, !SSLv3, !TLSv1.1, !TLSv1.2 smtpd_tls_protocols = !SSLv2, !SSLv3, !TLSv1.1, !TLSv1.2 smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3, !TLSv1.1, !TLSv1.2 smtp_tls_loglevel = 1 smtp_tls_security_level = may smtpd_helo_required = yes content_filter = smtp-amavis:[127.0.0.1]:10024 smtpd_tls_cert_file = /opt/local/etc/ssl/certs/mail.k-in.co.jp.cert.pem smtpd_tls_CAfile = /opt/local/etc/ssl/certs/mail.k-in.co.jp.chain.pem #smtpd_tls_key_file = /opt/local/etc/ssl/private/mail.k-in.co.jp.key.pem smtpd_tls_key_file = $smtpd_tls_cert_file smtp_tls_session_cache_database = btree:/opt/local/var/lib/postfix/smtp_tls_session_cache smtpd_tls_session_cache_database = btree:/opt/local/var/lib/postfix/smtpd_tls_session_cache smtpd_tls_received_header = yes tls_random_source = dev:/dev/urandom smtpd_tls_security_level = may smtpd_sasl_auth_enable = yes smtpd_sasl_authenticated_header = yes smtpd_sasl_type = cyrus, dovecot smtpd_sasl_path = smtpd smtpd_sasl_security_options = noanonymous, noplaintext smtpd_sasl_local_domain = $myhostname smtpd_enforce_tls = no smtpd_use_tls = yes smtpd_tls_auth_only = yes smtp_tls_wrappermode = yes smtpd_client_restrictions = check_client_access cidr:/opt/local/etc/postfix/access check_client_access hash:/opt/local/etc/postfix/access_client check_client_access cidr:/opt/local/etc/postfix/access_cidr check_client_access hash:/opt/local/etc/postfix/reject_client check_client_access cidr:/opt/local/etc/postfix/reject_cidr permit_mynetworks permit_sasl_authenticated reject_unknown_client reject_rbl_client zen.spamhaus.org permit smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination check_relay_domains check_policy_service unix:private/policy permit smtpd_helo_restrictions = permit_mynetworks check_client_access cidr:/opt/local/etc/postfix/access check_client_access hash:/opt/local/etc/postfix/access_client check_client_access cidr:/opt/local/etc/postfix/access_cidr check_client_access hash:/opt/local/etc/postfix/reject_client check_client_access cidr:/opt/local/etc/postfix/reject_cidr reject_non_fqdn_helo_hostname reject_invalid_helo_hostname reject_invalid_hostname reject_unknown_client |
基本的にここ「Postfix設定パラメータ」見て弄っている(検索すると上位に現れる)のだけど、意味が判っても、どう間違えているかが判らない。
これが困る。
少し順番を変えて、それっぽく集めてみた。けど、やっぱりよく判らんなぁ

