Hoi,
Momenteel heb ik een postfix tls issue op mijn debian doos.
TLS + SMTP heeft altijd heel netjes gewerkt tot ik een tijd geleden behoorlijk in mijn config heb lopen wroeten om er spamfiltering aan toe te voegen.
Sindsdien is TLS + SMTP niet meer werkend.
Thunderbird verbindt met de mailserver ("Mail.foo.bar is connected") en daarna timet de verbinding out.
mail.log (op de server...) is ook niet bijster informatief:
Uiteraard staat het log-level op 4 (wat het maximum is voor de parameter). We zien dus dat het best even duurt voor eea een time-out krijgt: bijna 2 minuten.
De instellingen in thunderbird: SSL en zowel secure als non-secure authenticatie heb ik gebruikt.
Mijn settings van postfix qua tls.
Firewalling is niet toegepast.
Uiteraard staat smtps ook in master.cf aan.
Versies:
Thunderbird: 3.0.6
Postfix: postfix_2.5.5-1.1_amd64.deb
Debian: stable
Weet iemand waar ik verstandig kan debuggen met dit verhaal?
Momenteel heb ik een postfix tls issue op mijn debian doos.
TLS + SMTP heeft altijd heel netjes gewerkt tot ik een tijd geleden behoorlijk in mijn config heb lopen wroeten om er spamfiltering aan toe te voegen.
Sindsdien is TLS + SMTP niet meer werkend.
Thunderbird verbindt met de mailserver ("Mail.foo.bar is connected") en daarna timet de verbinding out.
mail.log (op de server...) is ook niet bijster informatief:
code:
1
2
3
4
| Sep 17 21:14:39 mail1 postfix/smtpd[27185]: initializing the server-side TLS engine Sep 17 21:14:39 mail1 postfix/smtpd[27185]: connect from 0xc0ff33.xs4all.nl[80.101.69.69] Sep 17 21:16:24 mail1 postfix/smtpd[27185]: lost connection after UNKNOWN from 0xc0ff33.xs4all.nl[80.101.69.69] Sep 17 21:16:24 mail1 postfix/smtpd[27185]: disconnect from 0xc0ff33.xs4all.nl[80.101.69.69] |
Uiteraard staat het log-level op 4 (wat het maximum is voor de parameter). We zien dus dat het best even duurt voor eea een time-out krijgt: bijna 2 minuten.
De instellingen in thunderbird: SSL en zowel secure als non-secure authenticatie heb ik gebruikt.
Mijn settings van postfix qua tls.
code:
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
| mail1:/var/log# postqueue
mail1:/var/log# postconf | grep tls
lmtp_enforce_tls = no
lmtp_sasl_tls_security_options = $lmtp_sasl_security_options
lmtp_sasl_tls_verified_security_options = $lmtp_sasl_tls_security_options
lmtp_starttls_timeout = 300s
lmtp_tls_CAfile =
lmtp_tls_CApath =
lmtp_tls_cert_file =
lmtp_tls_dcert_file =
lmtp_tls_dkey_file = $lmtp_tls_dcert_file
lmtp_tls_enforce_peername = yes
lmtp_tls_exclude_ciphers =
lmtp_tls_fingerprint_cert_match =
lmtp_tls_fingerprint_digest = md5
lmtp_tls_key_file = $lmtp_tls_cert_file
lmtp_tls_loglevel = 0
lmtp_tls_mandatory_ciphers = medium
lmtp_tls_mandatory_exclude_ciphers =
lmtp_tls_mandatory_protocols = SSLv3, TLSv1
lmtp_tls_note_starttls_offer = no
lmtp_tls_per_site =
lmtp_tls_policy_maps =
lmtp_tls_scert_verifydepth = 9
lmtp_tls_secure_cert_match = nexthop
lmtp_tls_security_level =
lmtp_tls_session_cache_database =
lmtp_tls_session_cache_timeout = 3600s
lmtp_tls_verify_cert_match = hostname
lmtp_use_tls = no
milter_helo_macros = {tls_version} {cipher} {cipher_bits} {cert_subject} {cert_issuer}
smtp_enforce_tls = no
smtp_sasl_tls_security_options = $smtp_sasl_security_options
smtp_sasl_tls_verified_security_options = $smtp_sasl_tls_security_options
smtp_starttls_timeout = 300s
smtp_tls_CAfile =
smtp_tls_CApath =
smtp_tls_cert_file =
smtp_tls_dcert_file =
smtp_tls_dkey_file = $smtp_tls_dcert_file
smtp_tls_enforce_peername = yes
smtp_tls_exclude_ciphers =
smtp_tls_fingerprint_cert_match =
smtp_tls_fingerprint_digest = md5
smtp_tls_key_file = $smtp_tls_cert_file
smtp_tls_loglevel = 0
smtp_tls_mandatory_ciphers = medium
smtp_tls_mandatory_exclude_ciphers =
smtp_tls_mandatory_protocols = SSLv3, TLSv1
smtp_tls_note_starttls_offer = yes
smtp_tls_per_site =
smtp_tls_policy_maps =
smtp_tls_scert_verifydepth = 9
smtp_tls_secure_cert_match = nexthop, dot-nexthop
smtp_tls_security_level =
smtp_tls_session_cache_database =
smtp_tls_session_cache_timeout = 3600s
smtp_tls_verify_cert_match = hostname
smtp_use_tls = yes
smtpd_client_new_tls_session_rate_limit = 0
smtpd_enforce_tls = no
smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
smtpd_starttls_timeout = 300s
smtpd_tls_CAfile = /etc/ssl/postfix/smtpd.pem
smtpd_tls_CApath =
smtpd_tls_always_issue_session_ids = yes
smtpd_tls_ask_ccert = no
smtpd_tls_auth_only = no
smtpd_tls_ccert_verifydepth = 9
smtpd_tls_cert_file = /etc/ssl/postfix/smtpd.pem
smtpd_tls_dcert_file =
smtpd_tls_dh1024_param_file =
smtpd_tls_dh512_param_file =
smtpd_tls_dkey_file = $smtpd_tls_dcert_file
smtpd_tls_exclude_ciphers =
smtpd_tls_fingerprint_digest = md5
smtpd_tls_key_file = /etc/ssl/postfix/smtpd.pem
smtpd_tls_loglevel = 4
smtpd_tls_mandatory_ciphers = medium
smtpd_tls_mandatory_exclude_ciphers =
smtpd_tls_mandatory_protocols = SSLv3, TLSv1
smtpd_tls_received_header = yes
smtpd_tls_req_ccert = no
smtpd_tls_security_level =
smtpd_tls_session_cache_database =
smtpd_tls_session_cache_timeout = 3600s
smtpd_tls_wrappermode = no
smtpd_use_tls = yes
tls_daemon_random_bytes = 32
tls_export_cipherlist = ALL:+RC4:@STRENGTH
tls_high_cipherlist = ALL:!EXPORT:!LOW:!MEDIUM:+RC4:@STRENGTH
tls_low_cipherlist = ALL:!EXPORT:+RC4:@STRENGTH
tls_medium_cipherlist = ALL:!EXPORT:!LOW:+RC4:@STRENGTH
tls_null_cipherlist = eNULL:!aNULL
tls_random_bytes = 32
tls_random_exchange_name = ${data_directory}/prng_exch
tls_random_prng_update_period = 3600s
tls_random_reseed_period = 3600s
tls_random_source = dev:/dev/urandom |
Firewalling is niet toegepast.
Uiteraard staat smtps ook in master.cf aan.
Versies:
Thunderbird: 3.0.6
Postfix: postfix_2.5.5-1.1_amd64.deb
Debian: stable
Weet iemand waar ik verstandig kan debuggen met dit verhaal?