2.3 KiB
2.3 KiB
Resource Postfix
Install
Command:
sudo kube.sh --postfix install
Example of log:
🔹[Postfix] Install
🔹[Postfix] Preparing /app/kube/assets/yaml/postfix.yaml
🔹[K3S] Applying YAML /app/kube/data/yaml/postfix.yaml
💡[K3S] Waiting for pods to be ready... | 1 not ready
💡[K3S] Waiting for pods to be ready... | 1 not ready
💡[K3S] Waiting for pods to be ready... | 1 not ready
💡[K3S] Waiting for pods to be ready... | 1 not ready
✅[Postfix] Applied /app/kube/data/yaml/postfix.yaml
Remove
Command:
sudo kube.sh --postfix remove
Status
Note
In progress...
Command:
sudo kube.sh --postfix status
Example of log:
???
Add domain
Note
In progress...
Command:
sudo kube.sh --postfix add <domain>
Get DKIM key for DNS record domain or DKIM record lists
Command:
sudo ube.sh --postfix dkim [domain]
Example of log:
[Postfix] DKIM key for DNS
selector1._domainkey IN TXT ( "v=DKIM1; h=sha256; k=rsa; s=email; "
"p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6rCyqEvQ1...FQIDAQAB" ) ; ----- DKIM key selector1 for krumax.cz
Check DNS records for or MTA
Command:
sudo kube.sh --postfix dns [domain]
Example of log:
🔹[Postfix] Check DNS records
✅[Postfix] A record: mta.krumax.cz | 31.31.73.67
✅[Postfix] SPF record: mta.krumax.cz | "v=spf1 a -all"
✅[Postfix] PTR record: mta.krumax.cz | mta.krumax.cz.
Get template of DNS records
Command:
sudo kube.sh --postfix template
Example of log:
🔹[Postfix] Template
🔹[Postfix] For MTA ==============
🔹[Postfix] IN A 31.31.73.67
🔹[Postfix] IN TXT v=spf1 a -all
🔹[Postfix] PTR -> mta.krumax.cz
🔹[Postfix] For site =============
🔹[Postfix] IN A 31.31.73.67
🔹[Postfix] IN MX 10 mta.krumax.cz.
🔹[Postfix] IN TXT v=spf1 mx ~all
🔹[Postfix] IN TXT v=DKIM1; ...
🔹[Postfix] IN TXT v=DMARC1; ...