diff --git a/seed/postfix-relay/DEBUG.md b/seed/postfix-relay/DEBUG.md index 4e7d1b6..024aae0 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 b222ea8..1223de1 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 8810003..59623c7 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,