Language:
switch to room list switch to menu My folders
Go to page: First ... 31 32 33 34 [35]
[#] Thu Jan 21 2021 14:20:48 EST from warbaby

Subject: Automating Let's Encrypt Certs For Citadel & webCit

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

I have written this 3 times in the past 20 minutes. [Note to future webcit.. "use LocalStorage']

Generate certificate with certbot .. [5 methods, plus DNS plugins, you have to figure that out for your situation.]

cert appears in /etc/letsencrypt/live/mydomain.org

download & run the attached script..

It takes 1 argument.. the fqdn matching your cert (or at least, the name of the directory that it's in..]

run as root

./citadel-cert-import.sh mydomain.org

you can also cron it.

crontab -e

# Import certs to citadel & webcit

0 0 1 * * /path/to/citadel-cert-import.sh mydomain.org > /dev/null 2>&1

save and exit..

please note, you will also have to restart to take effect..

service citadel restart && service webcit-https restart

This is not what you do to renew your certificate! 

That might be simple, or complex..

it might only be

certbot renew  # wherever it is, that's what you cron also..

[but it depends on your setup..]

But this will keep

/usr/local/citadel/keys

and

/usr/local/webcit/keys

in sync with /etc/letsencrypt/live/mydomain.org

 



citadel-cert-inport.sh (application/x-shellscript, 947 bytes) [ View | Download ]
[#] Thu Jan 21 2021 18:17:07 EST from dunkas

Subject: email recipient

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

Hi, Citadel on my raspberry works very well, but there is a little problem ... it add the sender's address to the recipient's,  how can this be solved ?



[#] Fri Jan 22 2021 13:43:02 EST from nibles0522

Subject: Easy Installer on Raspberry Pi 4B

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

Hi there when trying to use the easy installer on a Pi 4B, I got the following abort error:

hostinfo               =
/bin/universe          =
/usr/bin/arch -k       =
/bin/arch              =
/usr/bin/oslevel       =
/usr/convex/getsysinfo =

UNAME_MACHINE = aarch64
UNAME_RELEASE = 5.4.83-v8+
UNAME_SYSTEM  = Linux
UNAME_VERSION = #1379 SMP PREEMPT Mon Dec 14 13:15:14 GMT 2020
configure: error: cannot guess build type; you must specify one
 Citadel Easy Install is aborting.
 The last few lines above this message may indicate what went wrong.
 Linux Debian 10.7( 5.4.83-v8+ aarch64)

I'd be grateful if you will advise how to proceed.

Paul



[#] Sun Jan 24 2021 16:19:47 EST from markus

Subject: Re: Easy Installer on Raspberry Pi 4B

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

Hello Paul,

Most likely 'config.guess' and 'config.sub' that are used by easy install are too old to guess your particular system.
I had the same problem and I mentioned that here in the forum hoping that any developer would read it and decide to renew these files.
But this didn't take place in the past, maybe it will in the future. --> Dear developers, if one of you would read my post, I would be glad to talk to you. Please unhide and say hello to us :-)

In the meantime let me talk about your problem. I assume you have downloaded 'install' from 'http://easyinstall.citadel.org', renamed it to 'install.sh', gave 'install.sh' execution rights and
run 'install.sh' and after a while the installation process stopped with the error message you have posted.

Well, when 'install.sh' runs it downloads some archives from 'http://easyinstall.citadel.org' which contain all files that are necessary for the installation process. And in some of those archives
you should replace 'config.guess' and 'config.sub' in order to solve your problem.

So please follow the instructions bellow:
- Download the actual 'config.guess' and 'config.sub' from
  'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess' and
  'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub', respectively.
- Download 'libcitadel-easyinstall.tar.gz', 'citadel-easyinstall.tar.gz' and 'webcit-easyinstall.tar.gz' from 'http://easyinstall.citadel.org'.
- Unpack 'libcitadel-easyinstall.tar.gz', 'citadel-easyinstall.tar.gz' and 'webcit-easyinstall.tar.gz' to 'libcitadel', 'citadel' and 'webcit'.
- Replace 'config.guess' and 'config.sub' in 'libcitadel', 'citadel' and 'webcit'. You will find 'config.guess' and 'config.sub' directly bellow 'citadel' and 'webcit' but in 'libcitadel' bellow the subdirectory 'conftools'.
- Pack 'libcitadel', 'citadel' and 'webcit' to 'libcitadel-easyinstall.tar.gz', 'citadel-easyinstall.tar.gz' and 'webcit-easyinstall.tar.gz'.

Now you should persuade 'install.sh' to use your modified archives instead of downloading them from 'http://easyinstall.citadel.org'. Therefore please following the instructions bellow:

a) Load 'install.sh' by an editor of your choice.

b) -Search for
 
    ########################################################################
    # Install libcitadel
    ########################################################################'

   -Look sixteen rows bellow for the following string:

    FILENAME=$LIBCITADEL_SOURCE; download_this

   -Assuming your modified 'libcitadel-easyinstall.tar.gz' resides in /root/citadel you should replace the string from above by

    FILENAME=$LIBCITADEL_SOURCE; cp /root/citadel/$FILENAME . # download_this

c) -Search for
    
    ########################################################################
    # Install Citadel Server
    ########################################################################

   -Look thiry rows bellow for the following string:
    
    FILENAME=$CITADEL_SOURCE; download_this

   -Assuming your modified 'citadel-easyinstall.tar.gz' resides in /root/citadel you should replace the string from above by

    FILENAME=$CITADEL_SOURCE; cp /root/citadel/$FILENAME . # download_this

d) -Search for

    ########################################################################
    # Install WebCit
    ########################################################################

   -Look twenty rows bellow for the following string:
    
    FILENAME=$WEBCIT_SOURCE; download_this

   -Assuming your modified 'webcit-easyinstall.tar.gz' resides in /root/citadel you should replace the string from above by

    FILENAME=$WEBCIT_SOURCE; cp /root/citadel/$FILENAME . # download_this
    
When you performe all these steps from above I would assume that the installation process will then run smootly for you, at least it will not stop anymore due to old 'config.guess' and 'config.sub' files.

Good luck and have fun

Markus

 

Fri Jan 22 2021 13:43:02 EST from nibles0522 Subject: Easy Installer on Raspberry Pi 4B

Hi there when trying to use the easy installer on a Pi 4B, I got the following abort error:

hostinfo               =
/bin/universe          =
/usr/bin/arch -k       =
/bin/arch              =
/usr/bin/oslevel       =
/usr/convex/getsysinfo =

UNAME_MACHINE = aarch64
UNAME_RELEASE = 5.4.83-v8+
UNAME_SYSTEM  = Linux
UNAME_VERSION = #1379 SMP PREEMPT Mon Dec 14 13:15:14 GMT 2020
configure: error: cannot guess build type; you must specify one
 Citadel Easy Install is aborting.
 The last few lines above this message may indicate what went wrong.
 Linux Debian 10.7( 5.4.83-v8+ aarch64)

I'd be grateful if you will advise how to proceed.

Paul



 



[#] Sun Jan 24 2021 17:05:47 EST from markus

Subject: Fetching mails from pop3 accounts works only partly. Why?

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

Dear developers and other knowing people here,

I inted to configure an accont of my citadel system in such a way that it fetches emails from a pop3 account of a different mailing system.

Therefore I did the following with webcit:

a) I went to 'rooms' and chose 'Mail (inbox)'.

b) I went to 'Advanced', then to 'edit or delete this room' and finaly to 'remote retrieval'.

c) Then I add 'remote host', 'user name', 'password', 'keep messages on server' and 'interval' of the pop3 account that I would fetch emails from and store them in 'Mail (inbox)' of the account of my citadel system.

Now that I have observed the behaviour of my citadel system for a while I can report that it works, but only partly. That means some mails get downloaded, some not. Why is that? Is the fetch process faulty or are there other explanations for that behavior?

I would be glad to here from you. Any advice is welcome.

Regards

Markus



[#] Mon Jan 25 2021 06:23:48 EST from nibles0522

Subject: Re: Easy Installer on Raspberry Pi 4B

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

Hi there Markus, many thanks for your very detailed response. I will give it a go and report back. It kind of takes the Easy out of Easy Installer though doesn't it!

Paul



[#] Mon Jan 25 2021 08:15:07 EST from nibles0522

Subject: Re: Easy Installer on Raspberry Pi 4B

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

Hi Markus,

I thinks Citadel has been successfully installed following your instructions, for which, thank you very much! I say, I think, because there were quite a few warning messages about truncations and the like, but I did get a successful completion message in the end.

I'm now trying to muddle my way through the documentation. This is my first attempt at any kind of mail server so wish me luck!

Thanks again.

Paul



Go to page: First ... 31 32 33 34 [35]