The Blog

Author: admin

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

Symfony 2 and Plesk 10 on CenOS 5

Posted on

Here it goes:

In order to change default document root for a domain hosted in a plesk control panel we need to create vhost.conf file in the directory in which http.include for the domain resides. Directly changing the document root entry in httpd.include causes the modification to be overwritten with default entry since plesk overwrites entries in configuration files with database entries
Entries to be put in the vhost.conf follows
Read More

Posted in PHP, PLESK Leave a comment
« Previous PageNext Page »