Subject: Re: Multiple Domains on one Citadel Install
I have Citadel running on a Raspberry PI for my Dronesforhire.us and
it works great. I would like to add redpugtechsol.com to it as
well. Is that something Citadel supports and if so the best
practice for doing so as well as the certificate?
Citadel does this exceptionally well. Just add your extra domains to the server and add email addresses within that domain to your user accounts/.
Subject: Issue with Citadel Server on Debian 11.7, BDB0075 DB_PAGE_NOTFOUND: Re
Hello,
i had an issue with my running citadel server. Server was install and running 3 Month without issue.
The installation is as follow:
OS: Debian 11.7 on Raspberry
Citadel : was install with the easy install script
Installation path /usr/local/citadel
On the installation Path is mounted a USB SSD Disk: mountpoint /usr/local/citadel
Last week i had an iussue with the USB Disk and the citadel folder was empty, with running services.
After stop the services , mount the disk again and start services the issues comes up.
The issues are:
1. Fetchmail can't deliver mails to smtp service:
fetchmail: Connection errors for this poll:
name 0: connection to localhost:smtp [::1/25] failed: Connection refused.
name 1: connection to localhost:smtp [127.0.0.1/25] failed: Connection refused.
fetchmail: SMTPconnect to localhost failed
2.Login as user is possible but it takes a long time and sometime it broken with message to contact system administor. ( :-D that's me )
If i try to send a mail ( internal or external ) the Message " Failure: [object Object]" pop's up.
3. No errors are found in logfiles !
Only the following is found in syslog:
Jun 25 00:00:07 internet citserver[26404]: citserver[26404]: extensions: unix domain socket 'citadel.socket': registered.
Jun 25 00:00:07 internet citserver[26404]: citserver[26404]: extensions: unix domain socket 'citadel-admin.socket': registered.
Jun 25 00:00:07 internet citserver[26404]: extensions: unix domain socket 'citadel.socket': registered.
Jun 25 00:00:07 internet citserver[26404]: extensions: unix domain socket 'citadel-admin.socket': registered.
Jun 25 00:00:07 internet citserver[26404]: citserver[26404]: extensions: TCP port *:504: (citadel-TCP) registered.
Jun 25 00:00:07 internet citserver[26404]: extensions: TCP port *:504: (citadel-TCP) registered.
Jun 25 00:00:07 internet systemd[1]: citadel.service: Main process exited, code=killed, status=6/ABRT
Jun 25 00:00:07 internet systemd[1]: citadel.service: Failed with result 'signal'.
Jun 25 00:00:07 internet systemd[1]: citadel.service: Scheduled restart job, restart counter is at 6050.
Jun 25 00:00:07 internet citserver: libcitadel(unnumbered)
and daemon.log:
Jun 26 12:53:52 internet citserver[17746]: rssclient: using libcurl/7.74.0 OpenSSL/1.1.1n zlib/1.2.11 brotli/1.0.9 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.43.0 librtmp/2.3
Jun 26 12:53:52 internet citserver[17746]: extensions: TCP port *:25: (SMTP-MTA) registered.
Jun 26 12:53:52 internet citserver[17746]: extensions: TCP port *:465: (SMTPs-MTA) registered.
Jun 26 12:53:52 internet citserver[17746]: extensions: TCP port *:587: (SMTP-MSA) registered.
Jun 26 12:53:52 internet citserver[17746]: extensions: unix domain socket 'lmtp.socket': registered.
Jun 26 12:53:52 internet citserver[17746]: extensions: unix domain socket 'lmtp-unfiltered.socket': registered.
Jun 26 12:53:52 internet citserver[17746]: Existing database version on disk is 972
Jun 26 12:53:52 internet citserver[17746]: extensions: service DICT_TCP has been manually disabled, skipping
Jun 26 12:53:52 internet citserver[17746]: extensions: TCP port *:5222: (XMPP) registered.
Jun 26 12:53:52 internet citserver[17746]: citserver[17746]: main: changing uid to 110
Jun 26 12:53:52 internet citserver[17746]: main: changing uid to 110
Jun 26 12:53:53 internet citserver[17746]: citserver[17746]: context: session (SMTP-MTA) started from localhost (::1) uid=-1
Jun 26 12:53:53 internet citserver[17746]: context: session (SMTP-MTA) started from localhost (::1) uid=-1
Jun 26 12:53:53 internet citserver[17746]: citserver[17746]: rbl: ::1 [0.000017] none found
Jun 26 12:53:53 internet citserver[17746]: rbl: ::1 [0.000017] none found
Jun 26 12:53:53 internet citserver[17746]: citserver[17746]: db: cdb_store(8): BDB0075 DB_PAGE_NOTFOUND: Requested page not found
Jun 26 12:53:53 internet citserver[17746]: db: cdb_store(8): BDB0075 DB_PAGE_NOTFOUND: Requested page not found
Jun 26 12:53:53 internet systemd[1]: citadel.service: Main process exited, code=killed, status=6/ABRT
Jun 26 12:53:53 internet systemd[1]: citadel.service: Failed with result 'signal'.
Jun 26 12:53:53 internet systemd[1]: citadel.service: Scheduled restart job, restart counter is at 11387.
Jun 26 12:53:53 internet systemd[1]: Stopped Citadel Server.
Jun 26 12:53:53 internet systemd[1]: Started Citadel Server.
It looks like that there is an issue with the DB, right ?
How can i fix it, or can find better the issue to fix ?
Best regards
Bully1987
Subject: Re: Issue with Citadel Server on Debian 11.7, BDB0075 DB_PAGE_NOTFOUND: Re
Jun 26 12:53:53 internet citserver[17746]: db: cdb_store(8): BDB0075
DB_PAGE_NOTFOUND: Requested page not found
Sounds like your system had a bad day. Run the `database_cleanup` script and you should be fine.
Why are you running fetchmail? Citadel has mail fetching built in.
I am unable to find clear documentation regarding how to key Global email aliases. The left field is for the alias and the right field is for the "actual" email address? So:
alias1@mydomain.com jay@mydomain.com
alias2@mydomain.com jay@mydomain.com
OR should it instead be
alias1@mydomain.com myloginid
alias2@mydomain.com myloginid
OR
Should it be something else? I look forward to your feedback.
Subject: Re: Issue with Citadel Server on Debian 11.7, BDB0075 DB_PAGE_NOTFOUND: Re
Hi, thanks for the hint with the database_cleanup. How can i use the fetchmail in citadel ?
To use Citadel's fetchmail:
Edit /etc/mail/mailer.conf
Replace all instances of "/usr/libexec/sendmail/sendmail" with the location of citmail, this should be "/usr/local/citadel/citmail".
Now every script that uses "sendmail" will actually use citmail, no need to update any of your scripts.
for two months, the citadel server worked without any problems, while as of today it refused to serve. The problem that occurs is:
1. webcit does not work, it pops up a message "This program was unable to connect or stay connected to the Citadel server. Please report this problem to your system administrator." After a few page refreshes "0 Received unexpected answer from Citadel server; bailing out."
2. Occasionally, the login page will surprise, while after entering login credentials, we are back to step 1 again.
3. i added citadel mailbox to outlook, previously it worked without any problems, until today.
Citadel is installed via docker, I have already done ubuntu update & upgrade, docker upgrade and citadel install itself from docker.
Do you have any ideas perhaps? Thanks in advance
Greetings,
Sebastian
I am unable to find clear documentation regarding how to key Global
email aliases. The left field is for the alias and the right field
is for the "actual" email address? So:
You can put in anything, but the right side is usually the name of an account on the system without any domain name attached to it.
Subject: Re: Issue with Citadel Server on Debian 11.7, BDB0075 DB_PAGE_NOTFOUND: Re
Hi, thanks for the hint with the database_cleanup. How can i use the
fetchmail in citadel ?
You don't have to use fetchmail with Citadel.
Go to to the "Advanced" tab in your account and configure "remote retrieval"
You can put in any number of remote POP and/or IMAP email accounts. Citadel will periodically scan those remote mailboxes and pull in new messages.
Replace all instances of "/usr/libexec/sendmail/sendmail" with the
location of citmail, this should be "/usr/local/citadel/citmail".
That is correct, but I believe the OP was trying to pull in mail from external accounts, rather than deliver mail from scripts.
For outbound mail I like to use "nullmailer" and configure it with the identity of a real Citadel account. This has the added benefit that it doesn't have to run on the same host as the Citadel server.
Okay so I have a different issue. I resolved by rebuilding the database, but now I has another issue.
I am receiving mails, but in webcit they are completely blank and in my mail clients, my inbox is empty. I currently have over 200 messages in there. I ran /usr/local/ctdlsupport/bin/db_verify and this is the result:
db_verify: BDB0522 Page 0: metadata page corrupted
db_verify: BDB0523 Page 0: could not check metadata page
db_verify: log.0000000001: BDB0090 DB_VERIFY_BAD: Database verification failed
BDB5105 Verification of log.0000000001 failed.
How do I fix these issues?
Ah, you know what ... NEVERMIND. Restored original database from backup and started citserver with port 25 firewalled, somehow that made it not crashy.
Fri Jun 30 2023 14:48:56 EDT from LadySerenaKittyOkay so I have a different issue. I resolved by rebuilding the database, but now I has another issue.
I am receiving mails, but in webcit they are completely blank and in my mail clients, my inbox is empty. I currently have over 200 messages in there. I ran /usr/local/ctdlsupport/bin/db_verify and this is the result:
db_verify: BDB0522 Page 0: metadata page corrupted
db_verify: BDB0523 Page 0: could not check metadata page
db_verify: log.0000000001: BDB0090 DB_VERIFY_BAD: Database verification failed
BDB5105 Verification of log.0000000001 failed.How do I fix these issues?
After setting auto-purge to forget all messages over 100 days old, my message count dropped immensely and I re-opened port 25. No issues since, it's running smoothly.
Sun Jul 02 2023 12:03:53 EDT from IGnatius T FoobarSo ... is it still crashing when port 25 is open?
Subject: Re: Citadel stopped working after Ubuntu release upgrade
Eventually resolved it by using Easy Install. Apparently the Citadel version in the distro (917-4) has an issue. Installing 972 through Easy Install made averything work again.
Mon Apr 03 2023 12:37:10 EDT from IGnatius T Foobar Subject: Re: Citadel stopped working after Ubuntu release upgrade
You might try deleting all those old sysvinit scripts. Citadel has been using systemd natively for some time now.
It could be that it's getting started up wrong.
And if that doesn't fix it, you might also try ditching the Easy Install distribution entirely and just running the Docker container.
Subject: Strange rooms (folders) in IMAP cannot be deleted
Hello,
today I noticed 5 strange folders in my IMAP client with naming like 64a15d9d.0004.0000000007.foldertest1688296861342. Sometimes there is even subfolders like /foldertest in there as well. When I try to delete from IMAP client, Citadel server returns error 'NO ... no such room, or access denied'.
When accessing the account though Webcit I see the same folder as room 9999999999.64a15d9d.0003.0000000007.foldertest1688296861342\foldertest. Again, Cannot edit or delete it, Error 'Higher access is required to access this function'
Is there any way to get rid of these folders?`
Any help is much appreciated.
Subject: Re: Citadel stopped working after Ubuntu release upgrade
Eventually resolved it by using Easy Install. Apparently the Citadel version
in the distro (917-4) has an issue. Installing 972 through Easy Installmade
averything work again.
Ooooh, sorry to hear you got bit by that issue. There is a very old version of Citadel in the debian repository (and therefore in the ubuntu repository) and it is more or less unmaintained. I thought it had been removed, actually.
Happy to hear that the upgrade to a current version went cleanly for you.
Subject: Re: Strange rooms (folders) in IMAP cannot be deleted
When accessing the account though Webcit I see the same folder as room
9999999999.64a15d9d.0003.0000000007.foldertest1688296861342\foldertest.
When a folder (or the room object representing that folder) is deleted, it does not get deleted from disk immediately. Instead, it is placed into an invalid namespace (9999999999) and gets deleted the next time the auto-purger runs. This is typically overnight in your time zone.
If it doesn't go away by itself, maybe someone tried to rename it back into a valid namespace?
Hello,
bulding Citadel on Docker fails because git.citadel.org refused the connection at the git clone command:
Cloning into 'citadel'...
fatal: unable to connect to git.citadel.org:
git.citadel.org[0: 72.0.224.90]: errno=Connection refused
git.citadel.org[1: 2606:8800:21:12::4800:e05a]: errno=Cannot assign requested address
Browsing to http://git.citadel.org/ shows that a user and password is needed.
The documentation on https://www.citadel.org/docker.html links to https://code.citadel.org/ which also needs an account (that I can't register because all of my mail addresses aren't allowed).
Is this on purpose? If yes, how to build Citadel via Dockerfile?
Hello again,
another issue that I currently encounter. Thunderbird doesn't sync anymore with Citadel server even tho settings are correct (nothing has changed).
When I sync with the phone all works well. I compared the logs entries on Citadel server when syncing with phone and with PC and on phone there is a lot going on in the log while on PC it's really just only this:
citserver[7]: 118 noop
citserver[7]: ---- Looking up [NOOP] -----
citserver[7]: Found.
citserver[7]: IMAP command completed in 0.876 seconds
citserver[7]: 119 UID fetch 727286984:* (FLAGS)
citserver[7]: ---- Looking up [UID] -----
citserver[7]: ---- Looking up [UID] -----
citserver[7]: Found.
citserver[7]: IMAP command completed in 0.1413 seconds
citserver[7]: 120 UID fetch 727286380:727286983 (UID RFC822.SIZE FLAGS BODY.PEEK[HEADER.FIELDS (From To Cc Bcc Subject Date Message-ID Priority X-Priority References Newsgroups In-Reply-To Content-Type Reply-To)])
citserver[7]: ---- Looking up [UID] -----
citserver[7]: ---- Looking up [UID] -----
citserver[7]: Found.
citserver[7]: IMAP command completed in 0.1070 seconds
Does anybody know what could cause this?