Hello,
I was running Citadel build 917 because the server side mail filters work. Today I've installed the latest build (972/974) on a fresh Linux install (Fedora 38). I would like to retire my old server but without the filters it makes separating spam very difficult.
I have the following filters on my old and new server:
X-Spam-Status | contains | True | Forward to | <spam email> | continue processing
X-Spam-Status | contains | True | Discard silently | stop
On the old build they work fine. On the new build they do not work.
I started citadel with -x9 to get the full debug and here is the relative output:
Apr 28 17:42:32 xxxxxxxxxx.com citserver[47844]: citserver[47844]: inboxrules: for fladmin, messages newer than 11
Apr 28 17:42:32 xxxxxxxxxx.com citserver[47844]: citserver[47844]: inboxrules: processing rule 0 is xspamstatus
Apr 28 17:42:32 xxxxxxxxxx.com citserver[47844]: citserver[47844]: inboxrules: loading all of message 12
Apr 28 17:42:32 xxxxxxxxxx.com citserver[47844]: citserver[47844]: msgbase: CtdlFetchMessage(12, 1)
Apr 28 17:42:32 xxxxxxxxxx.com citserver[47844]: citserver[47844]: Value of field to compare is: <>
Apr 28 17:42:32 xxxxxxxxxx.com citserver[47844]: citserver[47844]: substring match: 0
Apr 28 17:42:32 xxxxxxxxxx.com citserver[47844]: citserver[47844]: exact match: 0
Apr 28 17:42:32 xxxxxxxxxx.com citserver[47844]: citserver[47844]: inboxrules: rule not activated
Any help is appreciated.
Regards,
Allen
I was able to get the source code of the current build loaded on the new system and I modified /citadel/server/modules/serv_inboxrules.c
When the rule is X-Spam-Status is selected the field 'compare_me' is now filled.
I compiled and installed the change and it worked properly.
Below is the 'diff' output of the original and new serv_inboxrules.c:
diff serv_inboxrules.c orig/serv_inboxrules.c
490,492d489
< const char *ptr,*ptr1; // Temporary variables to get X-Spam-Status
< int len;
<
620,634c617
< if(!IsEmptyStr(msg->cm_fields[eMesageText])){
< if((ptr=strstr(msg->cm_fields[eMesageText],"X-Spam-Status"))!=NULL){
< len=0;
< ptr1=ptr;
< while(*ptr1 && (*ptr1!='\r') && (*ptr1!='\n')){
< ptr1++;
< len++;
< }
< if(len && (len<SIZ)){
< memcpy(compare_me,ptr,len);
< compare_me[len]='\0';
< }
< }
< }
< break;
---
>
Regards,
Allen
Subject: Re: BUGFIX: citadel-docker/Dockerfile fix; textclient/configure fix?
Subject: BUGFIX: citadel-docker/Dockerfile fix; textclient/configure fix?
Hi there,
Long time lurker, first time caller.
Thanks for the patch! I've applied the Docker one and will look at the other one soon.
Subject: Re: How works the automatic message eraser in webcit?
I want to erase all old messages after a year. How do it works? I try itin
webcit, but it dosnt save these settings?!
Remember that you can apply these settings on an individual room, a floor, or the whole system. Check to see if you're applying it in the correct place.
Subject: Re: Addition to Server-side mail filters
I've attached the modified serv_inboxrules.c
I'm willing to contribute to the project. Let me know if and how I can
help.
Thank you! This is a bug that has been reported before. Thank you very much for the fix. I have applied the patch.
If you're interested in continuing to contribute, I've added you to the Citadel Development room for further discussion. There's a conversation right at the end with another new contributor discussing how to best get started. If you're a seasoned open source developer there will be no surprises -- all the usual stuff about submitting patches built against git master rather than the release version, how everyone likes small patches that are documented and do only one thing, etc. Hope to see you there!
Subject: unsubscribe
Hi,
at my server, is a user, what is not show, i'cant delete, i'cant create new this user. citadel say: user exist. i'was read the dokumentation, but dont found a way ...
second, i'dont know how this was happen, i'was go to sleep, and today in the morning, the mail client means no login, i'dont know what was happen in the night. the only thing was the backup was running, at this VM in proxmox.
Hi,
at my server, is a user, what is not show, i'cant delete, i'cant create new this user. citadel say: user exist. i'was read the dokumentation, but dont found a way ...
I'was found this Info, here. But when will run this automatic task to purge useraccounts?
--- message start ---
Ok, you're working really hard on a solution and your effort is very much appreciated. Thank you for that.
Let's try the text mode client. Go to your host system and enter the following commands:
cd /usr/local/citadel
./citadel
This will start the console mode client. Log in as an administrator. It will probably start showing you messages in the Lobby. You can hit S for "Stop" and you will get the room prompt (Lobby>).
The commands you're interested in now are "<.A>dmin <U>ser <E>dit" and probably "<.A>dmin <U>ser <D>elete". Type the "." (period) and then the first letter of each command (A, U, etc). At any point you can hit the "?" (question mark) to show all of the available subcommands at that level.
This is probably easier than playing around with AGUP and ASUP. The client will send those commands to the server for you.
Hint: if you delete a user, it actually only sets their access level to 0 (Deleted) and the actual deletion will be performed when the auto-purger runs.
So go ahead and try that. If these commands verify that the user really does exist, and you're able to delete that account, but the email address remains unavailable, say so here and we'll figure out whether there's an actual software problem that needs to be coded around.
---- message end ----
second, i'dont know how this was happen, i'was go to sleep, and today in the morning, the mail client means no login, i'dont know what was happen in the night. the only thing was the backup was running, at this VM in proxmox.
Hi,
at my server, is a user, what is not show, i'cant delete, i'cant create new this user. citadel say: user exist. i'was read the dokumentation, but dont found a way ...
so, now later read here and found a solution, i'was found this auto-purge process, and set a time, but the user was not delete. still i can use <.A>dmin <U>ser <E>dit
but how often i'do this, the user dont come up in the menu again. and "<.A>dmin <U>ser <D>elete" i'was do also several times. and later let run the purge process. still the user
is there. for workaround i'was create some other user, and set with global aliases all incoming emails to this user.
so, and at this point now, i'dont know ... and nothing more to read what can help. maybe someone have a idea ..
I'was found this Info, here. But when will run this automatic task to purge useraccounts?
--- message start ---
Ok, you're working really hard on a solution and your effort is very much appreciated. Thank you for that.
Let's try the text mode client. Go to your host system and enter the following commands:
cd /usr/local/citadel
./citadel
This will start the console mode client. Log in as an administrator. It will probably start showing you messages in the Lobby. You can hit S for "Stop" and you will get the room prompt (Lobby>).
The commands you're interested in now are "" and probably "<.A>dmin <U>ser <D>elete". Type the "." (period) and then the first letter of each command (A, U, etc). At any point you can hit the "?" (question mark) to show all of the available subcommands at that level.
This is probably easier than playing around with AGUP and ASUP. The client will send those commands to the server for you.
Hint: if you delete a user, it actually only sets their access level to 0 (Deleted) and the actual deletion will be performed when the auto-purger runs.
So go ahead and try that. If these commands verify that the user really does exist, and you're able to delete that account, but the email address remains unavailable, say so here and we'll figure out whether there's an actual software problem that needs to be coded around.---- message end ----
second, i'dont know how this was happen, i'was go to sleep, and today in the morning, the mail client means no login, i'dont know what was happen in the night. the only thing was the backup was running, at this VM in proxmox.
Hi,
at my server, is a user, what is not show, i'cant delete, i'cant create new this user. citadel say: user exist. i'was read the dokumentation, but dont found a way ...
this problem, i'dont found some solution, to get back a user, what is still there but not visible at webinterface. i'm using the internal user management. maybe something is here buggy ... i'dont know ...
so, now later read here and found a solution, i'was found this auto-purge process, and set a time, but the user was not delete. still i can use <.A>dmin <U>ser <E>dit
but how often i'do this, the user dont come up in the menu again. and "<.A>dmin <U>ser <D>elete" i'was do also several times. and later let run the purge process. still the user
is there. for workaround i'was create some other user, and set with global aliases all incoming emails to this user.
so, and at this point now, i'dont know ... and nothing more to read what can help. maybe someone have a idea ..
I'was found this Info, here. But when will run this automatic task to purge useraccounts?
--- message start ---
Ok, you're working really hard on a solution and your effort is very much appreciated. Thank you for that.
Let's try the text mode client. Go to your host system and enter the following commands:
cd /usr/local/citadel
./citadel
This will start the console mode client. Log in as an administrator. It will probably start showing you messages in the Lobby. You can hit S for "Stop" and you will get the room prompt (Lobby>).
The commands you're interested in now are "" and probably "<.A>dmin <U>ser <D>elete". Type the "." (period) and then the first letter of each command (A, U, etc). At any point you can hit the "?" (question mark) to show all of the available subcommands at that level.
This is probably easier than playing around with AGUP and ASUP. The client will send those commands to the server for you.
Hint: if you delete a user, it actually only sets their access level to 0 (Deleted) and the actual deletion will be performed when the auto-purger runs.
So go ahead and try that. If these commands verify that the user really does exist, and you're able to delete that account, but the email address remains unavailable, say so here and we'll figure out whether there's an actual software problem that needs to be coded around.---- message end ----
second, i'dont know how this was happen, i'was go to sleep, and today in the morning, the mail client means no login, i'dont know what was happen in the night. the only thing was the backup was running, at this VM in proxmox.
Hi,
at my server, is a user, what is not show, i'cant delete, i'cant create new this user. citadel say: user exist. i'was read the dokumentation, but dont found a way ...
Hi guys
I've installed Citadel on my Ubuntu server, it works great. Still I have two questions, hope you can help me:
As I plan to use Citadel in our AREDN Mesh Network, I don't need the login options like Yahoo, Google etc... how can I get rid of them? (where can I deactivate them, so they don't appear on the Login screen)
The screen looks like it's compressed, i.e. I don't have the "language" drop down field in the upper left corner as you see it here, but the text "en_US" shows halfway in the "summary" button. Any Idea how I could correct that? It's not sooo problematic but just looks a bit ugly.
I'm not a tech guy, especially not for Linux stuff, so if you can help me, please try do do it in a "for dummies" format ;-)
Thanks for your help in advance!
Kind regards
Kurt
i'have only the info what stay in citanews, about next versions
Hi guys
I've installed Citadel on my Ubuntu server, it works great. Still I have two questions, hope you can help me:
As I plan to use Citadel in our AREDN Mesh Network, I don't need the login options like Yahoo, Google etc... how can I get rid of them? (where can I deactivate them, so they don't appear on the Login screen)
The screen looks like it's compressed, i.e. I don't have the "language" drop down field in the upper left corner as you see it here, but the text "en_US" shows halfway in the "summary" button. Any Idea how I could correct that? It's not sooo problematic but just looks a bit ugly.
I'm not a tech guy, especially not for Linux stuff, so if you can help me, please try do do it in a "for dummies" format ;-)
Thanks for your help in advance!
Kind regards
Kurt
On the shell run sudo dpkg-reconfigure locales, and choose the languages you want.
Hi guys
I've installed Citadel on my Ubuntu server, it works great. Still I have two questions, hope you can help me:
As I plan to use Citadel in our AREDN Mesh Network, I don't need the login options like Yahoo, Google etc... how can I get rid of them? (where can I deactivate them, so they don't appear on the Login screen)
The screen looks like it's compressed, i.e. I don't have the "language" drop down field in the upper left corner as you see it here, but the text "en_US" shows halfway in the "summary" button. Any Idea how I could correct that? It's not sooo problematic but just looks a bit ugly.
I'm not a tech guy, especially not for Linux stuff, so if you can help me, please try do do it in a "for dummies" format ;-)
Thanks for your help in advance!
Kind regards
Kurt
Hello, i have installed a Citadel with no problems, all works fine, but i have little problem with SSL Cert. In ssllabs i have grade B and i need to get A :) first problem its "This server's certificate chain is incomplete. Grade caped to B.
i have copied my authorized certs to directory /usr/local/citadel/keys
what i do wrong?
Subject: Re: have little problem with SSL Cert
# ls -la /usr/local/citadel/keys
-rw------- 1 root citadel xxxx Jul xx 20xx citadel.cer
-rw------- 1 root citadel xxxx Jul xx 20xx citadel.csr
-rw------- 1 root citadel xxxx Jul xx 20xx citadel.key
Regards
Hello, i have installed a Citadel with no problems, all works fine, but i have little problem with SSL Cert. In ssllabs i have grade B and i need to get A :) first problem its "This server's certificate chain is incomplete. Grade caped to B.
i have copied my authorized certs to directory /usr/local/citadel/keys
what i do wrong?
Hi,
How do I set up an email alias for a user..
I logged in as administrator,edited the user record.. typed in alias in to email alias field,hit save. When I go back in to view my change the field is still blank?
User - user1@mydomain.com
Alias - alias@mydomain.com
Craig
at window, edit user parameter, you can setup more then one email add.
Hi,
How do I set up an email alias for a user..
I logged in as administrator,edited the user record.. typed in alias in to email alias field,hit save. When I go back in to view my change the field is still blank?
User - user1@mydomain.com
Alias - alias@mydomain.com
Craig
hi, the issue is I had a mailbox user named INFO with the email info@domain.com.
I deleted this mailbox so I could add the info@ address to another user's alias..
when I try to add this email address to the others users alias, it accepts it... however, when I go back in to user record the alias has GONE!
I assume the old INFO mailbox is still present somewhere in the backend but I cant find it... how do I clean this up?
Craig.
I fixed it by rebuilding the index :) seems there is a bug when deleting users.
hi, the issue is I had a mailbox user named INFO with the email info@domain.com.
I deleted this mailbox so I could add the info@ address to another user's alias..
when I try to add this email address to the others users alias, it accepts it... however, when I go back in to user record the alias has GONE!
I assume the old INFO mailbox is still present somewhere in the backend but I cant find it... how do I clean this up?
Craig.