So...
What *is* the current process for upgrading a production Citadel? I mean, I don't need a step by step - but is it just point to the easyinstall from the machine that you want upgraded, and run it?
I just want to start to get my horses in order.
I'm just not sure if Citadel should be up and running or shut down while the upgrade takes place. I would assume shut down.
I'm just not sure if this portion of the Citadel administrator's guide is relevant or depreciated:
Upgrading
Any existing Citadel installation may be upgraded in place without the need to discard your existing data files.
Upgrading to a new version uses the same build procedure as compiling the program for a fresh install, except that you want to do "make upgrade" instead of "make install". This will overwrite the programs but not your data. Be sure to shut down citserver during this process! If Citadel is running while you upgrade, you may face data corruption issues.
After doing make upgrade, you should run setup again to bring your data files up to date. Please see the setup section below for more information on this.
Sat Mar 27 2021 17:41:45 EDT from Nurb432That is my understanding too.
If GCC warns of "implicit declaration" of "gettimeofday" in context_loop.c and tcp_sockets.c when compiling Webcit, inserting "#include <sys / time.h>" can prevent this.
An alternative use of "clock_gettime (CLOCK_MONOTONIC, & tx_start);" might also work.
If GCC warns of "deprecated" by "readdir_r" in icontheme.d, subst.c and static.c, this can be the alternative use of "readdir":
'while ((filedir_entry = readdir (filedir))! = NULL)
// while ((readdir_r (filedir, d, & filedir_entry) == 0) && (filedir_entry! = NULL))
... '
prevent. Webcit runs unchanged. No debug results yet.
Subject: "stripout" removes the character to the left of the left boundary ?!
"stripout" in tools.c also removes the character to the left of the left boundary for '(lb> 0)' ?!
So everything between the boundary including the boundary would be removed:
if ( (lb > 0) && (rb > lb) ) { sprintf(&str[lb], &str[rb + 1]); return 1; }
else if ( (lb == 0) && (rb > lb) ) { sprintf(str, &str[rb + 1]); return 1; }
root@secure:/home/donovan# sudo service citadel stop
root@secure:/home/donovan# sudo service webcit stop
root@secure:/home/donovan# ps -a
PID TTY TIME CMD
1297 tty2 00:00:00 gnome-session-b
1328 tty2 00:00:09 gnome-shell
1351 tty2 00:00:00 Xwayland
1430 tty2 00:00:00 gsd-power
1432 tty2 00:00:00 gsd-print-notif
1433 tty2 00:00:00 gsd-rfkill
...
wget -q -O - https://easyinstall.citadel.org/install | bash
root@secure:/home/donovan# wget -q -O - https://easyinstall.citadel.org/install | bash
Welcome to Citadel Easy Install...
...
All finished! You are ready to log in.
I saved notes this time. I've done this several times - but each time, I forget the steps I've pieced together to do this. I did have to do an apt-get update on my production box that wasn't necessary on my test server - but I felt pretty confident that if the test server worked, the upgrade wasn't going to introduce anything that would bork production, being that test is just an image of production.
A calculated gamble - but I did have a backup.
Subject: Importing gmail contacts to Citadel mail server
I have exported my gmail contacts to a .csv file. Is there a way to import them into "Contacts" in the Citadel mail server? Thanks. I'm new to Citadel, so please be gentle.
I am trying to find a way to change the default email database for Citadel. I have installed on a RPi and have a persistent nfs share to a nas which is where I'd like to store the database since I figure the usb drive I'm booting the RPi from would fill up rather quickly. I've looked at several resources and they all say that I should be prompted for the database location when I run ./setup but I only get admin user, password, ports, and auth. Any help would be greatly appreciated.
How to reset the password on the admin account with a ssh connect to the server.
I've googled and you have no idea how many things out there are called "citadel". Steam apparently have a game and it swamps the search hits for overriding passwords, even if you put a -steam qualifier.
I did find a very belated note out there that the maximum character length is 32 characters, which may or may not be outdated information. The shortest maximum I've ever seen was 9 characters on ICQ after the protocol became popular in Russia, presumably someone running the network was trying hard not to get arrested.
Anyway, I fell head-first into the trap and I don't know how to climb out. I could re-run the easy install but I thought I'd ask and then go for a walk.
Subject: Re: maximum password length exceeded on setup
Rerun the setup, or just run easy install again - which is an "in place upgrade" - it'll come to a point where it will verify the username and password for the Admin account - you can change it there. I think that will solve your issue.
How to reset the password on the admin account with a ssh connect to the server.
I've googled and you have no idea how many things out there are called "citadel". Steam apparently have a game and it swamps the search hits for overriding passwords, even if you put a -steam qualifier.
I did find a very belated note out there that the maximum character length is 32 characters, which may or may not be outdated information. The shortest maximum I've ever seen was 9 characters on ICQ after the protocol became popular in Russia, presumably someone running the network was trying hard not to get arrested.
Anyway, I fell head-first into the trap and I don't know how to climb out. I could re-run the easy install but I thought I'd ask and then go for a walk.
Hello developers,
I think the smart host feature is not working for sure.
I used a network sniffer to analyse the network traffic of my old and my new citadel server (the new one runs by the way at the time of writing the most recent software).
What was the result? The old citadel server connected to the smart host as it should and delivered the mail without any error. But the new server did nothing. Beeing configured with the same smart host connection parameters it did not even try to connect to the smart host. Please fix this issue!
Developers, when you release new software, I strongly encourage you to provide detailed release notes, too. Notes that tell us what made it into the new software. Feautures and bug fixes. I don't want to test all issues after each software release just to see if it is fixed or not. Thank you.
Happy Easter!
Markus
Hello folks,
I did some investigation concerning my smart host problem.
What I have found so far: When I send mails with my mail user agent that connects to my citadel server and this citadel server is configured to use a smart host for outgojng mails then citadel porbably does not try to connect to the smart host. It is an assumption, but underpinned by the fact that I cannot find any entries in
/var/log/syslog
/var/log/mail.log
/var/log/mail.info
and my mail service provider that provides the smart host cannot find any smart host's log entries that would show that citadel tries to connect to it.
Dear memeber of the development team: Doesn't citadel log connections to smart hosts or is it possible that the smart host feature is actually not working?
Thanks,
Markus
Thanks for the responses of you both.
I think I have to explain what I did:
My old citadel system was running for years successfully using a smart host to deliver emails. The smart host was configured according to the following pattern:
username:password@host:port
On my new citadel system I wanted to use the very same smart host. That's why I had configured the smart host the very same way. But while the old citadel system delivers mails via smart host, the new citadel system does not.
That's my problem. And that's why I was asking for the precise addressing in order to exclude any changes that could have been taking place on the road from the old to the most recent citadel system. And when I understand you right, warbaby, nothing has changed.
What I kno is that I can reach the smart host from both machines, from the older and the newer one. What I haven't done so far is asking the system administration people of the smart host if their log files can tell a story.
digbick, does your citadel system successfully deliver mails via smart host? If so, do you run the most recent webcit/citadel that is availabel via Easy Install?
warbay, when I try to find the reason for my smart host problem can I exclude any envolvement of citadel/webcit?
Thank you both a lot,
Markus
smart-host: Normally, Citadel sends outbound Internet e-mail directly to its destination. This may not be appropriate for some sites; you may require (due to local convention, security policy, or whatever) that all outbound mail be sent to an SMTP relay or forwarder. To configure this functionality, simply enter the domain name or IP address of your relay as a 'smart-host' entry.
If your relay server is running on a port other than the standard SMTP port 25, you can also specify the port number using "host:port" syntax; i.e. relay99.myisp.com:2525
Furthermore, if your relay server requires authentication, you can specify it using username:password@host or username:password@host:port syntax; for example, jsmith:pass123@relay99.myisp.com:25
A fallback host is a smart-host that is only used if mail cannot be delivered directly to its destination. This is useful if you prefer direct delivery but do not want your server queue filling up with deferred deliveries.
https://www.citadel.org/system_administration_manual.html
Hello all again,
could anybody tell me how smart host should be addressed in citadel (please be as precise as possible)?
Thanks in advance
Markus
From the Administration Menu, open:
Domain names and Internet mail configuration
Then fill the box at Smart hosts with the FQDN or IP address of your smarthost. That easy. The hard part is setting up a smarthost...
did this ever get resolved? I found a recommendation to disable the db services in the nsswitch.conf file as a possible source of problems. I believe you merely delete the instance of 'db' in the config file (create a backup beforehand). Linux Mint does set the config file to use db services. something in binding the ports at bootup.
Edit /etc/nsswitch.conf and turn off the 'db' services if you're not using them.
Running citadel on debian 9 with no other apps.
firewall is disabled and all iptable entries removed with default allow on all
citadel setup with standard ports and webcit running with 8080 and 8443
8080 and 8443 work and are open ie can configure and add users
ports 25,123,465,587,993 are all closed when testing with tcptraceroute
can someone please offer some guidance
rgds Ian
"Running Citadel Instance Costs and Stats"
Apparently I can create a room, but not delete it is under 'Computer Level'. I created 'Costs of Running Citadel" room under computer level.
Not sure if it was appropriate to do either. Trying this out for a particular 'community' in mind.
BTW - a lot of comments appear to be only this year and last, how long has this site been running. Do you purge old messages?
Thanks,
viper
Subject: Filter to move Messages marked by SpamAssassin
I have a working setup with SpamAssassin marking incoming Mail.
Now I want Citadel to move all marked EMails to a Spam-Folder before delivering them to the clients. As I understand it the way to do that is using the server-side mail filters. I just can't seem to get the filter to work.
I expected the filter to be like:
If |X-Spam-Status| |contains| |True| |Move message to| |Spam| and then |continue processing|
I derived the filter from the EMail headers generated by SpamAssassin (The required value is -10.0 to force the EMail as Spam)
X-Spam-Level: X-Spam-Status: True, score=0.8 required=-10.0
However, no EMail matches the filter. If I invert the condition (from |contains| to |does not contain|), all EMails get sent to the Spam folder, so the problem is not with in the moving messages part.
Any Ideas?
Subject: Please delete this room.
"Running Citadel Instance Costs and Stats"
At your request I have deleted the room. Thank you.
Subject: Please delete this room.
"Running Citadel Instance Costs and Stats"
At your request I have deleted the room. Thank you.
Thanks.
Subject: Please delete this room.
"Running Citadel Instance Costs and Stats"
At your request I have deleted the room. Thank you.Thanks.
I know that you know that I know that you know that I know that...
Is this an example of that?
I would like to use OpenLDAP for user auth on my citadel install because 2 other apps on the same server can support OpenLDAP for single sign on and I want it to be homogenous, I dont want users to have to create "accounts" and be bothered with the bullshit of validation just to chat and yammer on a service that I provide for free.
If anyone has sucessfully integrated a citadel with a phpBB via OpenLDAP, please talk to me. (I realize that integrating phpbb and citadel is frankenstein in nature, run with me here...)
https://www.smashbot.com has 3 different applications within the same "concept".
phpBB, My Internet Chat Room, and Citadel.
please feel free to dig around. Try to break stuff, I need beta testers.