The Blog

Month: June 2012

Postfix Requires TLS‎ in PLESK 10.x

Posted on

Edit /etc/postfix/master.cf file

Original Value is like that:

submission inet n – – – – smtpd -o smtpd_enforce_tls=yes -o smtpd_tls_security_level=encyrpt-o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_sasl_authenticate d,reject -o smtpd_sender_restrictions= -o smtpd_proxy_filter=127.$

Change it as like as this one

submission inet n – – – – smtpd -o smtpd_enforce_tls=no -o smtpd_tls_security_level=may -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_sasl_authenticate d,reject -o smtpd_sender_restrictions= -o smtpd_proxy_filter=127.$

Then start postfix, that removes STARTTLS requirement at postfix submission service.

By the way, the command to make postfix accept the changed settings is:

postfix reload

Posted in PLESK Leave a comment

Executing SQL directly in Symfony2 Doctrine

Posted on

Ok, so I’m moving project from non framework PHP to Symfony2, and it goes very nice, except of Doctrine, I’m sure it’s me. I’ve been using MySQL for last 8 years and DQL vs SQL to me feels like i.e. taking snowboard for the first time, after skiing for 30 years. What I do after 30 min. of trying. I’m going back to rental place and I switch to skis. Below one can find skis.
Read More

Posted in Frameworks, PHP, Symfony3 29 Comments