Compare commits
No commits in common. "5365eb8e184517f55a187e655a60031aaff54964" and "015cba6d05daaf78c6c447175d18c20a1e4e09a4" have entirely different histories.
5365eb8e18
...
015cba6d05
@ -1,10 +0,0 @@
|
|||||||
# ----------
|
|
||||||
# Disable Milter (mail filter) for (remote) SMTP client IP address(es).
|
|
||||||
|
|
||||||
# see:
|
|
||||||
# https://www.postfix.org/MILTER_README.html
|
|
||||||
# https://www.postfix.org/MILTER_README.html#per-client
|
|
||||||
#
|
|
||||||
# https://www.postfix.org/postconf.5.html#smtpd_milter_maps
|
|
||||||
|
|
||||||
|
|
@ -1648,16 +1648,6 @@ alias_database =
|
|||||||
## -
|
## -
|
||||||
sender_canonical_maps = btree:/etc/postfix/sender_canonical
|
sender_canonical_maps = btree:/etc/postfix/sender_canonical
|
||||||
|
|
||||||
## - smtp_generic_maps (default: empty)
|
|
||||||
## -
|
|
||||||
## - Optional lookup tables that perform address rewriting in the Postfix
|
|
||||||
## - SMTP client, typically to transform a locally valid address into a
|
|
||||||
## - globally valid address when sending mail across the Internet. This is
|
|
||||||
## - needed when the local machine does not have its own Internet domain name,
|
|
||||||
## -but uses something like localdomain.local instead.
|
|
||||||
## -
|
|
||||||
smtp_generic_maps =
|
|
||||||
btree:/etc/postfix/generic
|
|
||||||
|
|
||||||
|
|
||||||
## - Optional lookup tables with mappings from recipient address
|
## - Optional lookup tables with mappings from recipient address
|
||||||
@ -2864,19 +2854,6 @@ else
|
|||||||
echo_failed
|
echo_failed
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echononl " Create file \"generic\""
|
|
||||||
if [[ ! -f /etc/postfix/generic ]]; then
|
|
||||||
cat <<EOF > /etc/postfix/generic
|
|
||||||
@localhost @$(hostname -f)
|
|
||||||
EOF
|
|
||||||
fi
|
|
||||||
postmap btree:/etc/postfix/generic
|
|
||||||
if [[ $? -eq 0 ]] ; then
|
|
||||||
echo_ok
|
|
||||||
else
|
|
||||||
echo_failed
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
echononl " Create file \"virtual_alias_domains\""
|
echononl " Create file \"virtual_alias_domains\""
|
||||||
if [[ ! -f /etc/postfix/virtual_alias_domains ]]; then
|
if [[ ! -f /etc/postfix/virtual_alias_domains ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user