Bash smtp installer centos 7

Job ID: 34843611

Budget: $10 – $30 USD

Hi.
I need make a bash script that install and config server as smtp.
if you can do it in one-line command that do the same (config server as smtp) will be ven better.

I want use this smtp from my pc. so the script must do:

install sendmail or postfix
config port, iptables, auth.

PD: I will run this command in many CENTOS 7 servers and must work in all.

thanks !
Related categories: System Admin Linux Shell Script Debian CentOs