https://www.howtoforge.com/using-ro...zy-nginx#-creating-a-remote-user-in-ispconfig I've followed this to the t and everything, and tried a bunch of different ways. I've narrowed it down to the fact that the reason I'm getting [domain].vhost.err is because of this after switching the files from err to regular and trying to start ngnix, the sock is trying to run again. That is why /webmail/ will only work on one domain. Because I copy the exact same code that is listed on the wheezy page and roundcube does work on one site. nvm...on the dkim, i used clear text and it fixed that issue. maybe i won't go to spam! Code: Oct 15 04:03:52 ispconfig.hugops.tech systemd[1]: Starting A high performance web server and a reverse proxy server... Oct 15 04:03:52 ispconfig.hugops.tech nginx[241009]: nginx: [emerg] "fastcgi_pass" directive is duplicate in /etc/nginx/sites-enabled/100-pastmysh> Oct 15 04:03:52 ispconfig.hugops.tech nginx[241009]: nginx: configuration file /etc/nginx/nginx.conf test failed Oct 15 04:03:52 ispconfig.hugops.tech systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE Oct 15 04:03:52 ispconfig.hugops.tech systemd[1]: nginx.service: Failed with result 'exit-code'. Oct 15 04:03:52 ispconfig.hugops.tech systemd[1]: Failed to start A high performance web server and a reverse proxy server. I hope that is enough information for you guys to work with because I've been on this for three days. And also, I'm having a heck of a time getting dkim records to work, I don't want my emails going to spam. I don't see how I could mess it up because this awesome control panel makes it so easy. Code: location / { try_files $uri $uri/ /index.php?$args; } client_max_body_size 100M; location /roundcube { root /var/lib/; index index.php index.html index.htm; location ~ (.+\.php)$ { try_files $uri =404; include /etc/nginx/fastcgi_params; # To access SquirrelMail, the default user (like www-data on Debian/Ubuntu) must be used fastcgi_pass 127.0.0.1:9000; fastcgi_pass unix:/var/run/php/php7.4-fpm.sock; fastcgi_param HTTPS; fastcgi_index index.php; fastcgi_intercept_errors on; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_buffer_size 128k; fastcgi_buffers 256 4k; fastcgi_busy_buffers_size 256k; fastcgi_temp_file_write_size 256k; proxy_connect_timeout 600s; proxy_send_timeout 600s; proxy_read_timeout 600s; fastcgi_send_timeout 600s; fastcgi_read_timeout 600s; } location ~* /.svn/ { deny all; } location ~* /README|INSTALL|LICENSE|SQL|bin|CHANGELOG$ { deny all; } } location /webmail { rewrite ^ /roundcube last; } That is the code that works on one sites directive.
Still can't get it, do you need any more information anyone? I've somehow never used ispconfig in all my years with linux.
Which tutorial did you use to Install ISPConfig? Regarding DKIM, it might be that our DNS provider does not support split DKIM keys. Emove the single quotes within the key in this case. One usually uses port 8081 on Nginx systems to access Roundcube and not aliases in vhosts as Nginx does not support global aliases and adding an alias manually in each vhost, that's not the way that I would recommend doing it. Dies accessing RoundCube on port 8081 work? Regarding .err files, a .err file is created when Nginx cannot understand the custom config you added to prevent that Nginx fails and all websites and the ISPConfig GUI become offline.
Ok. I tried everything, finally figured out dkim, etc. But I've removed dovecot, postfix, roundcube, all the directives. Please link me to the best tutorial to get a working mail server, mind you I would like it to be a domain name, but not if its more complicated, I should have enabled mailserver from the beginning. I've really tried everything. I should have just installed it in the first place, didn't think I'd need it. ngnix, multiple domains, postfix/dovecot/roundcube is what I want even if its just to one link.
The easiest and fastest way is to just format the server as you manually messed with the config which means it's unlikely that you get back a working setup easily. Install a minimal Debian 11 or Ubuntu 20.04 system, ensure to take care that your system uses a valid hostname (which must be a subdomain like server1.yourdomain.tld) and then run the auto-installer which sets a complete system for you automatically incl. mail server: https://www.howtoforge.com/ispconfig-autoinstall-debian-ubuntu/
I tried not to mess with to much...besides the mail...but I see where you are coming from. darnit. i don't know why it just worked on one domain for every other site, no other issues.
You can try to undo the changes you made by reinstalling the now missing components and then run a forced ispconfig update to reconfigure the system. It would have been better if you asked before uninstalling or changing the software could not have made any difference in regard to your RoundCube issue as neither postfix nor dovecot has anything to do with the URL you connect to RoundCube. That is solely about nginx rules that you enter into the domain and if nginx don't like the rules you added, then all that needs to be done is to check the rules and alter them if needed.