Displaying 20 results from an estimated 10000 matches similar to: "Centos7 Postfixadmin with SELInux"
2017 Feb 21
0
SELInux conflict with Postfixadmin
On 02/21/2017 11:52 AM, Robert Moskowitz wrote:
>
>
> On 02/21/2017 11:46 AM, Zdenek Sedlak wrote:
>> On 2017-02-21 17:30, Robert Moskowitz wrote:
>>> postfixadmin setup.php is claiming:
>>>
>>> *Error: Smarty template compile directory templates_c is not writable.*
>>> *Please make it writable.*
>>> *If you are using SELinux or AppArmor,
2017 Feb 21
2
SELInux conflict with Postfixadmin
On 02/21/2017 11:46 AM, Zdenek Sedlak wrote:
> On 2017-02-21 17:30, Robert Moskowitz wrote:
>> postfixadmin setup.php is claiming:
>>
>> *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.*
>>
2017 Feb 21
3
SELInux conflict with Postfixadmin
postfixadmin setup.php is claiming:
*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.*
This goes away with 'setenforce 0', so it is an SELinux issue. I have
tried both:
restorecon -Rv /usr/share/postfixadmin
and
chcon -R -t
2017 Feb 21
0
SELInux conflict with Postfixadmin
On 2017-02-21 17:30, Robert Moskowitz wrote:
> postfixadmin setup.php is claiming:
>
> *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.*
>
>
> This goes away with 'setenforce 0', so it is an SELinux issue. I
2015 Jan 22
2
SELinux permissions for apache
Hey Jeremy,
> Have you tried changing the folder where it's writing into with these
> lables? httpd_sys_content_rw_t or httpd_user_content_rw_t
Adding 'rw' to the command did the trick. I tried httpd_sys_content_rw_t and
that works fine! Thanks for the tip!
Tim
On Thu, Jan 22, 2015 at 1:19 PM, Jeremy Hoel <jthoel at gmail.com> wrote:
> Have you tried changing
2015 Jan 22
0
SELinux permissions for apache
The easiest answer is to edit the Selinux config file. By default it is
set to enforce, which really locks it down.
cd /etc/selinux
edit the config file and change SELUNIX=enforcing to SELUNIX=permissive
Save the file and restart httpd, you should be fine..
john plemons
On 1/22/2015 1:36 PM, Tim Dunphy wrote:
> Hey Jeremy,
>
>
>
>> Have you tried changing the folder where
2015 Jan 22
0
SELinux permissions for apache
Exactly, SELinux is great. Its a good room to have when you can get it
working and it's another good layer of protection. Its better to learn to
use the tool then just turn it off.
Not every label has a rw option but it never hurts to try. :-)
On Jan 22, 2015 1:18 PM, "Tim Dunphy" <bluethundr at gmail.com> wrote:
> >
> > The easiest answer is to edit the Selinux
2015 Jan 22
2
SELinux permissions for apache
>
> The easiest answer is to edit the Selinux config file. By default it is
> set to enforce, which really locks it down.
> cd /etc/selinux
> edit the config file and change SELUNIX=enforcing to SELUNIX=permissive
> Save the file and restart httpd, you should be fine..
Yeah dude, exactly. Except I actually do want to start using it. I've been
disabling SELINUX forever
2015 Jan 22
0
SELinux permissions for apache
Have you tried changing the folder where it's writing into with these
lables? httpd_sys_content_rw_t or httpd_user_content_rw_t
On Thu, Jan 22, 2015 at 11:09 AM, Tim Dunphy <bluethundr at gmail.com> wrote:
> Hey all,
>
> I have a simple php app working that writes some info to a text file. The
> app will only work correctly if SELinux is disabled. If it's enabled and
2017 Feb 17
5
Centos 7 httpd Permission problems with Postfixadmin
More joy with Centos 7.
I am having permission problems with Postfixadmin. I am installing as I have in my notes I did in Centos6 and it is not working.
I untar Postfixadmin into /usr/share. The owner is root:root (I even
tried root:apache). My postfixadmin.conf file has:
alias /mailadmin /usr/share/postfixadmin
<Directory "/usr/share/postfixadmin">
AllowOverride
2017 Feb 17
0
Centos 7 httpd Permission problems with Postfixadmin
On Feb 17, 2017 12:03 PM, "Robert Moskowitz" <rgm at htt-consult.com> wrote:
More joy with Centos 7.
I am having permission problems with Postfixadmin. I am installing as I
have in my notes I did in Centos6 and it is not working.
I untar Postfixadmin into /usr/share. The owner is root:root (I even
tried root:apache). My postfixadmin.conf file has:
alias /mailadmin
2015 Jan 22
2
SELinux permissions for apache
Hey all,
I have a simple php app working that writes some info to a text file. The
app will only work correctly if SELinux is disabled. If it's enabled and
try to use the app, it fails. It seems that SELinux is denying the app
ability to write to the text file.
So I tried running the following command:
chcon -R -t httpd_sys_content_t /var/www
And tried veriying the command with the
2017 Feb 21
1
Centos 7 with Postfixadmin, what provides php5-mysql
I am building a Centos7 mailserver to replace my Centos6 server.
This means moving to Apache 2.4 and MariaDB, so I am finding a number of
changes from my notes.
I now have MariaDB running with the databases created and Apache
running. I try accessing postfixadmin and get:
DEBUG INFORMATION:
MySQL 4.1 functions not available! (php5-mysqli installed?)
database_type = 'mysqli' in
2017 Feb 17
3
Centos 7 httpd Permission problems with Postfixadmin
On 02/17/2017 01:11 PM, Pete Biggs wrote:
>> From error.log:
>>
>> [Fri Feb 17 12:56:33.478024 2017] [authz_core:error] [pid 5759] [client
>> 192.168.160.12:48290] AH01630: client denied by server configuration:
>> /usr/share/postfixadmin
> So it's an authorisation issue. In your .htaccess file change
>
> Order allow,deny
> Allow from
2017 Feb 17
1
SOLVED - Re: Centos 7 httpd Permission problems with Postfixadmin
On 02/17/2017 01:52 PM, Albert McCann wrote:
>> -----Original Message-----
>> From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of Robert
>> Moskowitz
>> Sent: Friday, February 17, 2017 1:40 PM
>> To: CentOS mailing list <centos at centos.org>
>> Subject: Re: [CentOS] Centos 7 httpd Permission problems with Postfixadmin
>
>>> So
2017 Feb 17
3
Centos 7 httpd Permission problems with Postfixadmin
On 02/17/2017 12:42 PM, Pete Biggs wrote:
> On Fri, 2017-02-17 at 12:02 -0500, Robert Moskowitz wrote:
>> More joy with Centos 7.
>>
>> I am having permission problems with Postfixadmin. I am installing as
>> I have in my notes I did in Centos6 and it is not working.
>>
>> I untar Postfixadmin into /usr/share. The owner is root:root (I even
>> tried
2008 Nov 06
0
[Postfixadmin-devel] Quota not working ?
Hello Michiel,
i sent 2 further mails with 4mb attachement
no quota warning, mails was delivered to user.
is the "multiplier" in the postfixadmin the wrong one ?
or is there a setting that MUST be in main.cf of postfix ?
marko
Michiel van Baak schrieb:
> On 17:20, Thu 06 Nov 08, Marko Weber wrote:
>
>> Hi Michiel,
>> i tried your hints.
>> but seems not
2017 Feb 17
0
Centos 7 httpd Permission problems with Postfixadmin
> -----Original Message-----
> From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of Robert
> Moskowitz
> Sent: Friday, February 17, 2017 1:40 PM
> To: CentOS mailing list <centos at centos.org>
> Subject: Re: [CentOS] Centos 7 httpd Permission problems with Postfixadmin
> > So it's an authorisation issue. In your .htaccess file change
> >
>
2017 Feb 17
0
Centos 7 httpd Permission problems with Postfixadmin
On Fri, 2017-02-17 at 12:02 -0500, Robert Moskowitz wrote:
> More joy with Centos 7.
>
> I am having permission problems with Postfixadmin. I am installing as
> I have in my notes I did in Centos6 and it is not working.
>
> I untar Postfixadmin into /usr/share. The owner is root:root (I even
> tried root:apache). My postfixadmin.conf file has:
>
> alias /mailadmin
2017 Feb 21
1
Problems with my simple write conf files method
On 02/21/2017 11:03 AM, KM wrote:
> I have never used this method per se, but in general in any script if you want to preserve the $ (dollar sign) or variable name you must use a backslash to preserve it. For example change your $CONF to \$CONF. The $CONF should then be printed into your conf file.
Thanks that worked.
> KM
>
> From: Robert Moskowitz <rgm at