Allow delivery where the address is unknown on the other side (automated mails from things like gitlab)

This commit is contained in:
Alex D. 2021-03-09 09:48:40 +00:00
parent 76103ad831
commit 1c8496bd35
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
2 changed files with 4 additions and 5 deletions

View File

@ -5,8 +5,8 @@ _configpath="/etc/postfix/redxen"
. ../APKBUILD-config.common
pkgver=2021.02.28
pkgrel=3
pkgver=2021.03.09
pkgrel=0
depends="postfix-pgsql redxen-secret-letsencrypt-chain redxen-secret-letsencrypt-private"
install="$pkgname.pre-install"
source="
@ -17,6 +17,6 @@ source="
"
sha512sums="b43313dc2b00848bfbc6b14bdcee2c7a024aeeae5d2a46b6aaf370d55f58ac9f9a4cf992b7d75a8acf35b75fd00d04144626169ef153614b223de87677bfda21 master.cf
5a0d3502983d97f678a404dd9d037f4116fc78e386f1bee7ef064d11fcb8438c164cbd7102a46cfc1f8af277dd1b7c5eff15eb3ad44f2b9b83b370ee050ef9dd main.cf
a0fe63a10948fc5b83aa66779ec79eaff31eadd2d6791fc6f531719677692dbc1c24d9d20ddb5637a942f30cd47c6c47f53f0cbe840c56b17346cc9b7b82844c main.cf
a1778901dbc12de543d9d5897b9d50ee5ebe47b7ef6ed87a0087249657f146ff8493de455d32016660cca3c8d669592e0ea9fbe9b6696d92cac6f014277f29e5 pgsql-aliases.cf
72c50fe20b4d1a7ea2e60fb2cac0164814ab41011eb7f0d67a8a5715a0cc43d3ad573f198a7933eb130f68ec5c25c558fad791300e5bb25e020ca76a4303db4c pgsql-users.cf"

View File

@ -44,8 +44,7 @@ smtpd_tls_protocols = !SSLv2, !SSLv3
# Restrictions
smtpd_sender_restrictions = permit_sasl_authenticated,
check_sender_access inline:{{$myorigin=553 not logged in}},
reject_unknown_sender_domain,
reject_unverified_sender
reject_unknown_sender_domain
smtpd_relay_restrictions = permit_sasl_authenticated,
reject_unauth_destination
smtpd_recipient_restrictions = permit_sasl_authenticated,