Page MenuHomeDevCentral

Install postfix
Needs ReviewPublic

Authored by DorianWinty on Jul 24 2023, 20:48.
Tags
None
Referenced Files
F3559825: D3242.diff
Sat, Sep 7, 23:20
F3558547: D3242.id8669.diff
Sat, Sep 7, 04:39
Unknown Object (File)
Fri, Sep 6, 10:27
Unknown Object (File)
Fri, Sep 6, 05:23
Unknown Object (File)
Thu, Sep 5, 18:16
Unknown Object (File)
Thu, Sep 5, 01:20
Unknown Object (File)
Wed, Sep 4, 19:17
Unknown Object (File)
Wed, Sep 4, 19:01
Subscribers
None

Details

Reviewers
dereckson
Maniphest Tasks
T1930: Postfix Provisioning
Summary

Ref T1930

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
mail
Build Status
Buildable 5120
Build 5401: arc lint + arc unit

Event Timeline

DorianWinty created this revision.
roles/mailserver/init.sls
8–9

this line should be removed ?

roles/mailserver/init.sls
8–9

yes, as we've now content :)

DorianWinty marked an inline comment as done.

remove excess lines

roles/mailserver/postfix.sls
1

... header ...

Tested,
Postfix is working fine,

"Relay access denied" => so we are not an open relay

Missing part :

  • more than one domain
  • understandinf of the local delievery

rewrite files with clear headers

add master.cf from hervil

add postfix config for vimbadmin

dereckson mentioned this in Unknown Object (Repository).Jul 11 2024, 16:31
roles/mailserver/postfix/files/main.cf
19 ↗(On Diff #8674)

myhostname = mail.nasqueron.org

TO ADD

roles/mailserver/postfix/files/master.cf
73 ↗(On Diff #8710)

No current known use of newsgroups, is a newsgroup gateway

75 ↗(On Diff #8710)

Needs bsmtp package

77 ↗(On Diff #8710)

Can be removed too, historical virtual mail solution using LDAP.

82 ↗(On Diff #8710)

Probably best to use the Perl one for now. It has been actively developed until 2013, then some fixes from 2024, as seen at https://metacpan.org/dist/Mail-SPF-Iterator/changes

On FreeBSD, it's postfix-policyd-spf-perl package

On Debian, same name is used, ie postfix-policyd-spf-perl

Packages not found on EPEL / CentOS Stream 10 / Rocky 9.4

DorianWinty marked 2 inline comments as done.

update depending of the hand made changes

reajust diffent part of main.cf

add enable part of postfix

roles/mailserver/postfix/files/master.cf
69 ↗(On Diff #8815)

Path correct, package to add

73 ↗(On Diff #8815)

bsmtp still to remove

76 ↗(On Diff #8815)

We need to provision the script ourselves.

We can use https://github.com/fauria/docker-mailman/blob/master/centos7/postfix-to-mailman.py as a source.

It's not part of the mailman3 Debian package anymore.

79 ↗(On Diff #8815)

Script is at another location

roles/mailserver/postfix/init.sls
44 ↗(On Diff #8815)
55–60 ↗(On Diff #8815)
66–71 ↗(On Diff #8815)
DorianWinty marked 4 inline comments as done.

update following the comments