Postfix issue ; Must issue a STARTTLS command first after forcing TLS
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Postfix issue ; Must issue a STARTTLS command first after forcing TLS
Hi all,
I set up Postfix+smapassassian+Amavis-new mail server and I have one small issue, for which I cannot find how to solve it.
When I set up in main.cf
smtpd_tls_security_level = encrypt
to force tls and not accept connections which are not cripted, ( in evolution set as well to use TLS ) I am not able to send mails.
All mails fails with error
host 127.0.0.1[127.0.0.1] said: 530 5.7.0 Failed,
id=28847-11, from MTA([127.0.0.1]:10025): 530 5.7.0 Must issue a STARTTLS
command first (in reply to end of DATA command)
I understand what is problem here, amavist-new does not support TLS and all clear. I found that in case amavist and postfix are on same machine it is not necessary to use TLS within loopback ( within machine ), and as solution is recommended to set up in master.cf as :
impotrant is : -o smtpd_enforce_tls=no as it is mentioned as solution for other people who run Ubuntu.
But I still have same problem with OpenBSD 4.5 ( upgraded from 4.4 ). All works when I comment out
smtpd_tls_security_level = encrypt in main.cf and
select NONE encription for smtp in evolution.
I really need your opinion about this issue , and opinions are welcome
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.