irax:email:imap
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| irax:email:imap [2025/02/21 11:21] – ian | irax:email:imap [2026/04/24 08:56] (current) – removed 216.73.216.148 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | IP address 192.168.10.31 | ||
| - | |||
| - | <wrap em>IMAP services:</ | ||
| - | cyrus imapd and saslauthd: | ||
| - | < | ||
| - | systemctl restart cyrus-imapd </ | ||
| - | < | ||
| - | |||
| - | **Config Files** | ||
| - | < | ||
| - | < | ||
| - | |||
| - | |||
| - | |||
| - | **IMAP management**\\ | ||
| - | There are a number of ways that imap mailboxes can be managed. | ||
| - | There is also the Server_manager system that provides an api to do the same - direct access using our own perl functions can be found here: | ||
| - | < | ||
| - | further detail regarding the api and its use in the Irax portal is [[smtp_service_manager|here]] | ||
| - | [[smtp_service_manager|]] | ||
| - | |||
| - | quick reconstruct of mailbox\\ | ||
| - | < | ||
| - | Log into cyrus user: | ||
| - | < | ||
| - | Here we can use the imap commands | ||
| - | so lm we can do things like | ||
| - | * lm user/ | ||
| - | * lm user ian*@irax.com | ||
| - | * lm user/ | ||
| - | note the use of * can be quite powerful | ||
| - | * dm / | ||
| - | will delete all mailboxes for fred@irax.com \\ | ||
| - | lam lists the acls | ||
| - | lam user/ | ||
| - | |||
| - | localhost> | ||
| - | user/ | ||
| - | ian1@irax.com lrswipkxtecdan | ||
| - | user/ | ||
| - | ian1@irax.com lrswipkxtecdan | ||
| - | user/ | ||
| - | ian1@irax.com lrswipkxtecdan | ||
| - | user/ | ||
| - | ian1@irax.com lrswipkxtecdan | ||
| - | user/ | ||
| - | ian1@irax.com lrswipkxtecdan | ||
| - | |||
| - | We could not use dm to delete this mailbox because cyrus has no ACLs\\ | ||
| - | sam is 'set acls on mailbox' | ||
| - | sam user/ | ||
| - | < | ||
| - | Setting ACL on user/ | ||
| - | Setting ACL on user/ | ||
| - | Setting ACL on user/ | ||
| - | Setting ACL on user/ | ||
| - | Setting ACL on user/ | ||
| - | </ | ||
| - | So now the mailbox can be deleted\\ | ||
| - | < | ||
| - | Deleting mailbox user/ | ||
| - | Deleting mailbox user/ | ||
| - | localhost> | ||
| - | localhost> | ||
| - | Success! \\ | ||
| - | Sometimes a mailbox does not work properly. you may see a message like \\ | ||
| - | Setting ACL on user/ | ||
| - | One way of fixing this is creating a temporary mailbox of a similar name ( and possibly its sub mailboxes. This mailbox structure can then be copied in the mailstore to the broken mailbox for example:\\ | ||
| - | on the imap server: < | ||
| - | localhost> | ||
| - | localhost> | ||
| - | localhost> | ||
| - | localhost> | ||
| - | localhost> | ||
| - | then on the mailstore server: | ||
| - | root@mailstore:/ | ||
| - | now back on the imap server | ||
| - | |||
| - | |||
| - | localhost> | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | ---- | ||
| - | |||
| - | |||
| - | <wrap em> | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | < | ||
| - | |||
| - | **Files: | ||
| - | Apache config file for wsgi\\ | ||
| - | < | ||
| - | |||
| - | Git repo for python flask SMTP Service Manager: | ||
| - | < | ||
| - | [[SMTP Service Manager|SMTP Service Manager]] | ||
| - | [[SMTP Service Manager|SMTP Service Manager]] | ||
irax/email/imap.1740136885.txt.gz · Last modified: 2025/02/21 11:21 by ian · Currently locked by: 10.32.1.188,216.73.216.148
