Postmulti – CentOS-7

Postmulti is great! Here are some commands I have found useful:

=================================================
####Initiate MultiInstance – this only needs to be done once
postmulti e init

####Create Secondary Instance postfix-ses – you can use any name here instead of ‘ses’ but each instance needs an unique name
postmulti I postfixses e create
####Enable Secondary Instance

postmulti i postfixses e enable

 

####To view your list of postfix instances
postmulti -l
####To view the mail queue for a specific instance
postmulti -i <instance name> -x mailq
####To manage queues
postmulti -i <instance name> -x postsuper -d ALL
postmulti -i <instance name> -x postsuper -d deferred
postmulti -i <instance name> -x postsuper -d HOLD