Language:
switch to room list switch to menu My folders
Go to page: First ... 4 5 6 7 [8] 9 10 11 12 ... Last
[#] Sun Oct 02 2022 16:06:39 EDT from papershow

Subject: How to delete all emails

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

Hey all,

Discovered citadel a few months ago and loving it as a localhost email server for an interactive theatre show I'm making. The problem that I've got at the moment is that I'd like to find a way to purge all emails from every account on the server on command without deleting the accounts? I need to purge the entire server every hour or so between shows so auto-purging once a day wouldn't be enough.

 

Thanks



[#] Mon Oct 03 2022 15:20:44 EDT from bobbydharrell

Subject: Move Citadel Location

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

Hello there,

 

I just installed Citadel on a RP4, and I also have a 1TB ssd added on and mounted in Raspberry Pi OS.

 

I would like to move Citadel to the SSD so that it has plenty of room. How would I do this? I am still in the setup phase, no users on it, so if I need to reinstall, I can.

 

Thanks,

Bobby



[#] Mon Oct 03 2022 17:16:15 EDT from coder

Subject: citadel mail server

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

Should I be able to connect to a mail account over IMAP and SMTP after setting up citadel?



[#] Mon Oct 03 2022 17:27:25 EDT from coder

Subject: Re: citadel mail server

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

I see this:

Oct  3 21:21:39 xxxxxxx citserver[351272]: citserver[351272]: context: session (SMTPs-MTA) started from xxxxxxxxxx (xxxxxxxxx) uid=-1
Oct  3 21:21:39 xxxxxxx citserver[351272]: context: session (SMTPs-MTA) started from xxxxxxxxx (xxxxxxxxxxxx) uid=-1

but the connection hangs



[#] Mon Oct 03 2022 17:53:03 EDT from coder

Subject: Re: citadel mail server

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

nvm, i'm going to try something. good day!



[#] Mon Oct 03 2022 19:34:50 EDT from mrsfeathers

Subject: Re: citadel mail server

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

yes, i've got mine set up with my gmail app so i recieve my ciadel mail on my phone

 


[#] Mon Oct 03 2022 19:39:16 EDT from mrsfeathers

Subject: Re: How to delete all emails

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

i guess if you're doing a show using the server some how and require everything to be the same on command, consider making a backup of the entire OS with a freshly set up install of citadel.. then depending on whatever backup solution you are using, ie proxmox.. it should be easy enough to just click restore (on proxmox the command would be something like "qm rollback vm:### /path/to/backupfile.gz") of which you could even use cron. but that gets out of the topic of citadel itself.



[#] Mon Oct 03 2022 22:51:55 EDT from IGnatius T Foobar

Subject: Re: Move Citadel Location

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

I would like to move Citadel to the SSD so that it has plenty of
room. How would I do this? I am still in the setup phase, no users on
it, so if I need to reinstall, I can.

If you installed using the Easy Install script, your installation will be in the following directories:
* /usr/local/citadel
* /usr/local/webcit
* /usr/local/ctdlsupport

You could just arrange for those directories to be mounted from the SSD, and move the data accordingly.

Method 2: if you want to keep the OS and programs on the MicroSD, and just move your database to the SSD, you can follow the procedure in this document:
[ https://www.citadel.org/how_may_i_improve.html ]

That shows you how to configure Citadel's embedded Berkeley DB database to look in a specific location for its files.

Method 3: if you want to completely reinstall your machine ... just ditch the MicroSD card altogether and install the operating system directly to the SSD. If you have a Raspberry Pi 4, this is possible. If it's an older Pi 4 you might need to do an EEPROM update. See [https://www.citadel.org/how_may_i_improve.html ] for interesting info.

[#] Tue Oct 04 2022 13:10:01 EDT from bobbydharrell

Subject: Re: Move Citadel Location

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

 

Mon Oct 03 2022 22:51:55 EDT from IGnatius T Foobar Subject: Re: Move Citadel Location
I would like to move Citadel to the SSD so that it has plenty of
room. How would I do this? I am still in the setup phase, no users on
it, so if I need to reinstall, I can.

If you installed using the Easy Install script, your installation will be in the following directories:
* /usr/local/citadel
* /usr/local/webcit
* /usr/local/ctdlsupport

You could just arrange for those directories to be mounted from the SSD, and move the data accordingly.

Method 2: if you want to keep the OS and programs on the MicroSD, and just move your database to the SSD, you can follow the procedure in this document:
[ https://www.citadel.org/how_may_i_improve.html ]

That shows you how to configure Citadel's embedded Berkeley DB database to look in a specific location for its files.

Method 3: if you want to completely reinstall your machine ... just ditch the MicroSD card altogether and install the operating system directly to the SSD. If you have a Raspberry Pi 4, this is possible. If it's an older Pi 4 you might need to do an EEPROM update. See [https://www.citadel.org/how_may_i_improve.html ] for interesting info.

Thank you!



[#] Tue Oct 04 2022 22:12:59 EDT from mrsfeathers

Subject: View Old Names To Fix Problem

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

How do you view a list of previous usernames? I have a user who needs an email address that citadel is complaining is already in use but the user who has it doesn't exist.. so theres a database somewhere with it in it and i need to clear that.

if its easier, how can i just search an address to see who has it?

and if thats not possible, how do i "force" set a person's address?



[#] Wed Oct 05 2022 00:44:12 EDT from mrsfeathers

Subject: Re: View Old Names To Fix Problem

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

i was able to find the UID for the user if that helps at all possibly. i haven't been able to find anything useful looking through the citadel documentation on my own yet though.



[#] Wed Oct 05 2022 09:11:20 EDT from IGnatius T Foobar

Subject: Re: View Old Names To Fix Problem

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

How do you view a list of previous usernames? I have a user who needs
an email address that citadel is complaining is already in use but
the user who has it doesn't exist.. so theres a database somewhere
with it in it and i need to clear that.

By the time you read this, the problem will probably have gone away by itself.

This is because there is a purge function that runs overnight and will fully erase those accounts.

[#] Wed Oct 05 2022 10:57:53 EDT from mrsfeathers

Subject: Re: View Old Names To Fix Problem

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

sadly i still have the issue and have had it for the past week now which is why i'm reaching out. i feel like i've explored every crevice of the web server with no luck and i'm hoping theres just a console command that can fix whatever's wrong or like force run the clean up command for old users. but, i've rebooted, its been at least 4 days and i've definately seen logs of it deleting and cleaning other stuff... but no luck on that specific user account.

it was created via LDAP and deleted from LDAP as well. i dont remember if i had to manually delete it from citadel or if it went away on its own after synching since its been a while since it was first deleted and i'm just now figuring out this was an issue.

what i have tried outside of citadel: recreating the user on LDAP so that citadel would ressurect or overwrite the user so i can just straight up delete it, but no luck. even assigning the UID says its already taken.. i've tried creating a generic account and tying the UID to it and deleting it with no luck.. 

maybe that specific type of cleaning service isn't running and i just need to restart that service? if that was the issue, i would imagine it'd be fixed in a matter of seconds after issuing a console command to restart it

  • Im Wörterbuch speichern
     
    • Keine Wortliste für Englisch → Englisch (USA)...
       
    • Eine neue Wortliste erstellen...
  • Kopieren


[#] Thu Oct 06 2022 15:00:10 EDT from IGnatius T Foobar

Subject: Re: View Old Names To Fix Problem

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

Ok, try this:

cd /usr/local/citadel
./sendcommand IGAB


[#] Sun Oct 09 2022 05:13:54 EDT from mrsfeathers

Subject: Re: View Old Names To Fix Problem

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

root@Box:/usr/local/citadel# ./sendcommand IGAB sendcommand: started (pid=1392) connecting to Citadel server with data directory /usr/local/citadel sendcommand: can't connect: Connection refused

 

that's probably the problem.

 
  • Im Wörterbuch speichern
     
    • Keine Wortliste für Englisch → Deutsch...
       
    • Eine neue Wortliste erstellen...
  • Kopieren


[#] Sun Oct 09 2022 08:29:43 EDT from OtherChris

Subject: Can receive mails, but cannot send

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

Hi!

So I've set up Citadel on a small test server I've got at home (behind a router) using the "install from docker container" route. The DNS is (I think) set up, and I can receive mail without an issue. I cannot, however, send any mails... Any I try to send just get returned with "Delivery Status Notification (Failure)" and that the email address is undeliverable (with an error code of 421). This happens no matter which address I try to send to; I've tried sending to four different addresses so far, and they all get the exact same error message. I can see the mail being queued by the Citadel server, and after about a minute or two it's removed from the queue (which, as I've understood it, is how it's supposed to look).

A couple of thoughts I've had:

1) DNS entries. I've got an MX entry (which obviously is correct considering I can receive mails), as well as a SPF and a DMARC entry. I've been using "MXToolBox", and that one says they're correct, so I guess they are? The DMARC is "v=DMARC1;p=none;rua=mailto:<my mail address>;ruf=mailto:<my mail address>", and the SPF one is "v=spf1 mx -all". Should they look any different?

2) Ports. Right now I've only got port 25 forwarded to my mail server in my router (I try to keep as few ports as possible open to the outside for obvious reasons). Do outgoing mails need another port opened for some reason (seeing how they're outgoing, I can't see why, but...)?

I had this problem before adding the SPF and DMARC DNS entries; nothing at all has changed since I added those. And considering the problem exists for all external addresses (I can send to other local addresses that exist in the Citadel server without an issue, but I'm guessing those don't go anywhere at all outside Citadel), my current guess is that it's something local on my end and that the mails aren't being sent out correctly. Any tips for what else I can test? Are there logs in Citadel that would point me in the right direction (I haven't been able to find any, even after opening a bash in my container)?



[#] Tue Oct 11 2022 17:49:17 EDT from mrsfeathers

Subject: Re: View Old Names To Fix Problem

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

well, i fixed the server's connection to itself... but now it just doesn't know what the command is 

 

root@Mail:/usr/local/citadel# ./sendcommand IGAB

sendcommand: started (pid=625) connecting to Citadel server with data directory /usr/local/citadel

200 furryrefuge.com Citadel server ADMIN CONNECTION ready.

IGAB

530 Unrecognized or unsupported command.

sendcommand: processing ended.



[#] Wed Oct 12 2022 17:18:50 EDT from IGnatius T Foobar

Subject: Re: View Old Names To Fix Problem

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

Hmm, I guess I had forgotten that the IGAB command was removed.

You can also do something like

./sendcommand "QDIR username@your.domain"

And it will tell you what Citadel account is bound to that email address.



[#] Sat Oct 15 2022 03:58:51 EDT from mrsfeathers

Subject: Re: View Old Names To Fix Problem

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

well, i now have the UID of the non existant user account that uses the address. can i use this UID and sendcommand to remove the account? or at least unset/reset the address so its not taken up by the account?



[#] Mon Oct 17 2022 15:27:26 EDT from mrsfeathers

Subject: Re: View Old Names To Fix Problem

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

so, after trying commands to unset the email (there was no straight up delete user command), i tried AGUP/ASUP and that failed saying user didn't exist so i couldn't change the email. here's the connundrum: GETU says it exists, but QUSR says it doesn't exist.. i can't query the user, but i can just get the user and it exists. doesn't appear in LIST... i'm not sure what to do. i did run TDAP which i assume is as close to IGAB as i can get, but that hasn't done anything useful just yet... says it started and its been an hour and the issue still exists, so i dont think it helped any.

 

root@Mail:/usr/local/citadel# ./sendcommand "GETU Use R. Name"

sendcommand: started (pid=3213) connecting to Citadel server with data directory /usr/local/citadel

200 furryrefuge.com Citadel server ADMIN CONNECTION ready.

GETU Use R. Name

200 80|24|0|

sendcommand: processing ended.

root@Mail:/usr/local/citadel# ./sendcommand "QUSR Use R. Name"

sendcommand: started (pid=3214) connecting to Citadel server with data directory /usr/local/citadel

200 furryrefuge.com Citadel server ADMIN CONNECTION ready.

QUSR Use R. Name

570 No such user.

root@Mail:/usr/local/citadel# ./sendcommand "CHEK Use R. Name"

sendcommand: started (pid=3208) connecting to Citadel server with data directory /usr/local/citadel

200 furryrefuge.com Citadel server ADMIN CONNECTION ready.

CHEK Use R. Name

200 0|0|0||

  • Im Wörterbuch speichern
     
    • Keine Wortliste für Englisch → Englisch (USA)...
       
    • Eine neue Wortliste erstellen...
  • Kopieren
  • Im Wörterbuch speichern
     
    • Keine Wortliste für Englisch → Englisch (USA)...
       
    • Eine neue Wortliste erstellen...
  • Kopieren
  • Im Wörterbuch speichern
     
    • Keine Wortliste für Englisch → Englisch (USA)...
       
    • Eine neue Wortliste erstellen...
  • Kopieren
  • Im Wörterbuch speichern
     
    • Keine Wortliste für Englisch → Englisch (USA)...
       
    • Eine neue Wortliste erstellen...
  • Kopieren


Go to page: First ... 4 5 6 7 [8] 9 10 11 12 ... Last