Language:
switch to room list switch to menu My folders
Go to page: 1 2 3 4 5 [6] 7 8 9 10 ... Last
[#] Tue Mar 08 2022 15:30:58 EST from erol.kahraman

Subject: Re: LDAP Users

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

After bt command;

 

#0  0x00005555555e328f in derive_fullname_from_ldap_result (fullname=0x7ffff46bd440 "", fullname_size=256, ldserver=0x7ffff0005400,
    search_result=0x7ffff0005f20) at ldap.c:52
#1  0x00005555555e504a in CtdlSynchronizeUsersFromLDAP () at ldap.c:595
#2  0x000055555558af55 in do_housekeeping () at housekeeping.c:152
#3  0x0000555555575bca in worker_thread (blah=0x0) at sysdep.c:1059
#4  0x000055555559322e in CTC_backend (supplied_start_routine=0x555555575296 <worker_thread>) at threads.c:117
#5  0x00007ffff7bf1609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007ffff776f163 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Tue Mar 08 2022 15:26:29 EST from erol.kahraman Subject: Re: LDAP Users

...

citserver[50602]: ldap: synchronizing Citadel user database from LDAP
citserver[50602]: sysdep: new client socket 36
citserver[50602]: context: session (citadel-UDS) started from  () uid=0
citserver[50602]: [(not logged in)(0)] MSGP application/x-citadel-delivery-list|text/calendar|application/ics|text/vnote|text/x-vcard|text/vcard|text/html|text/plain|text/x-citadel-variformat|text/x-markdown
citserver[50602]: [(not logged in)(0)] USER admin
citserver[50602]: user_ops: cmd_user(admin)
citserver[50602]: user_ops: CtdlLoginExistingUser(admin)
citserver[50602]: ldap: search: (&(objectclass=posixAccount)(cn=admin))
citserver[50602]: ldap: search: (objectClass=inetOrgPerson)
citserver[50602]: ldap: No such user was found.
citserver[50602]: [(not logged in)(0)] MESG hello
citserver[50602]: ldap: 1 entries returned
citserver[50602]: ldap: found uid=erol.kahraman,cn=users,cn=accounts,dc=test,dc=io

Thread 2 "citserver" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff46be700 (LWP 50607)]
0x00005555555e328f in derive_fullname_from_ldap_result (fullname=0x7ffff46bd440 "", fullname_size=256, ldserver=0x7ffff0005400,
    search_result=0x7ffff0005eb0) at ldap.c:52
52      ldap.c: No such file or directory.

Tue Mar 08 2022 15:17:31 EST from IGnatius T Foobar Subject: Re: LDAP Users
What could be the problem? How can i get more informative output to
solve the problem?

Run it in the debugger and get a backtrace.

gdb ./citserver
run -x9

[ wait for it to crash... ]

bt

[ post the output ]

 



 



