Files
malias/README.md
T

80 lines
2.8 KiB
Markdown
Raw Normal View History

2023-04-16 18:48:07 +02:00
# malias
2023-04-16 18:46:18 +02:00
2026-01-12 14:49:19 +01:00
_malias_ is a helper for mailcow instances. You can create, delete, search and list aliases. If you are looking for the docker based web version of this app you can find it [here!](https://gitlab.pm/rune/malias-web)
2023-04-16 18:46:18 +02:00
## Installation
2023-10-03 10:24:33 +02:00
Download the latest release from [https://gitlab.pm/rune/malias/releases](https://iurl.no/release). Unzip and move to a folder in you path (ease of use). I also recommend rename the file ```malias.py``` to just ```malias``` and make the file executable with ```chmod +x malias```. To install required python modules run ```pip3 install -r requirements.txt```
2023-04-16 18:46:18 +02:00
## Usage
For instructions run
```bash
malias -h
```
2024-04-10 13:40:00 +02:00
## Documentation
2023-08-13 18:31:49 +02:00
2024-04-10 13:40:00 +02:00
```bash
usage: malias [-h] [-c] [-s server APIKey] [-a alias@domain.com to@domain.com] [-f alias@domain.com] [-d alias@domain.com] [-t user@domain.com domain.com] [-w alias@domain.com] [-l] [-o] [-e] [-v]
2024-04-10 13:40:00 +02:00
2025-03-03 13:57:02 +01:00
Malias is an application for adding, creating, and deleting aliases on a Mailcow instance.
2024-04-10 13:40:00 +02:00
2025-03-03 13:57:02 +01:00
Use the issues section in the git repo for any problems or suggestions. https://gitlab.pm/rune/malias
2024-04-10 13:40:00 +02:00
2025-03-03 13:57:02 +01:00
options:
2024-04-10 13:40:00 +02:00
-h, --help show this help message and exit
2025-03-03 13:57:02 +01:00
-c, --copy Copy alias data from mailcow server to local DB.
-s, --set server APIKey
Set connection information.
-a, --add alias@domain.com to@domain.com
2024-04-10 13:40:00 +02:00
Add new alias.
2025-03-03 13:57:02 +01:00
-f, --find alias@domain.com
Search for alias.
-d, --delete alias@domain.com
2024-04-10 13:40:00 +02:00
Delete alias.
2025-03-03 13:57:02 +01:00
-t, --timed user@domain.com domain.com
Add new time limited alias for user on domain.
The user@domain.com is where you want the alias to be delivered to.
The domain.com is which domain to use when creating the timed-alias.
One year validity
-w alias@domain.com, --alias alias@domain.com
List timed (temprary) aliases connected toone account.
2024-04-10 13:40:00 +02:00
-l, --list List all aliases on the Mailcow instance.
2025-03-03 13:57:02 +01:00
2024-04-10 13:40:00 +02:00
-o, --domains List all mail domains on the Mailcow instance.
2025-03-03 13:57:02 +01:00
-e, --export List all mail domains on the Mailcow instance.
-v, --version Show current version and information
2024-04-10 13:40:00 +02:00
Making mailcow easier...
```
## Plans
2025-03-03 13:57:02 +01:00
I'm also working on functionality for ~~exporting~~ and importing aliases. As of version _0.4_ there is an export and an import fucntion that is not active in the app. Hopefully they will be finnished some day...
2023-08-13 18:31:49 +02:00
2023-04-16 18:46:18 +02:00
## Contributing
Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.
## Support
If you found a bug or you have suggestion for new features create an issue.
## License
2023-04-16 18:49:50 +02:00
[<img src="https://gitlab.pm/rune/malias/raw/branch/main/mit.png">](https://gitlab.pm/rune/malias/src/branch/main/LICENSE)