{"id":19118773,"url":"https://github.com/vedetta-com/ansible-role-caesonia","last_synced_at":"2025-06-23T09:35:50.127Z","repository":{"id":215851228,"uuid":"122037610","full_name":"vedetta-com/ansible-role-caesonia","owner":"vedetta-com","description":"Playbook for Caesonia","archived":false,"fork":false,"pushed_at":"2018-02-19T09:49:19.000Z","size":37,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-06T09:04:14.966Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vedetta-com.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-02-19T08:49:30.000Z","updated_at":"2021-04-20T22:09:36.000Z","dependencies_parsed_at":"2024-01-07T01:44:58.379Z","dependency_job_id":"7e15a3db-f97c-4b5d-a536-7bed2acb77c1","html_url":"https://github.com/vedetta-com/ansible-role-caesonia","commit_stats":null,"previous_names":["vedetta-com/ansible-role-caesonia"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vedetta-com/ansible-role-caesonia","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vedetta-com%2Fansible-role-caesonia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vedetta-com%2Fansible-role-caesonia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vedetta-com%2Fansible-role-caesonia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vedetta-com%2Fansible-role-caesonia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vedetta-com","download_url":"https://codeload.github.com/vedetta-com/ansible-role-caesonia/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vedetta-com%2Fansible-role-caesonia/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261453328,"owners_count":23160495,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T05:07:40.615Z","updated_at":"2025-06-23T09:35:50.067Z","avatar_url":"https://github.com/vedetta-com.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Public Domain](Milonia_Caesonia-250x259.jpg)\n\nAnsible role for a Caesonia (beta)\n=================================\n\nAnsible role to create a Mailserver on OpenBSD (\u003e6.2) with OpenSMTPD, Dovecot, DKIMProxy and Rspamd.\n\nRequirements\n------------\n\nOpenBSD, Python 2.7 (on client machine) and 10 minutes.\n\nNotes\n-----\n\nThis is still a WIP, so far, you need to create DKIM keys, new users and DNS entrys. Also, you need\nto enable dovecot, smtpd, rspamd and dkimproxy_{in,out} at boot.\n\nYou need to adjust your pf.conf (example bellow).\n\nAlso, you need to delete examples on /etc/mail/virtuals and /etc/mail/domains\n\nFeedback is welcome.\n\nExample pf.conf\n---------------\n\nFor IMAPs I like to keep bruteforce people away with some tweaks on pf.conf, keep in mind that\nlower numbers than that, can couse problems checking emails on huge directories like misc or mailing list.\n\n```\n...\npass in quick on egress proto tcp from any \\\n        to (egress) port imaps \\\n        flags S/SA modulate state \\\n        (max-src-conn 50, max-src-conn-rate 50/5, overload \u003cbruteforce\u003e flush global)\n...\n```\n\nFor SMTP I have pretty the same:\n\n```\n...\npass in quick log (to pflog1) proto tcp from any \\\n        to (egress) port smtp\n\npass in quick log (to pflog1) proto tcp from any \\\n        to (egress) port { submission, smtps } \\\n        flags S/SA modulate state \\\n        (max-src-conn 50, max-src-conn-rate 25/5, overload \u003cbruteforce\u003e flush global)\n...\n```\n\nExample Playbook\n----------------\n```\n---\n- hosts: test\n  roles:\n     - role: vedetta-com.caesonia\n  become: yes\n  become_method: doas\n\n  vars:\n   domain: 'foobar.com'\n   mail_dir: '/var/vmail'\n   mail_user: 'gonzalo'\n   release: '6.2'\n   arch: 'amd64'\n   installurl_mirror: 'https://fastly.cdn.openbsd.org/pub/OpenBSD/'\n   pkg_path: 'https://fastly.cdn.openbsd.org/pub/OpenBSD/{{ release }}/packages/{{ arch }}/'\n   packages_list:\n    - dovecot\n    - dovecot-pigeonhole\n    - dkimproxy\n    - rspamd\n    - opensmtpd-extras\n```\n\nLicense\n-------\n\nBSD\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvedetta-com%2Fansible-role-caesonia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvedetta-com%2Fansible-role-caesonia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvedetta-com%2Fansible-role-caesonia/lists"}