mail
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mail [2013/02/25 22:37] – lentinj | mail [2019/09/29 15:34] (current) – [account creation] mb | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| marmot provides a multi-domain IMAP/SMTP mail service, powered by [[http:// | marmot provides a multi-domain IMAP/SMTP mail service, powered by [[http:// | ||
| - | |||
| - | It doesn' | ||
| All IPC with backend services (spamd, clamd, pgsql, lmtpd) is performed over unix domain sockets. | All IPC with backend services (spamd, clamd, pgsql, lmtpd) is performed over unix domain sockets. | ||
| Line 55: | Line 53: | ||
| If it's a new domain, please add it to the '' | If it's a new domain, please add it to the '' | ||
| - | Then use '' | + | Then use '' |
| + | |||
| + | ==== shared mailboxes ==== | ||
| + | |||
| + | A mailbox which does //not// begin '' | ||
| + | |||
| + | localhost> | ||
| + | anyone p | ||
| + | lentinj@wormnet.eu lrswipkxtecd | ||
| + | mb@wormnet.eu lrswipkxtecd | ||
| + | |||
| + | If, as in this example, you set '' | ||
| ===== aliases/ | ===== aliases/ | ||
| Line 79: | Line 88: | ||
| === ham === | === ham === | ||
| - | / | + | |
| === spam === | === spam === | ||
| Line 95: | Line 104: | ||
| INSERT INTO dkim VALUES (' | INSERT INTO dkim VALUES (' | ||
| | | ||
| - | Then generate a keypair on marmot: | + | Then generate a keypair on marmot |
| + | SELECTOR=" | ||
| cd / | cd / | ||
| mkdir -m 750 wormnet.eu | mkdir -m 750 wormnet.eu | ||
| cd wormnet.eu | cd wormnet.eu | ||
| - | openssl genrsa -out cat 1024 | + | openssl genrsa -out ${SELECTOR} |
| - | openssl rsa -in cat -out cat.pub -pubout -outform PEM | + | openssl rsa -in ${SELECTOR} |
| - | chmod o= cat* | + | chmod o= ${SELECTOR}* |
| + | echo " | ||
| And finally mangle the public key into a DNS TXT record. See [[http:// | And finally mangle the public key into a DNS TXT record. See [[http:// | ||
| - | _adsp._domainkey IN TXT " | + | _adsp._domainkey IN TXT "dkim=all;" |
| - | cat._domainkey | + | cat._domainkey |
| + | ==== key rotation ==== | ||
| + | |||
| + | Just make a new keypair (with a new name) / and associated TXT record. Then '' | ||
| + | |||
| + | People seem to think rotating keys quarterly is a good idea. | ||
| ===== Allowing mail relaying from particular hosts ===== | ===== Allowing mail relaying from particular hosts ===== | ||
mail.1361831846.txt.gz · Last modified: 2013/02/25 22:37 by lentinj