if I run this in a VM or docker or whatnot I will need to dabble in port forwarding, nginx, SSL, and that will be another huge headache for me. I'd rather have this run straight out of the box so i can by-pass the networking side of it as much as possible.
Is the only way to proceed here to either install an older version of the packages, or run a container?
Subject: Re: Dependencies issue with easy install
if I run this in a VM or docker or whatnot I will need to dabble in
port forwarding, nginx, SSL, and that will be another huge headache
I understand your concern. You want server software to simply open up ports on the host machine instead of having to forward the ports through a container orchestration layer.
If you use Docker, you can launch the container with `--network host` and the container will operate in the host system's network namespace. That means you don't have to forward ports for example, from eth0 to docker0 or whatever.
The ports offered by the container simply listen on 0.0.0.0 or ::1 on the host system (assuming, of course, that there are no other programs listening on those ports).
If you really have a strong preference to use the Easy Install build, I would suggest that you extract the `apt install` command from the Easy Install script and just execute it at the command line, and work out what it takes to get those packages installed without having to launch a Citadel install with each attempt. I don't know much about your particular Linux distribution but maybe someone else here does?
Server-side mail filtering has issues.
1. SpamAssassin headers seem to be ignored.
2. One of my mail filters is a regex. It should match, but doesn't seem be working.
> If [From] Matches "([^@]+)@([0-9]+)\.([a-z]+)" [Move message to] [Spam]
Hello i just installed citadel mail server on Ubuntu 22.04 with easy-support(script) method. During installation process of Webcit asked me to enter HTTP and HTTPS ports so i provided 8080 and 8443 because on default ports already apache web server running. Citadel is installed but when doing netstat -nlp | grep webcit strange all other services are listening on TCP4 except webcit and they're listening on TCP6. I only found so long old blogs to change ports in /etc/default/websit file but no file is there. Please help me out.
Hi everyone! Can someone help me? I'm running citadel in a docker container, trying to set up user authorization via Keycloak. But when I click OpenId in the registration window and enter the url of my keycloaK, an error appears - "There is no OpenID identity provider at this location".
What do I need to do or what am I doing wrong?
In my Keycloak, I created a client with my citadel url.
Subject: WARNING: housekeeping loop has not run for x minutes
Hello Citadel devs and users,
I installed citadel recently via the easyinstall script on an old banana pi (armhf arch) running armbian on a sata ssd.
Everything is working fine but I just discovered that citserver is flooding me with log messages (every second):
| Feb 07 14:21:58 bananapi citserver[4765]: housekeeping: WARNING: housekeeping loop has not run for 5 minutes. Is something stuck?
| Feb 07 14:21:59 bananapi citserver[4765]: citserver[4765]: housekeeping: WARNING: housekeeping loop has not run for 5 minutes. Is something stuck?
After a restart of the service everything is quiet for 5 min and then the log messages kick in again.
Is this a normal behavior?
Regards,
snailbox
Hello,
my Pi's sd card is corrupt, but I have a backup of all files. I installed Raspberry Pi Os completely new and copied /usr/local/citadel and /usr/local/webcit there. I triggered the easy install script and Citadel noticed that I have my data present.
However, after installation all my users are gone. Where are they stored so I can copy them over?
BR
Hello,
my Pi's sd card is corrupt, but I have a backup of all files. I installed Raspberry Pi Os completely new and copied /usr/local/citadel and /usr/local/webcit there. I triggered the easy install script and Citadel noticed that I have my data present.
However, after installation all my users are gone. Where are they stored so I can copy them over?
BR
i dont have the answer for you ( since the rest was ok, how odd, but i have never had to restore like that. ) but might want to post in the support room instead, it might get noticed faster.
Hello,
my Pi's sd card is corrupt, but I have a backup of all files. I installed Raspberry Pi Os completely new and copied /usr/local/citadel and /usr/local/webcit there. I triggered the easy install script and Citadel noticed that I have my data present.
However, after installation all my users are gone. Where are they stored so I can copy them over?
BR
Looks like the problem is that I moved from 32 bit to 64 bit OS.
2023-02-08 01:11 from omgnoo <omgnoo@uncensored.citadel.org>
Subject: where are users stored?
Hello,
my Pi's sd card is corrupt, but I have a backup of all files. I
installed Raspberry Pi Os completely new and copied
/usr/local/citadel and /usr/local/webcit there. I triggered the easy
install script and Citadel noticed that I have my data present.
However, after installation all my users are gone. Where are they
stored so I can copy them over?
BR
I second the suggestion to try the support room. I don't know as I don't run a Citadel instance myself, but I would expect data like that to go somewhere in /var.
Sry, didn't notice I was in the wrong room. Thanks for pointing out
Hey,
I'm now running Citadel in Docker and it works fine as of now.
The original Dockerfile shows the exposed ports (https://code.citadel.org/?p=citadel-docker;a=blob_plain;f=Dockerfile;hb=HEAD) :
# Ports EXPOSE 25 80 110 119 143 443 465 504 563 587 993 995 2020 5222
I wonder what 2020 and 5222 is used for in Citadel? A netcat shows XMPP for 5222, which is for communication as far as I know. But for 2020 netcat doesn't show the service.
However, for what is Citadel using those two ports?
However, for what is Citadel using those two ports?
5222 is indeed the XMPP service; it is used to connect external chat clients to Citadel.
2020 was a "managesieve" service, but since we don't use Sieve anymore, that should be removed. Thanks for pointing it out.
2. One of my mail filters is a regex. It should match, but
doesn't seem be working.If [From] Matches "([^@]+)@([0-9]+)\.([a-z]+)" [Move message to]
Wow. Can you share what kind of strings that regex is intended to match on? I'll check it out.
Subject: Re: WARNING: housekeeping loop has not run for x minutes
After a restart of the service everything is quiet for 5 min and then
the log messages kick in again.
Well ... Citadel does all of its background processing in what we call a housekeeping loop, which some random thread will bind to periodically (typically once per minute). It does things like SMTP mail delivery, RSS fetching, mailing list processing, and other "background" tasks. Typically it finishes in a minute or two, but if something is making it get stuck, it could take longer.
After a while we start to wonder if it's stuck.
5 minutes is probably too soon to warn, and I think we'll probably make it 30 minutes in a future release.
If you want to know why it's stuck, however, go ahead and restart your server with the debugging level set to maximum (using the -x9 flag) and watch the logs. You'll see it doing various things. Watch the logs to see if it's timing out trying to connect to some external service, or something like that. Once you know, you can either resolve the problem yourself, or post here about what it is and we can try to help.
Looks like the problem is that I moved from 32 bit to 64 bit OS.
That is definitely it. Citadel databases are architecture dependent. We do provide a tool `ctdlmigrate` to move from one architecture to another, but it requires both the source and target systems to be online.
perhaps build another 32 bit machine long enough to migrate..?
It is supposed to match any message that us (supposedly) from a numeric domain, like "rawr@12345678.com". I've had quite a number of spams from such domains.
Thu Feb 09 2023 19:41:07 EST from IGnatius T Foobar2. One of my mail filters is a regex. It should match, but
doesn't seem be working.
If [From] Matches "([^@]+)@([0-9]+)\.([a-z]+)" [Move message to]
Wow. Can you share what kind of strings that regex is intended to match on? I'll check it out.