Language:
switch to room list switch to menu My folders
Go to page: First ... 28 29 30 31 [32] 33 34 35 36 ... Last
[#] Sun Jan 17 2021 22:09:14 EST from ParanoidDelusions

Subject: Re: Webcit & ports..

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

Thank you for the response. 

Not really familiar with ack/ag - but it looks like the lines you provided below uses ag to search for "webcit" finds the systemd/system webcit-https.service and then shows you what line the port numbers for webcit are defined on in that config file, right? 

ack/ag are not installed as default tools on either Debian or Raspbian. 

The syntax I have in webcit-https.service is
 
ExecStart=/usr/local/webcit/webcit -s -p443 -g/dotgoto?room=hello uds /usr/local/citadel

Is changing the "-pXXX" in webcit.http(s).service *setting* the port for webcit, or just defining what port webcit is listening on? That may have been my confusion. I may have set up webcit by running ./setup in the webcit directory and then went in and manually edited the file in systemd/system. 

Debian and Raspbian use some new scheme to configure network interfaces, ip address, DNS addresses and related settings. It isn't "if up" and "if down" anymore. I'm not real comfortable with the new scheme - but, netstat is depreciated under the new method - not installed by default, and I ran into some obstacle with installing it along the new tools last time I tried.

I did manage to evidently get it sorted so that it isn't throwing up bind errors and the landing page is working once again. I did it the Windows admin way - shutting down hard then powering back up. Not sure what that would have fixed that a reboot didn't - but it started working right after that.   

Sun Jan 17 2021 20:38:07 EST from warbaby Subject: Webcit & ports..

WEBCIT/EASYINSTALL

root@mail:/etc# ag -i webcit
systemd/system/webcit-https.service
5:ExecStart=/usr/local/webcit/webcit -s -p2001 uds /usr/local/citadel

systemd/system/webcit-http.service
5:ExecStart=/usr/local/webcit/webcit -p8080 uds /usr/local/citadel
root@ellen:/etc#

OR, there are some older init scripts in /etc/init.d/webcit # if you have a package version..

You'll have to hack the files right there.. if it's in systemd, just cp or mv to some safe place, before you mess with them.. 

cp /etc/systemd/system/webcit-http ~/webcit-backup # etc.. or

cp webcit-http webcit-http.dist # something like that..

If you're using NGINX for Proxy pass, webcit is still running on a port somewhere, but NOT 80/443! .. just think your way through it..

use 'netstat -lnp' see what is running on which port..

ParanoidDelusions, remember if you want to do the Start Page, you have to add the URL to the startup line.. [I forget the exact syntax, but you should have it.. You had it setup in the past.]



 



[#] Sun Jan 17 2021 22:46:44 EST from warbaby

Subject: Re: Webcit & ports..

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

For the sake of argument, 'ag' is synonymous with 'grep' .. [But many times faster, and 2 letters shorter, so I highly recommend apt-get install silversearcher-ag]

[Also, I know the stupid thing Debian did about changing the default interfaces from eth0 etc.. to the literal, unpredictable device name, stupid, but probably not the cause of any actual problem with cit/webcit.. also, the nonsense with /run that broke all kinds of programs... ]

> Is changing the "-pXXX" in webcit.http(s).service *setting* the port for webcit, or just defining what port webcit is listening on?

Yes, it runs on the port that you specify when you launch it, it's not in the database or a config file or anything like that.

These are the files that systemd uses to stop, start and restart a service.

webcit-http.service

webcit-https.service

If you want to hack the ports manually by editing the files.. first stop the service..

service webcit-https stop

[make a backup copy, edit webcit-https.service, change ports alter command line, log level, start page, etc.. ]

service webcit-https start

you should be good to go without rebooting...

netstat is an important tool, regardless of their "feelings" about it, just install it from the packages..

Also, thank you for your work and contributions here in the support room.

 

Sun Jan 17 2021 10:09:14 PM EST from ParanoidDelusions Subject: Re: Webcit & ports..

Thank you for the response. 

Not really familiar with ack/ag - but it looks like the lines you provided below uses ag to search for "webcit" finds the systemd/system webcit-https.service and then shows you what line the port numbers for webcit are defined on in that config file, right? 

ack/ag are not installed as default tools on either Debian or Raspbian. 

The syntax I have in webcit-https.service is
 
ExecStart=/usr/local/webcit/webcit -s -p443 -g/dotgoto?room=hello uds /usr/local/citadel

Is changing the "-pXXX" in webcit.http(s).service *setting* the port for webcit, or just defining what port webcit is listening on? That may have been my confusion. I may have set up webcit by running ./setup in the webcit directory and then went in and manually edited the file in systemd/system. 

Debian and Raspbian use some new scheme to configure network interfaces, ip address, DNS addresses and related settings. It isn't "if up" and "if down" anymore. I'm not real comfortable with the new scheme - but, netstat is depreciated under the new method - not installed by default, and I ran into some obstacle with installing it along the new tools last time I tried.

I did manage to evidently get it sorted so that it isn't throwing up bind errors and the landing page is working once again. I did it the Windows admin way - shutting down hard then powering back up. Not sure what that would have fixed that a reboot didn't - but it started working right after that.   

Sun Jan 17 2021 20:38:07 EST from warbaby Subject: Webcit & ports..

WEBCIT/EASYINSTALL

root@mail:/etc# ag -i webcit
systemd/system/webcit-https.service
5:ExecStart=/usr/local/webcit/webcit -s -p2001 uds /usr/local/citadel

systemd/system/webcit-http.service
5:ExecStart=/usr/local/webcit/webcit -p8080 uds /usr/local/citadel
root@ellen:/etc#

OR, there are some older init scripts in /etc/init.d/webcit # if you have a package version..

You'll have to hack the files right there.. if it's in systemd, just cp or mv to some safe place, before you mess with them.. 

cp /etc/systemd/system/webcit-http ~/webcit-backup # etc.. or

cp webcit-http webcit-http.dist # something like that..

If you're using NGINX for Proxy pass, webcit is still running on a port somewhere, but NOT 80/443! .. just think your way through it..

use 'netstat -lnp' see what is running on which port..

ParanoidDelusions, remember if you want to do the Start Page, you have to add the URL to the startup line.. [I forget the exact syntax, but you should have it.. You had it setup in the past.]



 



 



[#] Sun Jan 17 2021 23:36:32 EST from ParanoidDelusions

Subject: Re: Webcit & ports..

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

Thank you, again. This really helps clarify what is going on with this for me. It makes a lot more sense. 

And thanks for your patience with me as I figure out how to behave here. I know I'm sometimes more disruption than I'm worth, but I very rarely realize it when I'm in the middle of spinning around wildly in the middle of the china shop... :) 

I was just reading up on AG and was about to install it - but decided I'll give it a go on my test machine first, tomorrow. I'll do the same for netstat. 

Sun Jan 17 2021 22:46:44 EST from warbaby Subject: Re: Webcit & ports..

For the sake of argument, 'ag' is synonymous with 'grep' .. [But many times faster, and 2 letters shorter, so I highly recommend apt-get install silversearcher-ag]

 

netstat is an important tool, regardless of their "feelings" about it, just install it from the packages..

Also, thank you for your work and contributions here in the support room.

 

 


[#] Tue Jan 19 2021 16:40:30 EST from markus

Subject: How to address citadel server by caldav and carddav clients

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

Hi all,

could somebody tell me how cardav and caldav clients should correctly address a citadel server?

Thanks in advance.



[#] Tue Jan 19 2021 17:01:05 EST from markus

Subject: How to configure citadel leaving the copy of a sent email untouched?

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

Hello all,

 

when ciitadel delivers an email it places a copy of the email in the sent-items-folder. Not an exact copy, because it adds the from-address as second to-address to the copy. How can I configure citadel leaving the header untouched?

I asked the question a couple of days back but I got no answer. So I hope this time somebody has already solved the problem and can kindly tell me how :-)  In case the solution is described in any citadel document I would be glad to know where.

Thanks in advance!

 

Markus



[#] Tue Jan 19 2021 17:47:56 EST from markus

Subject: How to address smart hosts in citadel?

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

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

 



[#] Wed Jan 20 2021 13:23:34 EST from markus

Subject: Is there a routine anchoring citadel to start on system boot?

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

Dear citadel user,

Is there any setup routine that could anchor citadel as a service that starts on system boot? I'm asking because webcit starts as a service on system boot and webcit on it's own makes no sense. So I would expect that such a routine exist.

Thanks in advance and have nice day,

Markus

 



[#] Wed Jan 20 2021 13:50:37 EST from s3cr3to to Citadel_Support <room_Citadel_Support@uncensored.citadel.org>

Subject: Re: Is there a routine anchoring citadel to start on system boot?

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

I use this two scripts for /etc/init.d in debian (old)

You can use these scripts (maybe not), or someone with more knowledge
knows how to adapt it to your system.

As always, don't trust everything someone sends you, check the code of
these scripts.

Regards

(Kudos to the original author Wilfried Goesgens)


On 1/20/21 11:23 AM, markus wrote:
Dear citadel user,

Is there any setup routine that could anchor citadel as a service that
starts on system boot? I'm asking because webcit starts as a service on
system boot and webcit on it's own makes no sense. So I would expect
that such a routine exist.

Thanks in advance and have nice day,

Markus

webcit (text/plain, 6132 bytes) [View| Download]
citadel (text/plain, 5418 bytes) [View| Download]
[#] Wed Jan 20 2021 14:28:09 EST from omatnet

Subject: Is it possible to increase/bypass Email Aliases limit of 512 chars?

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

Hi,

I’m migrating to Citadel 929 with WebCit 926 from Citadel/Webcit 8.15.

I found out that in WebCit 926 “Internet e-mail aliases” (‘menu options Administration’ | ‘Add, change, delete user accounts’ | <editting user configuration>) is now limited to only 512 characters and actually saves a bit less than that. 

So it seems that we are now limited in the number of alias emails we could use per account and better use short emails... This limitation allows for only about 20 aliases, give or take. However, in previous versions of Citadel (like Citadel/Webcit 8.15 where the aliases were defined in ‘Advance’ | ‘Update Your Contact Information’) there was no such limit: I had well over 70 aliases with no problem. I’m struggling now to finish a successful migration without a majour overahll to the email aliases.

Does anyone know (warbaby?) about that and if possible, how to increase, baypass or eliminate this new limitation on number/length of email aliases?

Thank you so much for your help!



[#] Wed Jan 20 2021 14:58:35 EST from omatnet

Subject: Re: Is it possible to increase/bypass Email Aliases limit of 512 chars?

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

More information - I checked and saw that the same issue is with the latest - Citadel 930 with WebCit 927.

I hoped that it may be only a limitation with webcit CSS and not in the script itself or the database, but even when I edited the webcit CSS file (/usr/local/webcit/static/t/aide/edituser/detailview.html) to increase the limitation from 512 characters to 1024 characters, only about 480 are saved and restored, not even 512. at 480 characters with an average of 30 characters per email, you can fit only 15 email aliases (and separating commas)

I really hope you can suggest a solution!

Thanks again

Wed Jan 20 2021 14:28:09 EST from omatnet Subject: Is it possible to increase/bypass Email Aliases limit of 512 chars?

Hi,

I’m migrating to Citadel 929 with WebCit 926 from Citadel/Webcit 8.15.

I found out that in WebCit 926 “Internet e-mail aliases” (‘menu options Administration’ | ‘Add, change, delete user accounts’ | <editting user configuration>) is now limited to only 512 characters and actually saves a bit less than that. 

So it seems that we are now limited in the number of alias emails we could use per account and better use short emails... This limitation allows for only about 20 aliases, give or take. However, in previous versions of Citadel (like Citadel/Webcit 8.15 where the aliases were defined in ‘Advance’ | ‘Update Your Contact Information’) there was no such limit: I had well over 70 aliases with no problem. I’m struggling now to finish a successful migration without a majour overahll to the email aliases.

Does anyone know (warbaby?) about that and if possible, how to increase, baypass or eliminate this new limitation on number/length of email aliases?

Thank you so much for your help!



 



[#] Thu Jan 21 2021 13:10:41 EST from rgreenly

Subject: What is the webroot for citadel?

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

I am trying to install certbot and I know citadel doesn't use Apache, right? Can anyone tell me the webroot?

 

Thanks in advance.

 

-Rob



[#] Thu Jan 21 2021 13:48:13 EST from warbaby

Subject: Re: What is the webroot for citadel?

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

CItadel doesn't have a webroot, neither technically does webcit.

You need to read the docs for letsencrypt/certbot and figure out how to generate a certificate.. [outside the scope here, although if you look back far enough, I have covered it.]

Take a look at the DNS plugins.. unless you're already running a web server on the same box.

Nginx/apache, unless specifically configured FOR webcit, is only going to cause you problems.. [if you need to do it though, use nginx, and certbot nginx, and run webcit on another port.]

Watch for the next post.

 

Thu Jan 21 2021 01:10:41 PM EST from rgreenly Subject: What is the webroot for citadel?

I am trying to install certbot and I know citadel doesn't use Apache, right? Can anyone tell me the webroot?

 

Thanks in advance.

 

-Rob



 



[#] 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



[#] Wed Jan 27 2021 16:36:02 EST from markus

Subject: Looking for citadel developers.

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

Dear readers,

 

is this the right room to talk to citadel developers? If not, which room is best?

 

Regards,

 

Markus



Go to page: First ... 28 29 30 31 [32] 33 34 35 36 ... Last