Thu Dec 21 2023 09:36:31 EST from IGnatius T FoobarIf you indent by at least one space it will start a new line. That would make it easier to read. Congratulations on getting your system up and running.
OK, I have Citadel up and running in a Docker Container!
Here is my full walk though and setup so that I can ask my next question:
RP4 + 1TB SSD for storage in a special case, 32GB Micro SD boot/OS
Flashed Raspberry Pi OS 64bit to 32gb Micro SD
ssh into pi server installed drivers for case, enabled I2C for display mounted SSD, and added a mount to /etc/fstab as /storage
installed Apache2
Added Domains to /etc/apache2/sites-available by adding .conf files and enabled using a2ensite
a2dissite default to disable the default site
Set Directory root to /storage/www for all sites Getting 403 Permission Denied on those .. have not figured that out yet even though I matched the permissions on /var/www ... feel free to chime in but that is not Citadel LOL
installed PHP for Apache
Installed CertBot for Apache
Setup DNS for all my domains including MX records for mail.domain.com ran cert bot and now have SSL for all domains and mail sub domains
installed docker
installed Docker Citadel using the citadel.org/docker.html link - really easy however I modified the docker command, I removed --network host to disable network host mode, and added -p publicIP:8080:80 I did this b/c Apache was listening on port 80 now if I got to publicIP:8080 or mail.domain.com:8080 I get to Citadel!!
Excitement
Questions:
Since Citadel is running in a container, how do I get my SSL certs into Citadel? If I goto mail.domain.com it is https, but I dont see citadel b/c port, if I add the port it gives error about not being secure and I have to switch it to http then it loads
But that is why I am here; How to get SSL installed in docker citadel?
Thanks Guys!!!!
IG will tell you how to do it naively, but i use NGNIX for all my stuff and let it handle the SSL. And i use it as a reverse proxy that handles DNS name -> port translations since i only have 1 external IP at home to use.
Thu Dec 21 2023 09:46:37 EST from bobbydharrellBut that is why I am here; How to get SSL installed in docker citadel?
I updated my docker to add 2 volumes, 1 for the citadel-data, and also for the mapping of the cert folder that certbot made
sudo docker run -p 8080:80 -p 8443:443 -d --restart=unless-stopped --volume=/storage/citadel:/citadel-data --name=citadel citadeldotorg/citadel - v /etc/letsencrypt/live/<domain-for-cert>:/usr/local/citadel/keys/
I need to setup a reverse proxy, will install the mod next and see about that as I also use 1 public IP for 7 different domains LOL
this is complicated to setup, but I think will be worth it in the end.
Subject: how to unsubscribe
Hi, how do I unsubscribe from this email list?
Thanks.
Hello,
I'm using the citadel build 996 and I'm using Spamassassin to filter junk. I've realized that if I have Spamassassin add [SPAM] to the subject line that Citadel doesn't pick it up. I was wondering if there is a way to have Citadel add [SPAM] to the subject line if the spam status is true?
Thanks,
Allen
Subject: Does Citadel have support for vCard Support, CalDv, GroupDav?
Subject: Does Citadel have support for vCard, CalDv, GroupDav?
IGnatius,
I am currious if Citadel has support for vCard, CalDav, and GroupDav?
Would it be possible to add support for smartphones (VOIP)?
Thanks,
-SF-
Hi, how do I unsubscribe from this email list?
[ https://uncensored.citadel.org/listsub ]
Select "Citadel Support" and then click "unsubscribe"
I'm using the citadel build 996 and I'm using Spamassassin to filter junk.
I've realized that if I have Spamassassin add [SPAM] to the subject linethat
Citadel doesn't pick it up. I was wondering if there is a way to have
Citadel add [SPAM] to the subject line if the spam status is true?
There is an option in your system configuration screen to tell it to mark spam instead of deleting it.
This will set the "X-Spam-Status: true" header for messages detected as spam.
You can then create an inbox filter to do whatever you want with it.
Subject: Re: Does Citadel have support for vCard, CalDv, GroupDav?
I am currious if Citadel has support for vCard, CalDav, and GroupDav?
Would it be possible to add support for smartphones (VOIP)?
The current Citadel system is a fully compliant GroupDAV server. Citadel uses vCard and vCalendar as its native data formats so there should be no data conversion issues anywhere.
We do realize that GroupDAV is not as popular as CalDAV and CardDAV these days. We are building these protocols natively into the new version of our web interface (WebCit). This will be available perhaps in late 2024. It is where the vast majority of our development effort is focused right now, which is why you don't see much "visible" development happening in Citadel unless you follow the development lists.
It's kind of like an ant colony ... most of the real activity is inside where you can't see it :)
As for "VoIP support" ... I'm not sure what you mean. If you have some good ideas then by all means rin them up the flagpole! I could easily see a future where audio and video conferencing are built into room services.
Subject: Re: Does Citadel have support for vCard, CalDv, GroupDav?
i second that idea as being a nice future goal. it would 'round things out' so to speak.
Even if its not native and just some sort of integration with something like jitsi and asterisk
Mon Dec 25 2023 13:56:01 EST from IGnatius T Foobar Subject: Re: Does Citadel have support for vCard, CalDv, GroupDav?I could easily see a future where audio and video conferencing are built into room services.
Subject: Re: Does Citadel have support for vCard, CalDv, GroupDav?
Hello Team,
We have configured Citadel, we are successfully receiving mails from outside but we can not send mail to outside email address.
Please guide what have to do for it
Thanks
Not the expert here so cant help directly, but the experts are going to need a bit more info.. Such as how you are sending, errors getting back, etc. Too many possibilities just to guess.
Wed Jan 03 2024 08:10:50 EST from VirendraHello Team,
We have configured Citadel, we are successfully receiving mails from outside but we can not send mail to outside email address.
Please guide what have to do for itThanks
Hi, after upgrading to the latest citadel version all my mail adreses are useless, i have been using 5 numbers in front of @
is there a way to re-enable the possibility? tested with 4 numbers, that is the max allowed ??
pleas help
-geir
Hello,
Citadel server Version 972 suddenly starts crashing. Last entry in the syslog show strange entries like this:
Jan 9 09:28:05 [host] citserver[2665335]: citserver[2665335]: crypto: SSL_accept failed: (null)
Jan 9 09:28:05 [host] citserver[2665335]: citserver[2665335]: sysdep: client_write(50 bytes) failed: Broken pipe
Jan 9 09:28:05 [host] citserver[2665335]: crypto: SSL_accept failed: (null)
Jan 9 09:28:05 [host] citserver[2665335]: citserver[2665335]: context: session 17576 (SMTPs-MTA) ended.
Jan 9 09:28:05 [host] citserver[2665335]: sysdep: client_write(50 bytes) failed: Broken pipe
Still operational for a couple of hours apparently, followed by these shortly before the initial crash:
Jan 9 12:19:23 [host] citserver[2665335]: msgbase: message #97535 was not found
Jan 9 12:19:23 [host] citserver[2665335]: smtpclient: 97535 does not exist
Jan 9 12:19:36 [host] citserver[2665335]: free(): invalid pointer
Jan 9 12:19:36 [host] systemd[1]: citadel.service: Main process exited, code=killed, status=6/ABRT
Jan 9 12:19:36 [host] systemd[1]: citadel.service: Failed with result 'signal'.
Jan 9 12:19:37 [host] systemd[1]: citadel.service: Scheduled restart job, restart counter is at 11.
Jan 9 12:19:37 [host] systemd[1]: Stopped Citadel Server.
From then on restarts end in something like this:
Jan 9 12:20:56 [host] citserver[2699682]: citserver[2699682]: fulltext: flushing index cache to disk (0% complete)
Jan 9 12:20:56 [host] citserver[2699682]: fulltext: flushing index cache to disk (0% complete)
Jan 9 12:20:56 [host] citserver[2699682]: citserver[2699682]: db: BDB0689 cdb.09 page 13525 is on free list with type 7
Jan 9 12:20:56 [host] citserver[2699682]: citserver[2699682]: db: BDB0061 PANIC: Invalid argument
Jan 9 12:20:56 [host] citserver[2699682]: citserver[2699682]: db: PANIC: Invalid argument
Jan 9 12:20:56 [host] citserver[2699682]: db: BDB0689 cdb.09 page 13525 is on free list with type 7
Jan 9 12:20:56 [host] citserver[2699682]: db: BDB0061 PANIC: Invalid argument
Jan 9 12:20:56 [host] citserver[2699682]: db: PANIC: Invalid argument
Jan 9 12:20:56 [host] systemd[1]: citadel.service: Main process exited, code=killed, status=6/ABRT
Jan 9 12:20:56 [host] systemd[1]: citadel.service: Failed with result 'signal'.
Jan 9 12:20:56 [host] systemd[1]: citadel.service: Scheduled restart job, restart counter is at 13.
Jan 9 12:20:56 [host] systemd[1]: Stopped Citadel Server.
And eventually looping this one getting restarted by systemd:
Jan 9 12:21:27 [host] citserver[2699722]: citserver[2699722]: msgbase: message #97535 was not found
Jan 9 12:21:27 [host] citserver[2699722]: citserver[2699722]: smtpclient: 97535 does not exist
Jan 9 12:21:27 [host] citserver[2699722]: msgbase: message #97535 was not found
Jan 9 12:21:27 [host] citserver[2699722]: smtpclient: 97535 does not exist
Jan 9 12:21:29 [host] citserver[2699722]: citserver[2699722]: db: cdb_fetch(9): BDB0075 DB_PAGE_NOTFOUND: Requested page not found
Jan 9 12:21:29 [host] citserver[2699722]: db: cdb_fetch(9): BDB0075 DB_PAGE_NOTFOUND: Requested page not found
Jan 9 12:21:29 [host] systemd[1]: citadel.service: Main process exited, code=killed, status=6/ABRT
Jan 9 12:21:29 [host] systemd[1]: citadel.service: Failed with result 'signal'.
Jan 9 12:21:29 [host] systemd[1]: citadel.service: Scheduled restart job, restart counter is at 25.
Jan 9 12:21:29 [host] systemd[1]: Stopped Citadel Server.
Thought database was somehow corrupted so replaced it with latest backup and afterwards was working fine again but lost some data obviously. Only thing is now that the error related to the invalid message id is still there and logged frequently:
Jan 10 09:02:56 [host] citserver[10806]: citserver[10806]: msgbase: message #97535 was not found
Jan 10 09:02:56 [host] citserver[10806]: citserver[10806]: smtpclient: 97535 does not exist
Jan 10 09:02:56 [host] citserver[10806]: msgbase: message #97535 was not found
Jan 10 09:02:56 [host] citserver[10806]: smtpclient: 97535 does not exist
So I am wondering whether anybody has an idea on two questions:
1. What could have caused the database corruption and is there a tool that can be used to check and restore database integrity without data loss?
2. What is causing the errors related to message #97535 and how can I fix this?
Any ideas are more than welcome.
Regards,
P.
1. What could have caused the database corruption and is there a tool that
can be used to check and restore database integrity without data loss?
2. What is causing the errors related to message #97535 and how can I fix
this?
1. Upgrade to Citadel Server v993 or later. We literally spent all of last summer improving the database layer, and it is now much more robust, even in the face of server crashes or other problems.
2. You might have instructions in your outbound SMTP queue to deliver that message but the message itself doesn't exist. If you want to, you can go to the hidden room "__CitadelSMTPSpoolout__" and your queue will be in there.
If you find delivery instructions that reference that message, just delete them.