Skip to content

Commit 945a6f5

Browse files
committed
exim.sh
1 parent 7b81aae commit 945a6f5

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed
File renamed without changes.

mail/exim.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
yum install -y exim
2+
chkconfig exim on
3+
4+
cp /etc/exim/exim.conf{,.original}
5+
6+
cat > /etc/security/limits.d/95-exim.conf <<EOF
7+
exim soft nproc 1024
8+
exim soft nofile 40960
9+
EOF
10+
11+
alternatives --config mta
12+
13+
service exim start
14+
15+
iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 25 -j ACCEPT
16+
service iptables save
17+
18+
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)