poffice-admin
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChinesePoffice Admin Skill
Poffice Admin 技能
This skill provides the necessary tools and workflows to manage the Poffice infrastructure.
本技能提供管理Poffice基础设施所需的工具与工作流。
Core Capabilities
核心功能
- User & Mail Management: Create mailboxes, manage domains, and send/receive emails.
- Document Management: Sync files via Seafile and archive documents via Paperless-ngx.
- Calendar Management: Full CRUD management of events (List, Add, Update, Delete) in SOGo (attached to Mailcow) and sending email invites with .ics attachments.
- Document Creation: Generate and update Word (.docx), Excel (.xlsx), and PDF documents programmatically.
- 用户与邮件管理:创建邮箱、管理域名、收发邮件。
- 文档管理:通过Seafile同步文件,通过Paperless-ngx归档文档。
- 日历管理:对SOGo(绑定Mailcow)中的事件进行完整的CRUD管理(列出、添加、更新、删除),并发送带.ics附件的邮件邀请。
- 文档创建:以编程方式生成和更新Word(.docx)、Excel(.xlsx)及PDF文档。
Quick Reference Scripts
快速参考脚本
The following scripts are available in the directory:
scripts/- : Mailbox creation and email sending.
poffice_mail.py - : Seafile user and repo management.
poffice_docs.py - : Document ingestion and listing.
poffice_paperless.py - : Document creation and update (Word, Excel, PDF).
poffice_gen.py - : Calendar event creation and email invites.
poffice_calendar.py
以下脚本位于目录中:
scripts/- :邮箱创建与邮件发送。
poffice_mail.py - :Seafile用户与仓库管理。
poffice_docs.py - :文档导入与列出。
poffice_paperless.py - :文档创建与更新(Word、Excel、PDF)。
poffice_gen.py - :日历事件创建与邮件邀请。
poffice_calendar.py
Typical Workflows
典型工作流
Creating a New Office User
创建新办公用户
To create a fully provisioned user (Mail + Cloud storage):
- Run
python3 scripts/poffice_mail.py create-mailbox domain.com user_name "Full Name" password - Run
python3 scripts/poffice_docs.py create-user user@domain.com password
要创建一个完整配置的用户(邮件+云存储):
- 运行
python3 scripts/poffice_mail.py create-mailbox domain.com user_name "Full Name" password - 运行
python3 scripts/poffice_docs.py create-user user@domain.com password
Creating and Archiving a Report
创建并归档报告
- Use to create a PDF or Excel report.
poffice_gen.py - Use to upload the generated file for long-term archiving.
poffice_paperless.py - Use to email the report to the team.
poffice_mail.py
- 使用创建PDF或Excel报告。
poffice_gen.py - 使用上传生成的文件以进行长期归档。
poffice_paperless.py - 使用将报告通过邮件发送给团队。
poffice_mail.py
Scheduling a Meeting and Sending Invites
安排会议并发送邀请
- Use to put the event on your own calendar.
poffice_calendar.py add - Use to send the official invitation to participants.
poffice_calendar.py invite - Optionally, use to create a meeting agenda PDF and attach it to an email using
poffice_gen.py.poffice_mail.py
- 使用将事件添加到自己的日历中。
poffice_calendar.py add - 使用向参会者发送正式邀请。
poffice_calendar.py invite - (可选)使用创建会议议程PDF,并通过
poffice_gen.py将其作为邮件附件发送。poffice_mail.py
Managing Existing Events
管理现有事件
- Use to see upcoming events.
poffice_calendar.py list - Use to remove an event.
poffice_calendar.py delete [UID] - Update events using the method in
update_event.poffice_calendar.py
- 使用查看即将到来的事件。
poffice_calendar.py list - 使用删除事件。
poffice_calendar.py delete [UID] - 使用中的
poffice_calendar.py方法更新事件。update_event
Sending a System Invite
发送系统邀请
Use to notify users about account creation or meetings.
poffice_mail.py send-email使用通知用户账户创建或会议相关信息。
poffice_mail.py send-emailService Access & Credentials
服务访问与凭证
See references/credentials.md for API keys and endpoint information.
查看references/credentials.md获取API密钥与端点信息。
Calendar (SOGo)
日历(SOGo)
Calendar management is handled through SOGo.
- URL:
https://mail.poffice.online/SOGo - CalDAV: To send invites programmatically, use standard
https://mail.poffice.online/SOGo/dav/generation and send viaics.poffice_mail.py
日历管理由SOGo处理。
- URL:
https://mail.poffice.online/SOGo - CalDAV:要以编程方式发送邀请,请使用标准
https://mail.poffice.online/SOGo/dav/生成并通过ics发送。poffice_mail.py
Documentation
文档
- Mailcow API: references/mailcow_api.md
- Seafile API: references/seafile_api.md
- Paperless API: references/paperless_api.md
- Mailcow API:references/mailcow_api.md
- Seafile API:references/seafile_api.md
- Paperless API:references/paperless_api.md