Language:

en_US

switch to room list switch to menu My folders
Go to page: 1 [2] 3 4 5 6 ... Last
[#] Tue Dec 19 2023 20:15:02 UTC from bobbydharrell

[Reply] [ReplyQuoted] [Headers] [Print]

Would it be best to use docker? Is there a how-to for Citadel and/or apache for setting them up in containers?



[#] Tue Dec 19 2023 21:32:28 UTC from Nurb432

Subject: Re: Setup Questions

[Reply] [ReplyQuoted] [Headers] [Print]

Docker instructions.. just add the extra bit of parameters above to move it to SSD.

 

https://www.citadel.org/docker.html



[#] Tue Dec 19 2023 21:37:17 UTC from Nurb432

Subject: Re: Setup Questions

[Reply] [ReplyQuoted] [Headers] [Print]

Unrelated to citadel, i have a board where i boot from SD, then have it 'switch' the root over to my SSD.  Device wont support booting from SSD, but this way other than the slower boot time, it 'runs' from SSD and get the speed where it matters.

If you cant get anything else to work as far as the PI booting properly, hit me up over in the unix room or something and ill get you instructions on how i did it ( its not hard, and i have a script that will do the grunt work )

Tue Dec 19 2023 15:14:17 EST from bobbydharrell Subject: Re: Setup Questions

 

I am running a PI4, but it is a board or kit that adds the SSD, so when ever I flash the SD, I think have to mount the SSD in the /etc/fstab, so I am unsure how I would install the OS and boot from the SSD.

 



[#] Wed Dec 20 2023 03:15:39 UTC from IGnatius T Foobar

Subject: Re: Setup Questions

[Reply] [ReplyQuoted] [Headers] [Print]

Docker instructions.. just add the extra bit of parameters above to
move it to SSD.

I believe he said it was a new installation. If that is the case, there's no need to move anything. Just specify the name of the directory when starting the container, and you're off to the races.

Docker is really the best way to run Citadel these days. Full instructions are at [ https://www.citadel.org/docker.html ] and should cover most use cases, at least those which would be applicable to someone new to containers. For those who are experts with containers, there's a section later on in the document explaining the container's parameters and the seasoned expert will already know what to do.

I'm in the process of trying to acquire some new server hardware in my data center. When I do, I'm going to try to run pretty much everything in containers using a Kubernetes cluster.

[#] Wed Dec 20 2023 03:21:47 UTC from IGnatius T Foobar

Subject: Re: Setup Questions

[Reply] [ReplyQuoted] [Headers] [Print]

For the symlink option (ln) would this be correct?

ln -s citadel-path mounted-drive-path

Something like that. If you already have Citadel installed, you'll want to do something like this. (Obviously make sure Citadel Server is STOPPED while it's moving.) Let's say your SSD is mounted as /ssd and you already have Citadel Server installed to /usr/local/citadel. You could do this:

cd /usr/local
mv -v citadel /ssd
ln -s /ssd/citadel /usr/local/citadel

This will move the contents of /usr/local/citadel to /ssd/citadel and then make /usr/local/citadel a symbolic link to /ssd/citadel.

If the whole system is new, however, assuming you don't have the means to use the SSD as the system drive, you might consider simply mounting your SSD as /usr/local and then installing Citadel using any of the normal methods.

[#] Wed Dec 20 2023 03:24:02 UTC from IGnatius T Foobar

Subject: Re: Setup Questions

[Reply] [ReplyQuoted] [Headers] [Print]

Unrelated to citadel, i have a board where i boot from SD, then have
it 'switch' the root over to my SSD.  Device wont support booting
from SSD, but this way other than the slower boot time, it 'runs'
from SSD and get the speed where it matters.

When the Pi first came out, I had a Pi 1 that I was using as a small NAS.
I moved the root filesystem over to an external drive and just kept /boot on the SD card. It worked pretty well, but the procedure to get there wasn't exactly entry level simple.

[#] Wed Dec 20 2023 14:22:07 UTC from bobbydharrell

[Reply] [ReplyQuoted] [Headers] [Print]

Thank you all for the detailed and fast answers!!! You have given me much knowledge 



[#] Thu Dec 21 2023 14:02:54 UTC from bobbydharrell

[Reply] [ReplyQuoted] [Headers] [Print]

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 mount to /etc/fstab as /storage installed Apache2 Added Domains to /etc/apache2/sites-available by adding .conf files a2dissite default to disable 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 suing the citadel.org/docker.html link - really easy however I modified the docker command, I removed --network host to disable network host mode, adn 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 I would prefer to NOT do the 8080, and since I disable the default site in Apache maybe I can, I dont know. But that is why I am here How to get SSL installed in docker citadel? How to make mail.domain.com go to port 8080 by default? Do I need the 8080? Thanks Guys!!!!

[#] Thu Dec 21 2023 14:04:28 UTC from bobbydharrell

[Reply] [ReplyQuoted] [Headers] [Print]

I had it all formatted for an easy ready and something went bonkerd ... want me to repost it?



[#] Thu Dec 21 2023 14:36:31 UTC from IGnatius T Foobar

[Reply] [ReplyQuoted] [Headers] [Print]

If 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.

[#] Thu Dec 21 2023 14:42:48 UTC from bobbydharrell

[Reply] [ReplyQuoted] [Headers] [Print]

I figured out how to do a URL redirect in the DNS settings for my domains to get to port 8080!!



[#] Thu Dec 21 2023 14:46:37 UTC from bobbydharrell

[Reply] [ReplyQuoted] [Headers] [Print]

 

Thu Dec 21 2023 09:36:31 EST from IGnatius T Foobar
If 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!!!!



[#] Thu Dec 21 2023 23:00:24 UTC from Nurb432

[Reply] [ReplyQuoted] [Headers] [Print]

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 bobbydharrell
But that is why I am here; How to get SSL installed in docker citadel?

 



[#] Fri Dec 22 2023 02:11:50 UTC from bobbydharrell

[Reply] [ReplyQuoted] [Headers] [Print]

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/

 
still does not show as SSL .. I looked up the paths for citadel online as I cannot browse the container LOL

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

Oh, I also added UFW firewall and opened the ports that should be needed for both SMTP and WebServer regular and SSL

this is complicated to setup, but I think will be worth it in the end.
 
On a positive, I can email users on citadel, user1 to user2 etc, but I cannot email user external to citadel, when I enter the email address Citadel throws an error that user does not exist ... have not figured that one out yet


[#] Fri Dec 22 2023 04:46:03 UTC from juanhernandez98 <juanhernandez98@gmail.com> to <room_Citadel_Support@uncensored.citadel.org>

Subject: how to unsubscribe

[Reply] [ReplyQuoted] [Headers] [Print]

Hi, how do I unsubscribe from this email list?

 

Thanks.

 



[#] Fri Dec 22 2023 17:52:23 UTC from awrdgrs

Subject: Adding [SPAM] to subject

[Reply] [ReplyQuoted] [Headers] [Print]

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

 

 

 



[#] Sun Dec 24 2023 18:11:36 UTC from Shadowfire

Subject: Does Citadel have support for vCard Support, CalDv, GroupDav?

[Reply] [ReplyQuoted] [Headers] [Print]



[#] Sun Dec 24 2023 18:15:28 UTC from Shadowfire

Subject: Does Citadel have support for vCard, CalDv, GroupDav?

[Reply] [ReplyQuoted] [Headers] [Print]

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-



[#] Mon Dec 25 2023 18:49:25 UTC from IGnatius T Foobar

Subject: Re: how to unsubscribe

[Reply] [ReplyQuoted] [Headers] [Print]

Hi, how do I unsubscribe from this email list?

[ https://uncensored.citadel.org/listsub ]

Select "Citadel Support" and then click "unsubscribe"

Go to page: 1 [2] 3 4 5 6 ... Last