Jump to content
Froxlor Forum

veto

Members
  • Content count

    17
  • Joined

  • Last visited

Community Reputation

0 Neutral

About veto

  • Rank
    Froxie

Recent Profile Visitors

1990 profile views
  1. spamassassin http://myridia.com/dev_posts/view/1238
  2. Install stretch/debian9

    /etc/logrotate.d/mysql-server add user and password: mysqladmin --defaults-file=/etc/mysql/debian.cnf --local -uroot -pPASS flush-error-log flush-engine-log flus\
  3. Install stretch/debian9

    ich machte ein mariadb-config file ins /root/.my.cnf mit: [mysqladmin] user = root password = barbarbar danach gab es keinen error mehr mit /usr/bin/mysqladmin flush-logs > /var/log/mysqladmin.flush-logs https://bugs.mysql.com/bug.php?id=51005
  4. thanks, courier-dovecot-migrate.pl i will try to use for another server
  5. i'm just in a the process of migrating a froxlor managed couriermail server to a new froxlor/debian9/postfix/dovecot mail server there are hundreds of gigabyte imapmap emails with hundreds of accounts. to make this a bit less painfully to move i started to created a small email migration script for the beginning https://github.com/veto64/sync_froxlor requirements: emails passwords must be plain latest docker remote access to the server
  6. debian 9 stretch with php7 and php56

    thanks, but same error [Wed Aug 16 09:46:26.503876 2017] [proxy_fcgi:error] [pid 24298] [client 61.19.42.229:1739] AH01079: failed to make connection to backend: httpd-UDS [Wed Aug 16 09:46:53.687903 2017] [proxy:error] [pid 24300] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /var/lib/apache2/fastcgi/foo.com-php-fpm.socket (*) failed maybe because i don't have libapache2-mod-fastcgi in stretch anymore but i have libapache2-mod-fcgid
  7. debian 9 stretch with php7 and php56

    i got this error: Tue Aug 15 18:26:32.621996 2017] [proxy:error] [pid 31544] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /var/lib/apache2/fastcgi/froxlor.pa\ nel-serverdomain.com-php-fpm.socket (*) failed [Tue Aug 15 18:26:32.622037 2017] [proxy_fcgi:error] [pid 31544] [client 1.47.132.48:8651] AH01079: failed to make connection to backend: httpd-UDS [Tue Aug 15 18:27:04.808228 2017] [mpm_prefork:notice] [pid 29580] AH00171: Graceful restart requested, doing restart so i linked /var/lib/apache2/fastcgi/froxlor.pa\ nel-foo.com-php-fpm.socket to /var/run/php/php5.6-fpm.sock to login to froxlor again and disable the proxy-fcgi with fpm
  8. debian 9 stretch with php7 and php56

    not the same. its working for this one php5.6 webapp for now. no production site on the new server so peace of mind. i think i did not install libnss-mysql (required for FCGID/php-fpm/mpm-itk) on the first server.
  9. debian 9 stretch with php7 and php56

    the activation of fpm and the than the proxy_fcgi made my php-sites unaccessible. i will try this now with new a server
  10. debian 9 stretch with php7 and php56

    thanks, its working, i used a combination of proxy_fcgi and php-fpm install : apt-get install php5.6-fpm php5.6 activate: a2enmod proxy_fcgi proxy and in froxlor in the text box Own vHost-settings of the domain settings i added: <FilesMatch "\.php$"> SetHandler "proxy:unix:/var/run/php/php5.6-fpm.sock|fcgi://foo.com/" </FilesMatch>
  11. have now successfully a default froxlor + apache2 + mod_apache + php7 running. the problem is now that some php webapps are not supporting php7. i read the debian9 can run multiple php version and i installed php 5.6 with apt-get install apt-transport-https curl https://packages.sury.org/php/apt.gpg | apt-key add - echo 'deb https://packages.sury.org/php/ stretch main' > /etc/apt/sources.list.d/deb.sury.org.list apt-get update https://pehapkari.cz/blog/2017/03/27/multiple-php-versions-the-easy-way/ the manual is for nginx. i want now to run all virtual host with the default mod_php apache2 setting from froxlor but for some virtualhosts use another php handler like php5.6-cgi or php5.6-fmp. there so many different setting possible and with the decaying search quality it difficult to find a staring point
  12. Install stretch/debian9

    after deleting 4 directory settings in /etc/postfix/main.cf command_directory = /usr/sbin daemon_directory = /usr/lib/postfix shlib_directory = /usr/lib/postfix data_directory = /var/lib/postfix and add compatibility_level = 2 stretch postgres-3.1.4 is working, tested with squirrel-mail this is my working main.cf mydomain = foo.com myhostname = $mydomain compatibility_level = 2 unknown_local_recipient_reject_code = 550 mynetworks = 127.0.0.0/8 smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5 sendmail_path = /usr/sbin/sendmail newaliases_path = /usr/bin/newaliases mailq_path = /usr/bin/mailq setgid_group = postdrop html_directory = no manpage_directory = /usr/share/man sample_directory = /usr/share/doc/postfix readme_directory = /usr/share/doc/postfix inet_protocols = ipv4 append_dot_mydomain = no biff = no smtpd_helo_required = yes smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_unauth_pipelining, reject_non_fqdn_recipient smtpd_sender_restrictions = permit_mynetworks, reject_sender_login_mismatch, permit_sasl_authenticated, reject_unknown_helo_hostname, reject_unknown_recipient_domain, reject_unknown_sender_domain smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unknown_client_hostname smtpd_relay_restrictions = message_size_limit = 524288000 smtpd_sasl_auth_enable = yes smtpd_sasl_local_domain = $myhostname broken_sasl_auth_clients = yes smtpd_sasl_type = dovecot virtual_transport = dovecot dovecot_destination_recipient_limit = 1 smtpd_sasl_path = private/auth virtual_mailbox_base = / virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_mailbox_domains.cf virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_alias_maps.cf smtpd_sender_login_maps = mysql:/etc/postfix/mysql-virtual_sender_permissions.cf virtual_uid_maps = static:2000 virtual_gid_maps = static:2000 local_transport = local alias_maps = $alias_database mailbox_size_limit = 0 virtual_mailbox_limit = 0
  13. Install stretch/debian9

    thanks, after the install of a basic lamp via apt-get and the setup of a root mysql user with password, i could successfully install froxlor from git with the missing php7 modules. the configuration with jessie on stretch was strait forward like always. virtual web-hosting is running, lets-encrypt works smooth. the problem now is that the postfix version(postconf -d | grep mail_version) changed quite a bit: from mail_version = 2.11.3 to mail_version = 3.1.4 need to figure it out...
  14. Install stretch/debian9

    i understand, same here. so i will clone froxlor from git and set it up on my minimal debian9. any good doc to get started? thanks for all the work.
  15. Install stretch/debian9

    froxlor is a great webadmin tool and i'm using it since years(decades with syscp) on production servers. unfortunately its always a bit behind the 2 year debian upgrades. right now i try to install it to debian9 im getting the below message, suppose i need to downgrade php7 to php5 : # apt-get install froxlor Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: froxlor : Depends: php5 but it is not installable or php5-cgi but it is not installable Depends: php5-cli but it is not installable Depends: php5-curl but it is not installable Depends: php5-mysqlnd but it is not installable or php5-mysql but it is not installable Recommends: postfix-mysql but it is not going to be installed or exim4-daemon-heavy but it is not going to be installed Recommends: libsasl2-modules-sql but it is not going to be installed Recommends: maildrop but it is not going to be installed Recommends: dovecot-common or courier-authlib-mysql but it is not going to be installed Recommends: dovecot-imapd but it is not going to be installed or courier-imap but it is not going to be installed Recommends: dovecot-pop3d but it is not going to be installed or courier-pop but it is not going to be installed Recommends: php5-gd but it is not installable Recommends: php5-imap but it is not installable Recommends: proftpd-mod-mysql but it is not going to be installed or pure-ftpd-mysql but it is not going to be installed Recommends: bind9 but it is not going to be installed or pdns-server but it is not going to be installed E: Unable to correct problems, you have held broken packages.
×