Trying to follow instructions at https://www.citadel.org/how_do_i_retrieve.html -> Webcit
First question: can the local cit server be referred to as a remote pop3? When I say no, I try to change folder settings as follows
Positioned at my room, folder Mail (INBOX) -> Advanced -> Edit or delete this room
-> Configuration. Making changes (e.g. tick File directory room, Directory name /home/pi/Mail
Upon Save changes, Webcit says "Cannot edit this room". What's required?
Some details:
citadel and webcit installed on RaspberryPi 4
User "pi" has admin privilege. Logged in locally (keyboard, mouse and screen, i.e. not ssh)
ls -ld /home/pi/Mail :: drwxrwxrwx 2 root pi 4096 Aug 15 12:53 /home/pi/Mail
Chromium-browser URL=http://192.168.0.21:8090 functioning perfectly so far.
In the end I want to access incoming mail from a place like /var/mail/pi using a basic command like cat
/hgs_at_oso
Thanks for the hint. I'm still struggling with inconsistent settings in a range of configs. fetchmail is installed. Awaiting success...
/hgs_at_oso
On my system there's no lpr. As a workaround I defined in /etc/citadel/citadel.rc
printcmd=/usr/bin/lpr
a script intended to pipe STDIN to a file
ls -l /usr/bin/lpr
-rwxr-xr-x 1 root root 77 Aug 19 09:12 /usr/bin/lpr
cat /usr/bin/lpr
#!/bin/sh
echo "This is a fake lpr"
cat >> /home/pi/Mail/container.txt
exit
ls -l /home/pi/Mail/container.txt
-rw-rw-rw- 1 pi pi 0 Aug 18 23:01 /home/pi/Mail/container.txt
Using it from a bash command line the script is working. Restarting citserver from webcit, going to a message in my Mail room and clicking print doesn't do the intended. Instead, there's a short flash of a window too short to read. Is /etc/citadel/citadel.rc the right file to edit? What do I have to do?
Thanks in advance
/hgs_at_oso
fetchmail doesn't allow me to connect to citserver (neither POP3 nor SMTP).
However, with telnet to port 110 I can list the emails and extract the content. There's a request for certificates. Who's the culprit? Have goggled around, got no clue.
telnet localhost.private 110
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
+OK Citadel POP3 server ready.
USER pi
+OK Password required for pi
PASS ********
+OK pi is logged in (17 messages)
LIST
+OK Here's your mail:
1 1709
2 1175
3 1828
4 1726
5 1205
6 1242
7 1242
8 1730
9 1166
10 1819
11 1717
12 1196
13 1233
14 826
15 864
16 1732
17 1248
.
RETR 14
+OK Message 14:
Return-Path: pi@raspberrypi
Date: Mon, 15 Aug 2022 11:43:51 +0200
To: pi@raspberrypi
Subject: hello
Message-ID: <62FA1557-00000173@mail.raspberrypi.com>
From: "pi" <pi@raspberrypi>
MIME-Version: 1.0
X-Mailer: WebCit 957
Content-type: multipart/alternative; boundary="Citadel--Multipart--bredband.tele2.se--0946--0008"
This is a multipart message in MIME format.
--Citadel--Multipart--bredband.tele2.se--0946--0008
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
hello from fingal =0A=0A=C2=A0=0A
--Citadel--Multipart--bredband.tele2.se--0946--0008
Content-type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html><body>
<p>hello from fingal</p>=0A<p>=C2=A0</p>
</body></html>
--Citadel--Multipart--bredband.tele2.se--0946--0008--
.
Subject: How to send email via citadel's SMTP service?
Hello! So far, citadel is so wonderful for our small group but, we have a website now and its two machines.. one for citadel and one for the website.. ports are set up right, mail works and all that... but we're unable to connect to the SMTP to send email from the website. is there something i need to change to allow remote connections to send email from the SMTP as a relay? i'm able to read email just fine in thunderbird and all that, but i'm not able to send it there either. is there a setting to change to be able to remotely connect to the SMTP server?
Hi,
I'm trying to send email from my citadel server to my Gmail but my outgoing mails bounce back with the error 550-[5.7.1]. My incoming emails are working fine. Any help would be highly appreciated 🙂
P.S.: I have SSL certificate enabled which I thought was the issue but it wasn't -,-
Did you ever get this fixed?
Think I may have gotten past the initial service start.
In /usr/local/citadel, ran the database cleanup script
sudo ./database_cleanup.sh
********************************
GOT:
you will need 28Mof free space.
We will attempt to look for a Citadel database in /usr/local/citadel/data
Do you want to continue? Y
DO NOT INTERRUPT THIS PROCESS.
Dumping cdb.00
db_dump: BDB5115 open: cdb.00: No such file or directory
error 1
Exiting.
utch@mail:~$ sudo journalctl -e -u citadel
Aug 23 15:38:59 mail citserver[960]: citserver[960]: rbl: 216.200.152.158 [0.000008] none found
Aug 23 15:38:59 mail citserver[960]: rbl: 216.200.152.158 [0.000008] none found
Aug 23 15:38:59 mail citserver[960]: citserver[960]: context: [ 19]SRV[SMTP-MTA] Session ended.
Aug 23 15:38:59 mail citserver[960]: context: [ 19]SRV[SMTP-MTA] Session ended.
Aug 23 15:39:05 mail citserver[960]: citserver[960]: context: session (IMAP) started from 192.168.100.15 (192.168.100.15) uid>
Aug 23 15:39:05 mail citserver[960]: context: session (IMAP) started from 192.168.100.15 (192.168.100.15) uid=-1
Aug 23 15:39:05 mail citserver[960]: citserver[960]: crypto: TLS using TLS_AES_128_GCM_SHA256 on TLSv1.3 (128 of 128 bits)
Aug 23 15:39:05 mail citserver[960]: crypto: TLS using TLS_AES_128_GCM_SHA256 on TLSv1.3 (128 of 128 bits)
Aug 23 15:39:06 mail citserver[960]: citserver[960]: <plain_auth>
Aug 23 15:39:06 mail citserver[960]: <plain_auth>
Aug 23 15:39:07 mail citserver[960]: citserver[960]: <password>
Aug 23 15:39:07 mail citserver[960]: citserver[960]: user_ops: CtdlTryPassword: no user selected
Aug 23 15:39:07 mail citserver[960]: <password>
Aug 23 15:39:07 mail citserver[960]: user_ops: CtdlTryPassword: no user selected
Aug 23 15:39:07 mail citserver[960]: citserver[960]: LOGIN...
Aug 23 15:39:07 mail citserver[960]: LOGIN...
It sounds like you did something that damaged your database. If database_cleanup.sh doesn't fix it, you should definitely restore your most recent backup.
As a matter of normal operation, please make sure you always have ample free space on your disk.
I am trying use the aerc email client with my citadel server (version 957). Aerc works fine with my gmail account (trying to get rid of that).
Aerc connects and displays the imap folders and the number of messages in each folder but does not retrieve the messages. The aerc logs are showing the following error:
2022/08/30 17:50:07 Opening INBOX
Lr7rxQ SELECT INBOX
* 173 EXISTS
* 32 RECENT
* OK [UIDVALIDITY 1] UID validity status
* OK [UIDNEXT 11222] Predicted next UID
* FLAGS (\Deleted \Seen \Answered)
* OK [PERMANENTFLAGS (\Deleted \Seen \Answered)] permanent flags
Lr7rxQ OK [READ-WRITE] SELECT completed
2022/08/30 17:50:08 ->(ui) *types.Done:*types.OpenDirectory
2022/08/30 17:50:08 (= *client.MailboxUpdate
2022/08/30 17:50:08 ->(ui) *types.DirectoryInfo
2022/08/30 17:50:08 (= *client.MailboxUpdate
2022/08/30 17:50:08 ->(ui) *types.DirectoryInfo
2022/08/30 17:50:08 (ui)<= *types.Done(32):*types.OpenDirectory(31)
2022/08/30 17:50:08 (ui)<= *types.DirectoryInfo(33)
2022/08/30 17:50:08 (ui)<= *types.DirectoryInfo(34)
2022/08/30 17:50:08 (ui)=> *types.FetchDirectoryContents
2022/08/30 17:50:08 <-(ui) *types.FetchDirectoryContents(35)
2022/08/30 17:50:08 Fetching UID list
6enMkg UID SEARCH CHARSET UTF-8 1:*
* SEARCH
6enMkg OK UID SEARCH completed
2022/08/30 17:50:08 Found 0 UIDs
2022/08/30 17:50:08 ->(ui) *types.DirectoryContents:*types.FetchDirectoryContents
2022/08/30 17:50:08 ->(ui) *types.Done:*types.FetchDirectoryContents
2022/08/30 17:50:08 (ui)<= *types.DirectoryContents(36):*types.FetchDirectoryContents(35)
2022/08/30 17:50:08 (ui)<= *types.Done(37):*types.FetchDirectoryContents(35)
I think that the message, "Found 0 UIDs" might be what is causing the problem.
I don't see any errors in the citadel syslog so I am wondering how to enable a different logging level to show citadel's debug logs?
Or if anyone has any other ideas or possible experience getting the aerc client to work?
Thank you
Hello! We run citadel with active directory and its been very wonderful but our tech wants to know if theres a way to turn up the time until next LDAP login.. the citadel server creates a login request every single second. its configured right and looks to be successfully authenticated, but it happens too often and our tech would like to be able to set it to happen every minute or every 5 minutes as we assume its for the SMTP server
Hello dear community,
I've been trying to shutdown citadel for over an hour now and i just couldn't
find anything in the documentation or FAQ, so i am asking here..
how can i stop the service from the terminal?
Thank you so much for understanding.
Kind regards,
Log4JExploit
Hello! We run citadel with active directory and its been very wonderful but our tech wants to know if theres a way to turn up the time until next LDAP login.. the citadel server creates a login request every single second. its configured right and looks to be successfully authenticated, but it happens too often and our tech would like to be able to set it to happen every minute or every 5 minutes as we assume its for the SMTP server
Just tried running citadel from docker, but webcit would exit, returning code 101. My admittidly brief search of the web documentation didn't turn anything up. Any suggestions as to where I can look?
Hello dear community,
I've been trying to shutdown citadel for over an hour now and i just couldn't
find anything in the documentation or FAQ, so i am asking here..
how can i stop the service from the terminal?
Thank you so much for understanding.
Kind regards,
Log4JExploit
Are you running on docker or bare metal?
Hello! We run citadel with active directory and its been very wonderful but our tech wants to know if theres a way to turn up the time until next LDAP login.. the citadel server creates a login request every single second. its configured right and looks to be successfully authenticated, but it happens too often and our tech would like to be able to set it to happen every minute or every 5 minutes as we assume its for the SMTP server
I'm running my citadel in my Ubuntu VM. So no docker.