On 10/07/2014 02:26 AM, Gordan Bobic wrote:
On 10/07/2014 12:50 AM, Robert Moskowitz wrote:
I am making progress with postfixadmin. My earlier php problem SEEMed
to be because I was running it via http://ipaddr/...  Once I setup the
dns entry for this server then ran it as http://fqdn/... it worked.  To
get to an actual setup error:

Error: Smarty template compile directory templates_c is not writable.
Please make it writable.
If you are using SELinux or AppArmor, you might need to adjust their
setup to allow write access.

templates_c is writable:

  4 drwxrwxr-x 2 root root  4096 May  6 16:50 templates_c

And no selinux installed at all.

So any ideas from the outside looking at this?  I asked on the
postfixadmin forum, but no answer there.  yet.

If this is supposed to run under apache, then as far as the permissions are concerned, everything will run as the apache user and group. So you will either need to chown that directory to apache or make the privileges 777.

I looked at that for 2 hours and I did not see that priv is 775. changed to 777 and got it working. Sheesh, maybe I DO need those new glasses... thanks.



I have to say I am somewhat surprised that you are running such a web management interface after expressing concern regarding security patches and the lack of working SELinux and. Web based management interfaces like this are one of the most common attack vectors.

I am not a happy camper.  Two mitigating factors:

Only the virtual roundcubemail is globally accessable. The regular server, which can only do this postfixadmin, is allowed only to the local net.

I hardly ever make email account changes, so the plan is this will only be available internally for those infrequent accounting changes. Really only the initial mail setup.

Of course roundcubemail is its own set of problems, but I do have to provide web imap email.

On to the next step in the configuration.


_______________________________________________
users mailing list
[email protected]
http://lists.redsleeve.org/mailman/listinfo/users

Reply via email to