Skip to content

Commit

Permalink
Docker setup: fix Postfix sasl_passwd
Browse files Browse the repository at this point in the history
Need to update FQDN parameter to reflect new parameter name
  • Loading branch information
stsnel committed Jan 23, 2025
1 parent 74b496f commit eb127aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/images/mta/mta-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ if [ "$MTA_ROLE" == "mailpit" ]
then BINDIP=$(ip addr | grep eth0 | grep inet | awk '{print $2}' | cut -d '/' -f 1)
/mailpit.bin -s $BINDIP:25 --webroot mailpit
elif [ "$MTA_ROLE" == "postfix" ]
then echo "[$POSTFIX_RELAYHOST]:$POSTFIX_RELAYHOST_PORT $POSTFIX_RELAYHOST_USERNAME:$POSTFIX_RELAYHOST_PASSWORD" > /etc/postfix/sasl_passwd
then echo "[$POSTFIX_RELAYHOST_FQDN]:$POSTFIX_RELAYHOST_PORT $POSTFIX_RELAYHOST_USERNAME:$POSTFIX_RELAYHOST_PASSWORD" > /etc/postfix/sasl_passwd
cd /etc/postfix
postmap sasl_passwd

Expand Down

0 comments on commit eb127aa

Please sign in to comment.