I have a few questions to go through. Hopefully someone might be able to help me on this. Before I start I’ll go ahead and detail what I’m using for hosting. I’m using a linode 1024 plan VPS server and I’m using VirtualMin GPL. I installed VirtualMin on a clean install with some security enhancements just in case there are any gotchas. Mostly basic ssh lockdown, root account being disabled, etc.
Anyways to the questions.
1.) There are dns host entries created for m.domain and localhost.domain. Is there any reason for this? I was able to remove the entries without any negative effects that I can see.
UPDATE: I found in the bind9 server options a spot to uncheck their creation.
2.) Is there any way to give virtual server owners direct access to the bind file? I understand there are risks involved in doing that but the only other users that would be editing them I trust but don’t want to give them full access to every domain in the process.
3.) I just noticed that fcgid isn’t working for php. When I run a phpinfo check it is showing as if mod_php is running the file. system('id) returned www-data as the user rather than the site owner. Is there any particular reason why?
UPDATE: I found out why. When mod_php5 is running the handler for fcgid doesn’t kick in. I disabled mod_php5 and it switched right back over. I’m trialing a different configuration so I’ll see how things pan out with a different method. Just so you know it involves mod_php5 and apache2-mpm-itk. I had it setup on my previous os configuration and it worked ok although I never got perl working… (leading to a new 5th question)
4.) saslauthd isn’t running on the server. On the domain it does indicate that sasl auth is enabled but the service isn’t running. When I start it manually I get the error " * To enable saslauthd, edit /etc/default/saslauthd and set START=yes" every time. I understand the manual edit (I can do that) but why isn’t it getting enabled via VirtualMin?
UPDATE: I manually enabled saslauthd but my original root issue (which is why I posted the question) still is at hand. The reason I asked about saslauthd is because smtp auth isn’t working for some reason.
UPDATE: smtp auth doesn’t work with either if saslauthd is manually running or now. Doesn’t make a different if sasl auth is enabled or not in virtualmin although I do see the postfix config change. Pop/imap auth works fine. Smtp auth failed with both plain and login methods.
5.) (added on update) How do I get perl to work everywhere in the domain? I see that it works in the cgi-bin but I don’t usually keep my scripts in that folder.
UPDATE: Got that working too finally after hitting my head on the desk alot… Comment out the ScriptAlias for cgi-bin then add “AddHandler cgi-script .cgi .pl” (no quotes) and it was magic. Kinda obviousl but I could of sworn I did that before and it wouldn’t work.