Skip to content

Commit 2100c02

Browse files
committed
Updating Postfix to resolve Invalid HELO name issue.
1 parent 4cdf9e6 commit 2100c02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ echo
379379
echo
380380
echo "Install and configure postfix as email gateway (send only)"
381381
# http://library.linode.com/email/postfix/gateway-ubuntu-10.04-lucid
382+
echo "The value you assign as your system's FQDN should have an \"A\" record in DNS pointing to your IPv4 address."
382383
echo "---------------------------------------------------------------"
383384
#
384385
echo "postfix postfix/main_mailer_type select Internet Site" | debconf-set-selections
@@ -389,8 +390,6 @@ aptitude -y install postfix mailutils
389390
#
390391
ln -s /usr/bin/mail /bin/mail
391392
#
392-
sed -i "s/myhostname =/#myhostname =/g" /etc/postfix/main.cf
393-
echo "myhostname = $HOSTNAME" >> /etc/postfix/main.cf
394393
sed -i "s/#myorigin = \/etc\/mailname/myorigin = $DOMAIN/g" /etc/postfix/main.cf
395394
#
396395
echo
@@ -1016,6 +1015,7 @@ echo
10161015
echo "Adding custom OWASP configuration"
10171016
# http://permalink.gmane.org/gmane.comp.apache.mod-security.user/8735
10181017
# https://ppmts.custhelp.com/app/answers/detail/a_id/92
1018+
# http://www.modsecurity.org/blog/archives/intrusion_detection/ - see Handling False Positives Using Exceptions
10191019
echo "---------------------------------------------------------------"
10201020
#
10211021
echo "# Whitelisting notify.paypal.com(IPN)

0 commit comments

Comments
 (0)