Browse Source

Remove potentially insecure send option

pull/138/head^2
Salonia Matteo 3 years ago
committed by GitHub
parent
commit
6ff718ea0b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      emailwiz.sh

+ 3
- 2
emailwiz.sh View File

@@ -15,7 +15,8 @@
# DEPENDENCIES BEFORE RUNNING # DEPENDENCIES BEFORE RUNNING


# 1. Have a Debian system with a static IP and all that. Pretty much any # 1. Have a Debian system with a static IP and all that. Pretty much any
# default VPS offered by a company will have all the basic stuff you need. This
# default VPS offered by a company will have all the basic stuff you need. ThisMAIL FROM: matteo@mail.saloniamatteo.top

# script might run on Ubuntu as well. Haven't tried it. If you have, tell me # script might run on Ubuntu as well. Haven't tried it. If you have, tell me
# what happens. # what happens.


@@ -81,7 +82,7 @@ postconf -e "smtpd_sasl_type = dovecot"
postconf -e "smtpd_sasl_path = private/auth" postconf -e "smtpd_sasl_path = private/auth"


# Sender and recipient restrictions # Sender and recipient restrictions
postconf -e "smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unknown_sender_domain, reject_unauth_pipelining, reject_non_fqdn_sender, reject_sender_login_mismatch, reject_authenticated_sender_login_mismatch, reject_known_sender_login_mismatch, reject_unauthenticated_sender_login_mismatch"
postconf -e "smtpd_sender_restrictions = permit_sasl_authenticated, reject_unknown_sender_domain, reject_unauth_pipelining, reject_non_fqdn_sender, reject_sender_login_mismatch, reject_authenticated_sender_login_mismatch, reject_known_sender_login_mismatch, reject_unauthenticated_sender_login_mismatch"
postconf -e "smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination" postconf -e "smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination"


# NOTE: the trailing slash here, or for any directory name in the home_mailbox # NOTE: the trailing slash here, or for any directory name in the home_mailbox


Loading…
Cancel
Save