From 465f68235bdff3b5e15f2b3513256f8c23482df6 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Sat, 1 Oct 2022 19:24:39 +0200 Subject: [PATCH] change base directory for postfix --- seed/postfix-relay/DEBUG.md | 2 +- seed/postfix-relay/funcs/opendkim.py | 2 +- seed/postfix-relay/templates/main.cf | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/seed/postfix-relay/DEBUG.md b/seed/postfix-relay/DEBUG.md index 4e7d1b65..024aae09 100644 --- a/seed/postfix-relay/DEBUG.md +++ b/seed/postfix-relay/DEBUG.md @@ -19,7 +19,7 @@ EHLO root.gnunux.info 250-AUTH PLAIN LOGIN [..] MAIL FROM: -RCPT TO: +RCPT TO: DATA To: From: diff --git a/seed/postfix-relay/funcs/opendkim.py b/seed/postfix-relay/funcs/opendkim.py index b222ea87..1223de17 100644 --- a/seed/postfix-relay/funcs/opendkim.py +++ b/seed/postfix-relay/funcs/opendkim.py @@ -10,7 +10,7 @@ def _eprint(*args, **kwargs): _dknewkey.eprint = _eprint -_HERE = _dirname(_abspath(__main__.__file__)) +_HERE = _dirname(_dirname(_abspath(__main__.__file__))) _DKIM_DIR = _join(_HERE, 'pki/dkim') diff --git a/seed/postfix-relay/templates/main.cf b/seed/postfix-relay/templates/main.cf index 8810003c..59623c7d 100644 --- a/seed/postfix-relay/templates/main.cf +++ b/seed/postfix-relay/templates/main.cf @@ -268,10 +268,10 @@ smtpd_recipient_restrictions = reject_non_fqdn_hostname, reject_invalid_helo_hostname, reject_non_fqdn_helo_hostname, - reject_rbl_client zen.spamhaus.org, + reject_rbl_client zen.spamhaus.org, reject_non_fqdn_sender, reject_unknown_sender_domain, - #reject_unauth_pipelining + #reject_unauth_pipelining # FIXME check_sender_access hash:/etc/postfix/sender_access, # FIXME check_recipient_access hash:/etc/postfix/recv_access,