Page 1 of 2

Cannot find configuration value: incoming queue dir in

Posted: 13 Apr 2022 09:10
by fatih.gokdogan
I get the following error
Image

Re: Cannot find configuration value: incoming queue dir in

Posted: 13 Apr 2022 11:36
by shawniverson
That is rather bizarre. That setting appears to be missing from your config?

Re: Cannot find configuration value: incoming queue dir in

Posted: 13 Apr 2022 11:38
by pdwalker
That parameter does not exist in the mailscanner.conf

what did you change in your system between the time the error showed up in your web interface and before when it did not?

Re: Cannot find configuration value: incoming queue dir in

Posted: 13 Apr 2022 12:01
by pdwalker
Oh, I see how the function works.

Do you have the following option in your /etc/MailScanner/MailScanner.conf file?

Code: Select all

Incoming Queue Dir = /var/spool/MailScanner/milterin 
What are the file permissions on /etc/MailScanner and /etc/MailScanner/MailScanner.conf?

Code: Select all

[root@efa4 mailscanner]# ls -ld /etc/MailScanner/ /etc/MailScanner/MailScanner.conf
drwxr-xr-x. 5 root root   4096 Apr 13 20:00 /etc/MailScanner/
-rw-r--r--  1 root root 154210 Mar 17 16:58 /etc/MailScanner/MailScanner.conf

Re: Cannot find configuration value: incoming queue dir in

Posted: 13 Apr 2022 12:04
by fatih.gokdogan
I didn't change anything.

available in conf extension

change
MTA = msmail
to
MTA = sendmail

if i do sendmail it works fine

Image

Re: Cannot find configuration value: incoming queue dir in

Posted: 13 Apr 2022 12:04
by fatih.gokdogan
drwxr-xr-x. 5 root root 4096 Nis 13 08:58 /etc/MailScanner/
-rw-r--r--. 1 root root 154123 Nis 13 11:58 /etc/MailScanner/MailScanner.conf

Re: Cannot find configuration value: incoming queue dir in

Posted: 13 Apr 2022 12:14
by freyuh
Maybe file system full?

Re: Cannot find configuration value: incoming queue dir in

Posted: 13 Apr 2022 12:26
by fatih.gokdogan
freyuh wrote: 13 Apr 2022 12:14 Maybe file system full?
no it's not full

Re: Cannot find configuration value: incoming queue dir in

Posted: 13 Apr 2022 13:02
by freyuh
And enough free inodes?

Re: Cannot find configuration value: incoming queue dir in

Posted: 13 Apr 2022 13:08
by freyuh
What about the mem/swap usage?

Re: Cannot find configuration value: incoming queue dir in

Posted: 13 Apr 2022 13:45
by fatih.gokdogan
Image

Re: Cannot find configuration value: incoming queue dir in

Posted: 13 Apr 2022 14:24
by freyuh
This seems to be OK ... hm ... have to think about it a little more ...

Re: Cannot find configuration value: incoming queue dir in

Posted: 13 Apr 2022 14:28
by freyuh
Are there any errors in /var/log/maillog or /var/log/messages?

Re: Cannot find configuration value: incoming queue dir in

Posted: 13 Apr 2022 15:10
by fatih.gokdogan
freyuh wrote: 13 Apr 2022 14:28 Are there any errors in /var/log/maillog or /var/log/messages?
no errors

Re: Cannot find configuration value: incoming queue dir in

Posted: 13 Apr 2022 15:31
by freyuh
Anything in the error logs under /var/log/httpd and /var/log/php-fpm?

Tried to restart the webserver?

Re: Cannot find configuration value: incoming queue dir in

Posted: 13 Apr 2022 15:52
by fatih.gokdogan
freyuh wrote: 13 Apr 2022 15:31 Anything in the error logs under /var/log/httpd and /var/log/php-fpm?

Tried to restart the webserver?
there is only this error :think:

[13-Apr-2022 18:06:43 Europe/Istanbul] PHP Warning: Directory /var/www/html/mailscanner/lib/htmlpurifier/standalone/HTMLPurifier/DefinitionCache/Serializer not writable, please chmod to 777 in /var/www/html/mailscanner/lib/htmlpurifier$

Re: Cannot find configuration value: incoming queue dir in

Posted: 13 Apr 2022 16:01
by freyuh
I also had this error and changed the permissions as displayed.
But this error didn't lead to any errors on my installations.

Restarting the webserver doesn't change anything/resolve the error?

Re: Cannot find configuration value: incoming queue dir in

Posted: 13 Apr 2022 16:09
by fatih.gokdogan
freyuh wrote: 13 Apr 2022 16:01 I also had this error and changed the permissions as displayed.
But this error didn't lead to any errors on my installations.

Restarting the webserver doesn't change anything/resolve the error?
I restarted the machine, It didn't happen

Re: Cannot find configuration value: incoming queue dir in

Posted: 13 Apr 2022 16:56
by freyuh
Have you changed anything in the MailScanner.conf and afterwards the error appeared?
If so, maybe you typed a special character which is not displayed but interpreted by the php script.

Re: Cannot find configuration value: incoming queue dir in

Posted: 13 Apr 2022 17:02
by fatih.gokdogan
freyuh wrote: 13 Apr 2022 16:56 Have you changed anything in the MailScanner.conf and afterwards the error appeared?
If so, maybe you typed a special character which is not displayed but interpreted by the php script.
I didn't make any changes
I installed the script for the first time

Re: Cannot find configuration value: incoming queue dir in

Posted: 13 Apr 2022 17:13
by freyuh
Can you tell me which system (ISO) you used. So I can install it on my own and test it.
Which language did you use for installation?

Re: Cannot find configuration value: incoming queue dir in

Posted: 13 Apr 2022 20:49
by fatih.gokdogan
freyuh wrote: 13 Apr 2022 17:13 Can you tell me which system (ISO) you used. So I can install it on my own and test it.
Which language did you use for installation?
CentOS-7-x86_64-Minimal-2003.iso

Language : TR

Re: Cannot find configuration value: incoming queue dir in

Posted: 14 Apr 2022 06:05
by pdwalker
Weird. I have no idea. I have a stock centos 7.0 installation with the latest v4.x version of eFa. My MTA is set to "msmail", so I have no idea what is different between your system and mine and what is causing the difference.

Clearly something is wrong.

Re: Cannot find configuration value: incoming queue dir in

Posted: 14 Apr 2022 08:42
by fatih.gokdogan
pdwalker wrote: 14 Apr 2022 06:05 Weird. I have no idea. I have a stock centos 7.0 installation with the latest v4.x version of eFa. My MTA is set to "msmail", so I have no idea what is different between your system and mine and what is causing the difference.

Clearly something is wrong.
definitely a strange situation, I installed centos 8, it still didn't change :think:

Re: Cannot find configuration value: incoming queue dir in

Posted: 14 Apr 2022 13:15
by freyuh
Is it possible for you, to install an english system and test it?
Maybe it's a problem with the turkish language.