Gm, thank you for reply

ad 1) Thank you for the explanation.

ad 2) Unfortunately, I have read it. In a whole sentence:

Oct 11 18:59:24 none postfix/smtpd[1754]: connect from unknown[x.x.x.x]
Oct 11 18:59:24 none postfix/smtpd[1754]: lost connection after EHLO from
unknown[x.x.x.x]
Oct 11 18:59:24 none postfix/smtpd[1754]: disconnect from unknown[x.x.x.x]

Oct 11 19:00:53 none postfix/smtpd[1754]: connect from unknown[x.x.x.x]
Oct 11 19:00:53 none postfix/smtpd[1754]: lost connection after EHLO from
unknown[x.x.x.x]
Oct 11 19:00:53 none postfix/smtpd[1754]: disconnect from unknown[x.x.x.x]

...and there is part, which makes problem, after being commented out:

# smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
# smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
# smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
# smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
# smtpd_use_tls = yes

...rest of main.cf:

allow_untrusted_routing = no
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
inet_interfaces = all
mailbox_size_limit = 0
myhostname = xxx
mynetworks = localhost
myorigin = $myhostname
readme_directory = no
relayhost = smtp.xxx
smtpd_banner = HELLO $myhostname
smtpd_helo_required = yes
virtual_alias_domains = abc.xxx
virtual_alias_maps = hash:/etc/postfix/virtual

Detailed description was in previous e-mail. To sum up: I comment out TLS,
telnet connection from one computer always immediately ends with error 421,
while second PC is connecting without any problem. I have tried rebooting,
reconnecting - no change of situation. When I turn TLS on, connection is
working again from both computers. (But first time I have not found any
other solution than reinstalling postfix. Becose I got this error message
also after changing TLS back.)

I'm quite curious about what can cause this problem.

Thx for help, M.

2011/10/12 Wietse Venema <wie...@porcupine.org>

> mirr...@gmail.com:
> > Good morning,
> >
> > may I ask you for advice with a three beginner questions? I am new to
> > postfix, and I do not want to catch bad habits early on..
> >
> > 1) I was surprised, that when I install postfix as "internet computer",
> it
> > switches on TSL support. Postfix generates certifikate and key in
>
> Postfix does not turn on TLS. Perhaps some distributor believes
> they know better, and have turned it on for you.
>
> > 2) I comment out TSL in main.cf and telnet from one of my client
> computers
> > (lets call it "PC1", Windows XP and default telnet). Connections was
> closed
> > immediately with error 421. In mail.log it was always the same...
>
> Please see the mailing list welcome message for how to report
> a problem with Postfix.
>
>        Wietse
>

Reply via email to