Language:
switch to room list switch to menu My folders
Go to page: [1] 2 3 4 5 ... Last
↑↑↑ Old messages ↑↑↑            ↓↓↓ New messages ↓↓↓
[#] Wed Apr 19 2023 05:30:35 EDT from sharivegas

Subject: BUGFIX: citadel-docker/Dockerfile fix; textclient/configure fix?

[Reply] [ReplyQuoted] [Headers] [Print]

Hi there,

Long time lurker, first time caller.

citadel-docker/Dockerfile, line 89: --prefix=/usr needs to be --prefix=/usr/local, otherwise binary gets dumped in /usr/bin and never gets picked up by COPY in line 108.

diff --git a/Dockerfile b/Dockerfile
index 21c885d..a6f8dcc 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -86,7 +86,7 @@ RUN sh -c '\
        export CFLAGS=-I/usr/local/include && \
        export LDFLAGS=-L/usr/local/lib && \
        cd /tmp/ctdl_build/citadel/textclient && \
-       ./configure --prefix=/usr --ctdldir=/citadel_data && \
+       ./configure --prefix=/usr/local --ctdldir=/citadel_data && \
        make && make install && \
        cd /tmp && \
        rm -vfr /tmp/ctdl_build && \


Additionally, textclient configure doesn't set ETCDIR or output it to config.mk. Taking a guess that you'd want it in /usr/local as well.

diff --git a/textclient/configure b/textclient/configure
index 9a7fbec02..512541e43 100755
--- a/textclient/configure
+++ b/textclient/configure
@@ -66,6 +66,7 @@ done
 
 [ "$PREFIX" = "" ]     && PREFIX=/usr/local
 [ "$BINDIR" = "" ]     && BINDIR=${PREFIX}/bin
+[ "$ETCDIR" = "" ]     && ETCDIR=${PREFIX}/etc
 [ "$CTDLDIR" = "" ]    && CTDLDIR=/usr/local/citadel
 [ "$CFLAGS" = "" ]     && CFLAGS='-Wformat-truncation=0 -ggdb'
 [ "$LDFLAGS" = "" ]    && LDFLAGS=''
@@ -138,6 +139,7 @@ cc $tempcc -o $tempfile && {
        echo "LDFLAGS := ${LDFLAGS}"
        echo "PREFIX := ${PREFIX}"
        echo "BINDIR := ${BINDIR}"
+        echo "ETCDIR := ${ETCDIR}"
        echo "CTDLDIR := ${CTDLDIR}"
 ) >config.mk


[#] Thu Apr 20 2023 04:24:07 EDT from tabbi

Subject: How works the automatic message eraser in webcit?

[Reply] [ReplyQuoted] [Headers] [Print]

I want to erase all old messages after a year. How do it works? I try it in webcit, but it dosnt save these settings?!



[#] Fri Apr 28 2023 14:41:32 EDT from awrdgrs

Subject: Server-side mail filters

[Reply] [ReplyQuoted] [Headers] [Print]

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

 

 



[#] Sat Apr 29 2023 12:27:49 EDT from awrdgrs

Subject: Addition to Server-side mail filters

[Reply] [ReplyQuoted] [Headers] [Print]

 

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;

---

>

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.

Regards,

Allen

 

 

 

  

 

 



serv_inboxrules.c (text/x-csrc, 40358 bytes) [ View | Download ]
[#] Mon May 01 2023 23:15:44 EDT from IGnatius T Foobar

Subject: Re: BUGFIX: citadel-docker/Dockerfile fix; textclient/configure fix?

[Reply] [ReplyQuoted] [Headers] [Print]

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.

[#] Mon May 01 2023 23:16:25 EDT from IGnatius T Foobar

Subject: Re: How works the automatic message eraser in webcit?

[Reply] [ReplyQuoted] [Headers] [Print]

I want to erase all old messages after a year. How do it works? I try it
in
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.

[#] Mon May 01 2023 23:34:57 EDT from IGnatius T Foobar

Subject: Re: Addition to Server-side mail filters

[Reply] [ReplyQuoted] [Headers] [Print]

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!

[#] Tue May 02 2023 01:34:52 EDT from Renick Bell <renick@gmail.com> to Citadel Support <room_Citadel_Support@uncensored.citadel.org>

Subject: unsubscribe

[Reply] [ReplyQuoted] [Headers] [Print]

unsubscribe

--
Renick Bell
- http://renickbell.net
- http://twitter.com/renick

[#] Wed May 03 2023 03:29:36 EDT from xhabit

Subject: how i can repair a user?

[Reply] [ReplyQuoted] [Headers] [Print]

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 ...

 



[#] Wed May 03 2023 03:39:05 EDT from xhabit

Subject: Re: how i can repair a user?

[Reply] [ReplyQuoted] [Headers] [Print]

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.

Wed May 03 2023 03:29:36 EDT from xhabit Subject: how i can repair a user?

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 ...

 



 



[#] Wed May 03 2023 05:39:20 EDT from xhabit

Subject: Re: how i can repair a user?

[Reply] [ReplyQuoted] [Headers] [Print]

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 ----

 

Wed May 03 2023 03:39:05 EDT from xhabit Subject: Re: how i can repair a user?

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.

Wed May 03 2023 03:29:36 EDT from xhabit Subject: how i can repair a user?

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 ...

 



 



 



[#] Wed May 03 2023 10:42:29 EDT from xhabit

Subject: Re: how i can repair a user?

[Reply] [ReplyQuoted] [Headers] [Print]

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 ..

 

 

Wed May 03 2023 05:39:20 EDT from xhabit Subject: Re: how i can repair a user?

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 ----

 

Wed May 03 2023 03:39:05 EDT from xhabit Subject: Re: how i can repair a user?

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.

Wed May 03 2023 03:29:36 EDT from xhabit Subject: how i can repair a user?

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 ...

 



 



 



 



[#] Sat May 06 2023 01:26:25 EDT from xhabit

Subject: Re: how i can repair a user?

[Reply] [ReplyQuoted] [Headers] [Print]

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 ...

 

Wed May 03 2023 10:42:29 EDT from xhabit Subject: Re: how i can repair a user?

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 ..

 

 

Wed May 03 2023 05:39:20 EDT from xhabit Subject: Re: how i can repair a user?

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 ----

 

Wed May 03 2023 03:39:05 EDT from xhabit Subject: Re: how i can repair a user?

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.

Wed May 03 2023 03:29:36 EDT from xhabit Subject: how i can repair a user?

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 ...

 



 



 



 



 



[#] Mon May 08 2023 06:55:52 EDT from hb9xcl

Subject: two questions...

[Reply] [ReplyQuoted] [Headers] [Print]

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

 



[#] Mon May 08 2023 07:08:05 EDT from xhabit

Subject: Re: two questions...

[Reply] [ReplyQuoted] [Headers] [Print]

i'have only the info what stay in citanews, about next versions

 

Mon May 08 2023 06:55:52 EDT from hb9xcl Subject: two questions...

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

 



 



[#] Tue May 09 2023 00:44:48 EDT from yjlion

Subject: Re: two questions...

[Reply] [ReplyQuoted] [Headers] [Print]

On the shell run sudo dpkg-reconfigure locales, and choose the languages you want. 

Mon May 08 2023 06:55:52 AM EDT from hb9xcl Subject: two questions...

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

 



 



[#] Tue May 09 2023 05:43:19 EDT from sebbsky

Subject: have little problem with SSL Cert

[Reply] [ReplyQuoted] [Headers] [Print]

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?



[#] Tue May 09 2023 12:22:44 EDT from s3cr3to to Citadel_Support <room_Citadel_Support@uncensored.citadel.org>

Subject: Re: have little problem with SSL Cert

[Reply] [ReplyQuoted] [Headers] [Print]

I think the ownership should include "citadel":

# 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

On 5/9/23 03:43, sebbsky wrote:

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?




[#] Mon May 15 2023 13:43:35 EDT from cjonline

Subject: Email alias.

[Reply] [ReplyQuoted] [Headers] [Print]

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



[#] Tue May 16 2023 02:38:36 EDT from xhabit

Subject: Re: Email alias.

[Reply] [ReplyQuoted] [Headers] [Print]

at window, edit user parameter, you can setup more then one email add. 

 

Mon May 15 2023 13:43:35 EDT from cjonline Subject: Email alias.

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



 



Go to page: [1] 2 3 4 5 ... Last