Koozali.org: home of the SME Server
Contribs.org Forums => Koozali SME Server 10.x => Topic started by: Fumetto on September 07, 2021, 03:36:54 AM
-
I read messages log for... my personal entertainment... :D and I found what could be a bug...
I have activated the virus scan of the emails from the server manager and...
Sep 7 03:14:06 server /etc/e-smith/web/functions/emailsettings[15387]: /home/e-smith/db/mailpatterns: OLD UmFyIRoHA=pattern|Body|UmFyIRoHA|Description|Rar archive (UmFyIRoHA)|Glob|yes|LineStart|yes|status|disabled
Sep 7 03:14:06 server /etc/e-smith/web/functions/emailsettings[15387]: /home/e-smith/db/mailpatterns: NEW UmFyIRoHA=pattern|Body|UmFyIRoHA|Description|Rar archive (UmFyIRoHA)|Glob|yes|LineStart|yes|Status|disabled|status|disabled
Perhaps in the configuration script there is an uppercase (or lowercase) to correct; I don't know where, but if someone shows me where to look, I can take a look too
-
good catch
this is a bug.
should be Status in this db. when adding the new pattern status has been used.
could you open a bug against SME 10.0 ?
-
This is because we have this:
UmFyIRoHA=pattern
Body=UmFyIRoHA
Description=Rar archive (UmFyIRoHA)
Glob=yes
LineStart=yes
status=disabled
If you update/modify that mail pattern you get this:
UmFyIRoHA=pattern
Body=UmFyIRoHA
Description=Rar archive (UmFyIRoHA)
Glob=yes
LineStart=yes
Status=disabled
status=disabled
That is because of this:
ll e-smith-email-5.6.0.old/root/etc/e-smith/db/mailpatterns/defaults/UmFyIRoHA
total 24
-rw-r--r-- 1 john john 10 Sep 7 11:52 Body
-rw-r--r-- 1 john john 24 Sep 7 11:52 Description
-rw-r--r-- 1 john john 4 Sep 7 11:52 Glob
-rw-r--r-- 1 john john 4 Sep 7 11:52 LineStart
-rw-r--r-- 1 john john 9 Sep 7 11:52 status
-rw-r--r-- 1 john john 8 Sep 7 11:52 type
That should be 'Status'.
-
Bug (https://bugs.koozali.org/show_bug.cgi?id=11690) open.