Hello,
Recently I had to rewrite all user's httpd.confs and they don't able to send emails without SMTP authentication anymore because new template generates virtualhosts without strings: php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f |PHP_EMAIL|'
old was:
new is:
how can I turn back as it was? because I added to CustomHTTPD: php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f |PHP_EMAIL|'
Recently I had to rewrite all user's httpd.confs and they don't able to send emails without SMTP authentication anymore because new template generates virtualhosts without strings: php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f |PHP_EMAIL|'
old was:
Code:
<Directory "/home/myikra/public_html">
<IfModule mod_fcgid.c>
SuexecUserGroup myikra myikra
</IfModule>
php_admin_flag engine ON
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f [email protected]'
php_admin_value mail.log /home/myikra/.php/php-mail.log
php_admin_value open_basedir /home/myikra/:/tmp:/var/tmp:/opt/alt/php74/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php74/lib/php/
</Directory>
<VirtualHost 31.11.11.11:8080 127.0.0.1:8080 >
ServerName www.worlds.com
ServerAlias www.worlds.com worlds.com
ServerAdmin [email protected]
DocumentRoot /home/myikra/domains/worlds.com/public_html
ScriptAlias /cgi-bin/ /home/myikra/domains/worlds.com/public_html/cgi-bin/
UseCanonicalName OFF
<IfModule !mod_ruid2.c>
SuexecUserGroup myikra myikra
</IfModule>
CustomLog /var/log/httpd/domains/worlds.com.bytes bytes
CustomLog /var/log/httpd/domains/worlds.com.log combined
ErrorLog /var/log/httpd/domains/worlds.com.error.log
<Directory /home/myikra/domains/worlds.com/public_html>
php_admin_flag engine ON
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f [email protected]'
php_admin_value mail.log /home/myikra/.php/php-mail.log
php_admin_value open_basedir /home/myikra/:/tmp:/var/tmp:/opt/alt/php74/usr/share/pear/:/dev/urandom:/usr/local/lib/php/:/usr/local/php74/lib/php/
</Directory>
# Mail auto configuration (Thunderbird, MS Outlook)
ProxyPassMatch "^/\.well-known/autoconfig/mail/config-v1\.1\.xml$|^/([Aa]utodiscover)/\1\.xml$" "unix:/usr/local/directadmin/shared/internal.sock|http://localhost"
</VirtualHost>
new is:
Code:
<Directory "/home/aquatisc/public_html">
<IfModule mod_fcgid.c>
SuexecUserGroup aquatisc aquatisc
</IfModule>
</Directory>
<VirtualHost 31.11.11.11:8080 127.0.0.1:8080 >
ServerName www.aquati.com
ServerAlias www.aquati.com aquati.com
ServerAdmin [email protected]
DocumentRoot /home/aquatisc/domains/aquati.com/public_html
ScriptAlias /cgi-bin/ /home/aquatisc/domains/aquati.com/public_html/cgi-bin/
UseCanonicalName OFF
<IfModule !mod_ruid2.c>
SuexecUserGroup aquatisc aquatisc
</IfModule>
CustomLog /var/log/httpd/domains/aquati.com.bytes bytes
CustomLog /var/log/httpd/domains/aquati.com.log combined
ErrorLog /var/log/httpd/domains/aquati.com.error.log
<Directory /home/aquatisc/domains/aquati.com/public_html>
</Directory>
# Mail auto configuration (Thunderbird)
ProxyPassMatch "^/\.well-known/autoconfig/mail/config-v1\.1\.xml$" "unix:/usr/local/directadmin/shared/internal.sock|http://localhost"
</VirtualHost>