diff --git a/Metadata/groups.xml b/Metadata/groups.xml index 7d24d9b..51a3e48 100644 --- a/Metadata/groups.xml +++ b/Metadata/groups.xml @@ -148,12 +148,6 @@ - - - - - diff --git a/Python/etc/postfix/main.cf b/Python/etc/postfix/main.cf index e41286a..6124cb5 100644 --- a/Python/etc/postfix/main.cf +++ b/Python/etc/postfix/main.cf @@ -288,7 +288,7 @@ if not secondary: if has("titanic"): @relayhost=[ovh.adm.crans.org]:25 -if mx: +if main or secondary: @# PostScreen configuration @# Access List @postscreen_access_list = cidr:/etc/postfix/postscreen_access.cidr diff --git a/Python/etc/postfix/master.cf b/Python/etc/postfix/master.cf index 21be67a..6031226 100644 --- a/Python/etc/postfix/master.cf +++ b/Python/etc/postfix/master.cf @@ -95,8 +95,11 @@ if has("titanic"): @# service type private unpriv chroot wakeup maxproc command + args @# (yes) (yes) (yes) (never) (50) @# ========================================================================== -@smtp inet n - - - 1 postscreen -@smtpd pass - - - - - smtpd +if main or secondary: + @smtp inet n - - - 1 postscreen + @smtpd pass - - - - - smtpd +else: + @smtp inet n - - - - smtpd if tracker: @ -o receive_override_options=no_address_mappings @dnsblog unix - - - - 0 dnsblog