Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
9b4753a753 | |||
59cdf3c856 | |||
|
d65a127c6d | ||
|
22a9609dc4 | ||
2e85eb7b8b | |||
390f1c8aeb | |||
30a37cd0c3 | |||
948d19ebf3 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@ malias.zip
|
|||||||
malias_local.py
|
malias_local.py
|
||||||
*.json
|
*.json
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
.python-version
|
48
README.md
48
README.md
@ -17,54 +17,52 @@ malias -h
|
|||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
usage: malias [-h] [-k APIkey] [-s alias@domain.com] [-m mailcow-server.tld]
|
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]
|
||||||
[-a alias@domain.com to@domain.com]
|
|
||||||
[-t user@domain.com domain.com] [-d alias@domain.com]
|
|
||||||
[-i alias.json] [-v] [-c] [-l] [-o]
|
|
||||||
|
|
||||||
This is a simple application to help you create and delete aliases on a mailcow instance.
|
Malias is an application for adding, creating, and deleting aliases on a Mailcow instance.
|
||||||
If you find any issues or would like to submit a PR - please head over to https://gitlab.pm/rune/malias.
|
|
||||||
|
|
||||||
I hope this makes your mailcow life a bit easier!
|
Use the issues section in the git repo for any problems or suggestions. https://gitlab.pm/rune/malias
|
||||||
|
|
||||||
optional arguments:
|
options:
|
||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
-k APIkey, --api APIkey
|
-c, --copy Copy alias data from mailcow server to local DB.
|
||||||
Add/Change API key.
|
|
||||||
|
|
||||||
-s alias@domain.com, --search alias@domain.com
|
-s, --set server APIKey
|
||||||
Search for alias.
|
Set connection information.
|
||||||
|
|
||||||
-m mailcow-server.tld, --server mailcow-server.tld
|
-a, --add alias@domain.com to@domain.com
|
||||||
Add/Uppdate mailcow instance.
|
|
||||||
|
|
||||||
-a alias@domain.com to@domain.com, --add alias@domain.com to@domain.com
|
|
||||||
Add new alias.
|
Add new alias.
|
||||||
|
|
||||||
-t user@domain.com domain.com, --timed user@domain.com domain.com
|
-f, --find alias@domain.com
|
||||||
Add new time limited alias for user on domain. One year validity
|
Search for alias.
|
||||||
|
|
||||||
-d alias@domain.com, --delete alias@domain.com
|
-d, --delete alias@domain.com
|
||||||
Delete alias.
|
Delete alias.
|
||||||
|
|
||||||
-i alias.json, --import alias.json
|
-t, --timed user@domain.com domain.com
|
||||||
Show current config and appliacation info
|
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
|
||||||
|
|
||||||
-v, --version Show current version and information
|
-w alias@domain.com, --alias alias@domain.com
|
||||||
|
List timed (temprary) aliases connected toone account.
|
||||||
-c, --copy Copy alias data from mailcow server to local DB.
|
|
||||||
|
|
||||||
-l, --list List all aliases on the Mailcow instance.
|
-l, --list List all aliases on the Mailcow instance.
|
||||||
|
|
||||||
-o, --domains List all mail domains on the Mailcow instance.
|
-o, --domains List all mail domains on the Mailcow instance.
|
||||||
|
|
||||||
|
-e, --export List all mail domains on the Mailcow instance.
|
||||||
|
|
||||||
|
-v, --version Show current version and information
|
||||||
|
|
||||||
|
|
||||||
Making mailcow easier...
|
Making mailcow easier...
|
||||||
```
|
```
|
||||||
|
|
||||||
## Plans
|
## Plans
|
||||||
|
|
||||||
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...
|
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...
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
|
BIN
malias.png
BIN
malias.png
Binary file not shown.
Before Width: | Height: | Size: 573 KiB |
@ -1,48 +1,13 @@
|
|||||||
aiohttp==3.8.4
|
anyio==4.8.0
|
||||||
aiosignal==1.3.1
|
certifi==2025.1.31
|
||||||
async-timeout==4.0.2
|
exceptiongroup==1.2.2
|
||||||
attrs==22.2.0
|
h11==0.14.0
|
||||||
bleach==6.0.0
|
httpcore==1.0.7
|
||||||
build==0.10.0
|
httpx==0.28.1
|
||||||
certifi==2022.12.7
|
idna==3.10
|
||||||
cffi==1.15.1
|
markdown-it-py==3.0.0
|
||||||
charset-normalizer==3.1.0
|
|
||||||
click==8.1.3
|
|
||||||
docopt==0.6.2
|
|
||||||
docutils==0.19
|
|
||||||
frozenlist==1.3.3
|
|
||||||
gitdb==4.0.10
|
|
||||||
GitPython==3.1.32
|
|
||||||
gpg==1.21.0
|
|
||||||
idna==3.4
|
|
||||||
importlib-metadata==6.1.0
|
|
||||||
jaraco.classes==3.2.3
|
|
||||||
keyring==23.13.1
|
|
||||||
markdown-it-py==2.2.0
|
|
||||||
mdurl==0.1.2
|
mdurl==0.1.2
|
||||||
more-itertools==9.1.0
|
pygments==2.19.1
|
||||||
multidict==6.0.4
|
rich==13.9.4
|
||||||
notmuch==0.37
|
sniffio==1.3.1
|
||||||
notmuch2==0.37
|
typing-extensions==4.12.2
|
||||||
openai==0.27.0
|
|
||||||
packaging==23.0
|
|
||||||
pipreqs==0.4.11
|
|
||||||
pkginfo==1.9.6
|
|
||||||
promptcli==1.0.4
|
|
||||||
pycparser==2.21
|
|
||||||
Pygments==2.14.0
|
|
||||||
pyproject_hooks==1.0.0
|
|
||||||
readme-renderer==37.3
|
|
||||||
requests==2.28.2
|
|
||||||
requests-toolbelt==0.10.1
|
|
||||||
rfc3986==2.0.0
|
|
||||||
rich==13.3.1
|
|
||||||
six==1.16.0
|
|
||||||
smmap==5.0.0
|
|
||||||
tqdm==4.65.0
|
|
||||||
twine==4.0.2
|
|
||||||
urllib3==1.26.14
|
|
||||||
webencodings==0.5.1
|
|
||||||
yarg==0.1.9
|
|
||||||
yarl==1.8.2
|
|
||||||
zipp==3.15.0
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user