Skip to content

Commit

Permalink
Add postfix config files
Browse files Browse the repository at this point in the history
  • Loading branch information
martbock committed Jun 20, 2019
1 parent b7b4a76 commit 6014689
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions postfix/config/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.db
Empty file added postfix/config/access_client
Empty file.
Empty file added postfix/config/access_helo
Empty file.
Empty file added postfix/config/access_recipient
Empty file.
Empty file added postfix/config/access_sender
Empty file.
Empty file added postfix/config/local_domains
Empty file.
Empty file.
2 changes: 1 addition & 1 deletion postfix/config/master.cf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
# -o milter_macro_daemon_name=ORIGINATING
#628 inet n - - - - qmqpd
smtp inet n - y - - smtpd -v
smtp inet n - y - - smtpd
-o smtpd_tls_received_header=yes
-o content_filter=
pickup unix n - y 60 1 pickup
Expand Down
Empty file.
Empty file.
8 changes: 8 additions & 0 deletions postfix/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,14 @@ find /srv/sql/ -type f -name '*.cf' -exec sed -i "s/127.0.0.1/${DB_HOST}/g" {} \
##

postconf -e "myhostname = $HOSTNAME"
postmap /srv/config/access_client
postmap /srv/config/access_helo
postmap /srv/config/access_recipient
postmap /srv/config/access_sender
postmap /srv/config/local_domains
postmap /srv/config/local_only_reject.regexp
postmap /srv/config/mime_header_checks.pcre
postmap /srv/config/postscreen_access.cidr

########
##
Expand Down

0 comments on commit 6014689

Please sign in to comment.