[#] Wed Mar 09 2022 09:11:12 EST from IGnatius T Foobar

Subject: Re: LDAP Users

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


Ok, that's absolutely perfect. Give me some time to check what's happening there.

[#] Thu Mar 10 2022 12:49:28 EST from IGnatius T Foobar

Subject: Re: LDAP Users

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


This error shouldn't happen, because the code at line 52 of ldap.c is actually checking to make sure it isn't trying to work with a NULL value. It's kind of weird.

Can you tell me what version of Citadel you're using, and give us a brief idea of what your LDAP schema looks like? In particular, I am interested in knowing what attribute holds the "display name" of the user. I suspect "cn" isn't the right one, but that's what we're using.

[#] Thu Mar 10 2022 14:11:20 EST from erol.kahraman

Subject: Re: LDAP Users

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

Hi,

I reinstalled my citadel server and LDAP server (FreeIPA) with different domain name. The result didn't change.

I used easy install to install citeadel server. From "About this server" i see that information: "You are connected to Citadel Server, running Citadel 949 with WebCit 949, server build 949 and located in (null). Your system administrator is ."

When i run ldapsearch command i got the following output:

root@mail:/usr/local/citadel# ldapsearch -x -b "cn=users,cn=accounts,dc=kovan,dc=io" -h ldap.kovan.io -D "uid=admin,cn=users,cn=accounts,dc=kovan,dc=io" -W uid=erol.kahraman
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base <cn=users,cn=accounts,dc=kovan,dc=io> with scope subtree
# filter: uid=erol.kahraman
# requesting: ALL
#

# erol.kahraman, users, accounts, kovan.io
dn: uid=erol.kahraman,cn=users,cn=accounts,dc=kovan,dc=io
givenName: Erol
sn: Kahraman
uid: erol.kahraman
cn: Erol Kahraman
displayName: Erol Kahraman
initials: EK
gecos: Erol Kahraman
krbPrincipalName: erol.kahraman@KOVAN.IO
objectClass: top
objectClass: person
objectClass: organizationalperson
objectClass: inetorgperson
objectClass: inetuser
objectClass: posixaccount
objectClass: krbprincipalaux
objectClass: krbticketpolicyaux
objectClass: ipaobject
objectClass: ipasshuser
objectClass: ipaSshGroupOfPubKeys
objectClass: mepOriginEntry
objectClass: ipantuserattrs
loginShell: /bin/sh
homeDirectory: /home/erol.kahraman
mail: erol.kahraman@kovan.io
krbCanonicalName: erol.kahraman@KOVAN.IO
ipaUniqueID: 49295cfa-9f12-11ec-a5bd-000c29753a2b
uidNumber: 986400003
gidNumber: 986400003
krbPasswordExpiration: 20220308190221Z
krbLastPwdChange: 20220308190221Z
krbExtraData:: AAI9qCdicm9vdC9hZG1pbkBLT1ZBTi5JTwA=
mepManagedEntry: cn=erol.kahraman,cn=groups,cn=accounts,dc=kovan,dc=io
ipaNTSecurityIdentifier: S-1-5-21-2385968081-1163531236-3748134971-1003
memberOf: cn=admins,cn=groups,cn=accounts,dc=kovan,dc=io
memberOf: cn=Replication Administrators,cn=privileges,cn=pbac,dc=kovan,dc=io
memberOf: cn=Add Replication Agreements,cn=permissions,cn=pbac,dc=kovan,dc=io
memberOf: cn=Modify Replication Agreements,cn=permissions,cn=pbac,dc=kovan,dc=
 io
memberOf: cn=Read Replication Agreements,cn=permissions,cn=pbac,dc=kovan,dc=io
memberOf: cn=Remove Replication Agreements,cn=permissions,cn=pbac,dc=kovan,dc=
 io
memberOf: cn=Modify DNA Range,cn=permissions,cn=pbac,dc=kovan,dc=io
memberOf: cn=Read PassSync Managers Configuration,cn=permissions,cn=pbac,dc=ko
 van,dc=io
memberOf: cn=Read Replication Changelog Configuration,cn=permissions,cn=pbac,d
 c=kovan,dc=io
memberOf: cn=Write Replication Changelog Configuration,cn=permissions,cn=pbac,
 dc=kovan,dc=io
memberOf: cn=Modify PassSync Managers Configuration,cn=permissions,cn=pbac,dc=
 kovan,dc=io
memberOf: cn=Read LDBM Database Configuration,cn=permissions,cn=pbac,dc=kovan,
 dc=io
memberOf: cn=Add Configuration Sub-Entries,cn=permissions,cn=pbac,dc=kovan,dc=
 io
memberOf: cn=Read DNA Range,cn=permissions,cn=pbac,dc=kovan,dc=io
memberOf: cn=Host Enrollment,cn=privileges,cn=pbac,dc=kovan,dc=io
memberOf: cn=System: Add krbPrincipalName to a Host,cn=permissions,cn=pbac,dc=
 kovan,dc=io
memberOf: cn=System: Enroll a Host,cn=permissions,cn=pbac,dc=kovan,dc=io
memberOf: cn=System: Manage Host Certificates,cn=permissions,cn=pbac,dc=kovan,
 dc=io
memberOf: cn=System: Manage Host Enrollment Password,cn=permissions,cn=pbac,dc
 =kovan,dc=io
memberOf: cn=System: Manage Host Keytab,cn=permissions,cn=pbac,dc=kovan,dc=io
memberOf: cn=System: Manage Host Principals,cn=permissions,cn=pbac,dc=kovan,dc
 =io
memberOf: cn=ipausers,cn=groups,cn=accounts,dc=kovan,dc=io

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1

I think this output will give you an information about LDAP schema.



[#] Thu Mar 10 2022 18:38:49 EST from bsdrob

Subject: Timestamps are wrong

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

I'm sure it's been answered before, but I've found no way to search yet. New Citadel set-up on new Debian install. Both have time zones correctly set (CST), yet every post and calendar event displays in UTC. For example, I post at 5pm and the post is stamped 22:00, or a calendar entry set for 10am displays at 15:00. 



[#] Fri Mar 11 2022 05:35:02 EST from s3cr3to

Subject: can't reach port 25 from outside & where are the logs?

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

LTDR;

How can I see if there is SMTP activity from outside to the server in this version with Docker?

A couple of days ago my citadel server crash.
Now I have a LXC debian+Turnkey/Docker + Citadel container.
I managed to send mails to the outside (gmail).
Even from a Linux terminal from home.
Turnkey had postfix enabled and prevented Citadel from using port 25, I disabled the postfix service and locally I can telnet to port 25.

From home I can telnet to the secure ports to send mail abroad from Citadel.

Two problems:
1) From outside I can't telnet to port 25 (Linux terminal).
2) From gmail I cannot send mails to this Citadel.

Note: I have another Citadel server (old) which can send mail to this new server. Of course, both are on the same NETWORK segment.
Note2: From Citadel itself I can send between internal accounts without any problem and abroad.

Note: I added a self-signed certificate without any problem.
Does it sound like this is a problem with my Firewall?

I have already 3 days trying to configure (several mail servers) and definitely Citadel is the simplest to implement. But this problem just stopped me.


Regards



[#] Fri Mar 11 2022 22:16:19 EST from s3cr3to

Subject: Re: can't reach port 25 from outside & where are the logs?

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

Solved, the problem was our firewall.

Regards

Fri Mar 11 2022 05:35:02 AM EST from s3cr3to Subject: can't reach port 25 from outside & where are the logs?

LTDR;

How can I see if there is SMTP activity from outside to the server in this version with Docker?

...

Regards



 



[#] Sat Mar 12 2022 00:30:08 EST from smashbot64

Subject: PORTS!

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

maybe not the point, but I am in the grouping that has repurposed their commodore dialup bbs systems to ones that communicate via telnet.

 

Speaking of which... can anyone suggest the easiest way to do something? i dont want to mess up my citadel install.

 

I run a website on apache2, it answers 80 and 443 via vhosts. DNS sends everything to an endpoint IP. I want to redirect everything that comes to port 1000 on mysite.com to port 1000 on an ip:1000 somewhere else (an external ip).

 

Most painless way?

 



[#] Sat Mar 12 2022 10:02:18 EST from IGnatius T Foobar

Subject: Re: LDAP Users

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

I may have to set up FreeIPA to figure this out.

[#] Sat Mar 12 2022 12:27:16 EST from IGnatius T Foobar

Subject: Re: LDAP Users

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


FreeIPA has a public demo/test server! This is *very* convenient.

Actually, I haven't had a chance to look at FreeIPA ... seems like a very nice identity server. I might even install it on my own network.

But the good news is ... this bug is now confirmed and reproducible. Thanks for reporting it. Looking into this now.

[#] Sat Mar 12 2022 15:51:03 EST from manutremo

Subject: Re: Filter to move Messages marked by SpamAssassin

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

Hi, I see this was posted close to 1 yr ago, but I didn't find any answer.

I'm runnning into exactly the same issue as the op, that is, I'm trying to set a rule that checks the X-Spam-Status and sends it to a spam folder if it contains "True" (I checked the headers of a GTUBE email and it contains "True" instead of "Yes" as stated in the spamassassin documentation).

Any idea or workaround?

Thanks in advance,

 

 

Mon Apr 05 2021 08:31:30 EDT from vanadius Subject: Filter to move Messages marked by SpamAssassin

I have a working setup with SpamAssassin marking incoming Mail.

Now I want Citadel to move all marked EMails to a Spam-Folder before delivering them to the clients. As I understand it the way to do that is using the server-side mail filters. I just can't seem to get the filter to work.
I expected the filter to be like:
If |X-Spam-Status| |contains| |True| |Move message to| |Spam| and then |continue processing|

I derived the filter from the EMail headers generated by SpamAssassin (The required value is -10.0 to force the EMail as Spam)

X-Spam-Level: 
X-Spam-Status: True, score=0.8 required=-10.0

However, no EMail matches the filter. If I invert the condition (from |contains| to |does not contain|), all EMails get sent to the Spam folder, so the problem is not with in the moving messages part.

Any Ideas?



 



[#] Sat Mar 12 2022 21:19:57 EST from jjwalker

Subject: Can't see changes from icon symlink

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

What icons are supposed to be changed by the symlink info on this page?:  https://www.citadel.org/webcit_file_icons.html

I noticed that the doc text is showing 2 different commands that aren't spaced properly in the paragraph, so I know that the ln is a separate command and corrected for that.  I can see the icons "folder" with the GNOME 24x24 mime icons.  I tried a few other icon sets but I don't see any real changes in the Citweb styling.  Where should I see the changes in the UI?



[#] Wed Mar 16 2022 05:26:33 EDT from ljm

Subject: Easy install on Slackware 15

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

Easy install is broken. It makes assumptions on Linux systems that are not always valid. I did the easyinstall on a fresh Slackware 15. It ended in error twice.

First error was after the question "would you like to install the dependencies". I naively said OK. ERROR!!!!!! easy install cannot install packages on Slackware. Well, if you cannot do it, don't offer to do it.

Ok, The Slackware-way was always that you were responsible for your own dependencies, so I looked at the packages that were needed for other distro's and found that they were already installed on my Slackware system. So, next try, I told the easy install not to install dependencies.  That went well for a long time until: ERROR!!!!! you are not running sytemd! What kind of Luddite are you?!! We will enforce the use of systemd upon you! 

So I had to put the start-up lines for citadel in /etc/rc.local. That is apparently very difficult for easy install, so I had to do that manually.

Now a question: If I put

/usr/local/citadel/citserver -d

in rc.local, Citadel does not listen to IMAP4 or POP3 ports. I understood, the -d was for daemonizing. I had to put

nohup /usr/local/citadel/citserver > /var/log/citserver.out 2> /var/log/citserver.err &

in rc.local to let it actually listen to the IMAP and POP ports. Is it possible to make citserver start normally daemonized and make it listen to the PO3 and IMAP4? Commandline options I missed, config file I need to edit?

ljm



[#] Wed Mar 16 2022 12:55:23 EDT from agornik

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

Not really, I would like to delete my login account from this page.

[#] Thu Mar 17 2022 23:59:45 EDT from metalinchains

Subject: Compiling Citadel

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

Hi everyone! recently i found citadel and i want to give it a try. The problem is that the easy installer script does not work in Manjaro (Arch Linux) and the installer from the AUR is broken.

Can anyone provide me a guide on how to compile the software under Arch Linux? 

Thanks!

Cheers from Argentina



[#] Fri Mar 18 2022 13:44:54 EDT from wintpe

Subject: Re: Compiling Citadel

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

So ill say what i think, please dont flame me, its coming with the best of intentions.

 

theres a reason why installing a mailserver on a workstation based linux is not a great idea, and its the same reason enterprise customers do not use a 

windows desktop to run an ftp server for example.

a workstation os has much more aggressive updates, bleeding edge etc.

usually that version lasts for about six months (fedora for example, to 5 years slackware for example, but thats an outside example).

however debian 11, or redhat enterprise server or suse enterprise server have a 10 year lifetime.

they also have a standard way of installing packages, and dependencies.

I run mine on rocky linux which is one of the new downstream replacements for centos.

this is the same reasons i suspect, although im not speaking for the citadel team, that they support these platforms.

regards peter 



[#] Fri Mar 18 2022 13:53:48 EDT from wintpe

Subject: Re: Filter to move Messages marked by SpamAssassin

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

 

Sat Mar 12 2022 15:51:03 EST from manutremo Subject: Re: Filter to move Messages marked by SpamAssassin

Hi, I see this was posted close to 1 yr ago, but I didn't find any answer.

I'm runnning into exactly the same issue as the op, that is, I'm trying to set a rule that checks the X-Spam-Status and sends it to a spam folder if it contains "True" (I checked the headers of a GTUBE email and it contains "True" instead of "Yes" as stated in the spamassassin documentation).

Any idea or workaround?

Thanks in advance,

 

 

Mon Apr 05 2021 08:31:30 EDT from vanadius Subject: Filter to move Messages marked by SpamAssassin

I have a working setup with SpamAssassin marking incoming Mail.

Now I want Citadel to move all marked EMails to a Spam-Folder before delivering them to the clients. As I understand it the way to do that is using the server-side mail filters. I just can't seem to get the filter to work.
I expected the filter to be like:
If |X-Spam-Status| |contains| |True| |Move message to| |Spam| and then |continue processing|

I derived the filter from the EMail headers generated by SpamAssassin (The required value is -10.0 to force the EMail as Spam)

X-Spam-Level: 
X-Spam-Status: True, score=0.8 required=-10.0

However, no EMail matches the filter. If I invert the condition (from |contains| to |does not contain|), all EMails get sent to the Spam folder, so the problem is not with in the moving messages part.

Any Ideas?



 



Just airing the way ive gone about this.

While the basic citadel setup through the admin pages is well covered i found that it was easier to just have citserver answering port 25 and sending on to the smarthost, this keeps the whole thing reliable and easy to follow things when they go wrong.

I run my citadel on rocky but as a virtual machine on a proxmox server, and proxmox also have a mailrelay server that runs as a virtual machine under proxmox.

the mailrelay does everything you are asking for and more, and has a fabulous GUI for setting it all up, although if you want to mess with its postfix main.cf you need to look at its templates as it  updates main.cf through the gui.

 

proxmox mail covers antivirus, spam, whitelists blacklists  logging, dk/dm* 

 

and its free for non commercial use.

 

regards peter 



[#] Fri Mar 18 2022 15:00:28 EDT from metalinchains

Subject: Re: Compiling Citadel

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

 

Fri Mar 18 2022 13:44:54 EDT from wintpe Subject: Re: Compiling Citadel

So ill say what i think, please dont flame me, its coming with the best of intentions.

 

theres a reason why installing a mailserver on a workstation based linux is not a great idea, and its the same reason enterprise customers do not use a 

windows desktop to run an ftp server for example.

a workstation os has much more aggressive updates, bleeding edge etc.

usually that version lasts for about six months (fedora for example, to 5 years slackware for example, but thats an outside example).

however debian 11, or redhat enterprise server or suse enterprise server have a 10 year lifetime.

they also have a standard way of installing packages, and dependencies.

I run mine on rocky linux which is one of the new downstream replacements for centos.

this is the same reasons i suspect, although im not speaking for the citadel team, that they support these platforms.

regards peter 



Just asking.

Now i'm running it on Debian 11 and is working great, i'm not a Linux expert only a enthusiast that found this software searching some terminal forum software.

Thanks for the reply!



[#] Sun Mar 20 2022 02:50:23 EDT from ParanoidDelusions

Subject: Re: Compiling Citadel

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

As an enthusiast, running Citadel on a desktop Linux is fine - and a Debian based one is probably going to be the easiest for those who are not Linux pros. 

I've been successfully running Citadel, first starting on a Pi running Raspberry OS (before it was called that... or maybe it is called Pi OS now, whatever...) with DDNS... and then on bare metal on Debian, and now as a VM in a multi-node clustered Proxmox environment backing up to a NAS. 

Linux pros will over-complicate their advice on the BKMs to serve *anything* - and they're not necessarily wrong. I'm sure their systems are more secure, more efficient, enjoy more uptime, receive better lifetime support. 

But for the average guy who wants to run a BBS... Debian 11 desktop is fine. 

 



[#] Sun Mar 20 2022 02:53:10 EDT from ParanoidDelusions

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

And along those same lines - if you're running an obscure, granular, very administrative-heavy server-based Linux distro intended for corporate applications - I suppose you can expect that you'll need to do a lot of manual customization to get the Citadel Easy Install to work - and the expectation should be that if this is the kind of linux platform you've chosen, you probably have the skills to figure out what is broken and how to fix it. 

 

 



Go to page: 1 2 3 4 5 [6] 7 8 9 10 ... Last