Jump to content
Froxlor Forum

df8oe

Members
  • Content Count

    54
  • Joined

  • Last visited

Community Reputation

0 Neutral

About df8oe

  • Rank
    Advanced Froxie

Recent Profile Visitors

1030 profile views
  1. Hi to all, I do have a complete ready & running dkim / spf integration in Froxlor at my github: https://github.com/df8oe/Froxlor It is working now over 6 months and is doing a great job. But I do not have the time to finish it. There is missing the part how you have to configure opendkim or amavisd (I by myself prefer amavisd). Of course I can provide information what must be changed but I do not have the time to implement these instructions to Froxlor. That's a pity: it is working on 5 servers and all my friends need to get "my version" after a Froxlor update because everything vanishes of course... Is there anyone who can contribute on implementing the "configuration part"?
  2. Usage of /tmp was "grown" - but not mandatory. /var/customers/tmp is working out of the box. I will test the next weeks and if nothing else pops up migration is complete. Thank you for your support - excellent!
  3. I have got one leaving issue which I am unable to solve by myself. I think it is not related to Froxlor but to a configuration problem... Temporary directory /tmp/username does not work. I see "unable to locate session file" e.g. in logs. Folder was not created - so I created it giving it correct permissions and ownership. Does not work either. Path is included in openbasedir line of froxlor generated php-fpm conf for the domain. If I remove username in the config file at all places so that only /tmp is used it works (after restarting fpm process). But I cannot use folder within /tmp. What can be the problem? It looks like everything else related to Froxlor works under Arch as stable as under Debian. I can confirm that my implementation of DKIM works perfectly, too. The only part that must be paid attention: NEVER direct copy configuration files for Debian or any other distribution! See which changes are related to Froxlor and modify these specific lines in Arch manually. I have done that with every cofiguration file except one (nsswitch.conf) and Murphy pushes me into problems immediately
  4. Solved! The configuration was not correct. I took now the original nsswitch.conf which was shipped with Arch and added just "extrausers" at the end of the lines passwd, shadow and group. That fixed all. No error messages at start, php is running well. Thanks for pointing me to nsswitch.conf.
  5. I have nsswitch.conf adjusted as following: # Make sure that `passwd`, `group` and `shadow` have extrausers in their lines # You should place extrausers at the end, so that it is queried after the other mechanisams # passwd: compat extrausers group: compat extrausers shadow: compat extrausers hosts: files dns networks: files dns services: db files protocols: db files rpc: db files ethers: db files netmasks: files netgroup: files bootparams: files automount: files aliases: files
  6. There is someting going wrong. I do have libnss-extrausers installed and marked as "present" in Froxlor. /etc/nsswitch.conf is modified as mentioned here in the forum. /var/lib/extrausers exists and hs three files with well looking contents (passwd, group, shadow). But nscd throws some messages at start: Mai 02 17:53:21 myserver64 nscd[98342]: 98342 überwache das Verzeichnis »/etc« (2) Mai 02 17:53:21 myserver64 nscd[98342]: 98342 Die inotify-basierte Überwachung für die Datei »/etc/netgroup« deaktiviert: Datei oder Verzeichnis nicht gefunden Mai 02 17:53:21 myserver64 nscd[98342]: 98342 »stat« für die Datei »/etc/netgroup« ist fehlgeschlagen; weiterer Versuch folgt später: Datei oder Verzeichnis nicht gefunden Mai 02 17:53:21 myserver64 nscd[98342]: 98342 Die inotify-basierte Überwachung für die Datei »/var/db/passwd.db« deaktiviert: Datei oder Verzeichnis nicht gefunden Mai 02 17:53:21 myserver64 nscd[98342]: 98342 »stat« für die Datei »/var/db/passwd.db« ist fehlgeschlagen; weiterer Versuch folgt später: Datei oder Verzeichnis nicht gefunden Mai 02 17:53:21 myserver64 nscd[98342]: 98342 Die inotify-basierte Überwachung für die Datei »/var/db/group.db« deaktiviert: Datei oder Verzeichnis nicht gefunden Mai 02 17:53:21 myserver64 nscd[98342]: 98342 »stat« für die Datei »/var/db/group.db« ist fehlgeschlagen; weiterer Versuch folgt später: Datei oder Verzeichnis nicht gefunden Mai 02 17:53:21 myserver64 nscd[98342]: 98342 Die inotify-basierte Überwachung für die Datei »/var/db/services.db« deaktiviert: Datei oder Verzeichnis nicht gefunden Mai 02 17:53:21 myserver64 nscd[98342]: 98342 »stat« für die Datei »/var/db/services.db« ist fehlgeschlagen; weiterer Versuch folgt später: Datei oder Verzeichnis nicht gefunden Mai 02 17:53:21 myserver64 systemd[1]: Started Name Service Cache Daemon. Where is the path to /var/lib/extrausers published for usage?
  7. Interesting. Apache logs tell me [Sat May 02 17:21:55.743194 2020] [proxy_fcgi:error] [pid 92157] [client 192.168.0.202:55572] AH01079: failed to make connection to backend: httpd-UDS [Sat May 02 17:23:24.331392 2020] [proxy:error] [pid 92159] (13)Keine Berechtigung: AH02454: FCGI: attempt to connect to Unix domain socket /var/lib/apache2/fastcgi/1-anton-hullewulle.de-php-fpm.socket (*) failed But user/group in sites-enabled config of the domain and also in corresponding php-fpm config is identical. I can get php work if I set listen.mode to 666 in php-fpm config...
  8. OK - I see. It is generated by froxlor and froxlor defines and uses the ending. I have to dig deeper why my "hand-defined vhost" works with php and all froxlor vhosts do not.... All sockets are present for froxlor vhosts so it is mainly apache configuration / conflicts with existing base config from Arch (which is quite different from Debian).
  9. That solved it. Now all is set to my private IP and I can step forward.
  10. Here I will post everything that isn't self explaining and possibly is inside Froxlor... First I looked over the apache vhost files and noticed lines following: SetHandler proxy:unix:/var/lib/apache2/fastcgi/hullewulle-php-fpm.socket|fcgi://localhost This does not work in Arch because it must be like this: SetHandler proxy:unix:/var/lib/apache2/fastcgi/hullewulle-php-fpm.sock|fcgi://localhost Is there a settings possibility to change from "socket" to "sock"?
  11. Thanks - that helps it making easier !
  12. I will look at the setting in the database - I think it must reside there?
  13. I am surely not using the latest version because I must merge it to my repo where well-running dkim and spf support is implemented. So I do not pull every time if a new version is released because it will not work out-of-the-box because of missing dkim and spf stuff...
  14. Hi, I am migrating my server from Debian to Arch Linux. Froxlor is running on my Debian system and I want to port it of course, too. But not in a productive environment... So I have the installation running actually within my LAN and it has IP 192.168.x.y Mail with all its components (postfix, dovecot, amavis, spamassassin, dkim and spf) is already working and Froxlor handles it perfectly like on Debian. But for php I want to start a new way: not mod_php but php-fpm (different configurations, different php versions). So I need for testing to set the IP/Port to my local net but Froxlor does not accept this. How can I disable the ip-validation or overwrite existing setting manually?
  15. ? Schönen Abend - bis bald
×
×
  • Create New...