Fixed the attachment directory write issue by setting setenforce to '0'.

Then I got held up on the IMAP server (dovecot) and had to set 'Secure IMAP 
(TLS)' setting to 'disabled'.

Does these sound ok?  Or, do I have another issue??

Great news is I just logged into my new Squirrelmail setup!!!

Jay



> I am past this point now. Solved a bit more items. But now stuck on writing 
> permissions to the attachment directory
> (/var/spool/squirrelmail/attach/)
>
> - main thing I fixed was the squirrelmail conf file in the /etc/httpd 
> directories.
>
> Jay
>
>> Good Evening,
>>
>> Problem: Squirrelmail will not run due to likely permissions issue on the 
>> server.
>>
>> I am trying to get Squirrelmail running on a Centos 8 server. I have Centos 
>> 8 fully patched and running on stream.  Using Apache,
>> dovecot,
>> SA, and clamav for email.  I have all those pieces installed and working, 
>> just need the webmail app to work and I should be GTG.
>>
>> PHP is version 7.3.33, and I installed the 1.4.23-SVN gz file dated 
>> 11-17-2021.
>>
>> I ran conf.pl and updated the parameters for this particular server.
>>
>> The web Document root for Apache is /www. Squirrelmail is installed in 
>> /usr/share/squirrelmail.1423
>>
>> I have a squirrelmail config file at /etc/httpd/conf.module.d called 
>> 16-squirrelmail.conf
>> Contents of that file are:
>> #
>> # SquirrelMail is a webmail package written in PHP.
>> #
>>
>> Alias /webmail "/usr/share/squirrelmail.1423"
>>
>> #<Directory "/usr/share/squirrelmail.1423/plugins/squirrelspell/modules">
>> <Directory "/webmail">
>>  AllowOverride None
>>  Options Indexes Multiviews
>>  Require all granted
>> </Directory>
>>
>> # this section makes squirrelmail use https connections only, for this you
>> # need to have mod_ssl installed. If you want to use unsecure http
>> # connections, just remove this section:
>> #6-12-2020 commented out next five lines to test sqmail in http mode only
>> <Directory /usr/share/squirrelmail.1423>
>>   RewriteEngine  on
>>   RewriteCond    %{HTTPS} !=on
>>   RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
>> </Directory>
>>
>> I do not know if this ^^^file^^^ needs to be configured more.
>>
>> My issue:  When trying to run the configtest.php file, I get the following 
>> error in the httpd/ssl_error.log file
>> [Thu Nov 18 18:12:41.534518 2021] [authz_core:error] [pid 9493:tid 
>> 140018726373120] [client 10.20.30.61:38104] AH01630: client denied by
>> server configuration: /usr/share/squirrelmail.1423/src/configtest.php
>>
>> So, I think my issue with Squirrelmail is a permissions issue and I've been 
>> trying to solve that today.  Any changes to any /etc/httpd
>> conf files result in a restart for httpd for testing.
>>
>> Can someone give me a few other pointers to look at, and also provide any 
>> insight into if the file contents I have provided are correct.
>> I can also provide additional data as needed.
>>
>> Thanks,
>>
>> Jay
>>
>>
>>
>>
>> -----
>> squirrelmail-users mailing list
>> Posting guidelines: http://squirrelmail.org/postingguidelines
>> List address: squirrelmail-users@lists.sourceforge.net
>> List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
>> List info (subscribe/unsubscribe/change options): 
>> https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>>
>
>
>
>
> -----
> squirrelmail-users mailing list
> Posting guidelines: http://squirrelmail.org/postingguidelines
> List address: squirrelmail-users@lists.sourceforge.net
> List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
> List info (subscribe/unsubscribe/change options): 
> https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>




-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to