Created
March 21, 2013 20:16
-
-
Save aweiteka/5216312 to your computer and use it in GitHub Desktop.
basic mail server (MTA) to receive email from test infrastructure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# setup inbound mail server for mail processing | |
# will forward mail for delivery | |
subscription-manager register --username=******@redhat.com --password=************** --autosubscribe | |
yum update -y | |
yum install -y postfix mutt | |
postconf -e "inet_interfaces = all" | |
postconf -e "mynetworks_style = class" | |
postconf -e "mynetworks = 10.0.0.0/8" | |
# if sendmail running, kill it | |
service postfix start && chkconfig postfix on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment