# Power MTA manager 1.0 ## Server Side ### domain ### create a smtp password for user ```bash= <smtp-user cybwernews> password somepass source {smtpuser-auth} </smtp-user> ``` ```bash= <source {smtpuser-auth}> smtp-service yes always-allow-relaying yes require-auth true process-x-virtual-mta yes default-virtual-mta vmta-1 remove-received-headers true #add-received-headers false hide-message-source true </source> ``` smtp-service yes | no default-virtual-mta vmta-1 [ default mta] the variable can be changed to adjust the default pool {smtpuser-auth1} or {smtpuser-auth2} ### domains ```bash= <virtual-mta vmta-1> smtp-source-host 1.2.3.4 codaily.com <domain *> max-msg-rate 100/h </domain> </virtual-mta> ``` max-msg-rate 100/h setting the limitation ### DKIM keys ```bash= domain-key mail, dooxsmtp.com, /etc/pmta/dkim/dooxsmtp.com.pem domain-key mail, marketing-globalbsg.com, /etc/pmta/dkim/marketing-globalbsg.com.pem ``` ```bash= <virtual-mta vmta2> host-name dooxsmtp.com <domain *> dkim-sign yes dkim-algorithm rsa-sha256 max-msg-rate 400/h </domain> smtp-source-host 51.178.13.130 dooxsmtp.com </virtual-mta> ``` the most important parameters are host-name dooxsmtp.com - our domain max-msg-rate 400/h - sending speeed smtp-source-host 51.178.13.130 dooxsmtp.com - ip from the pool ### ip pools need to add ip addresses and bind them into pools to create a new ip pool ```bash= <virtual-mta vmta3> host-name marketing-globalbsg.com <domain *> dkim-sign yes dkim-algorithm rsa-sha256 </domain> smtp-source-host 164.132.155.236 marketing-globalbsg.com </virtual-mta> <virtual-mta vmta4> host-name marketing-globalbsg.com <domain *> dkim-sign yes dkim-algorithm rsa-sha256 max-msg-rate 5000/h </domain> smtp-source-host 217.182.4.254 marketing-globalbsg.com </virtual-mta> <virtual-mta vmta5> host-name conferences-globalbsg.com <domain *> dkim-sign yes dkim-algorithm rsa-sha256 max-msg-rate 5000/h </domain> smtp-source-host 188.165.3.179 conferences-globalbsg.com </virtual-mta> <virtual-mta vmta6> host-name conferences-globalbsg.com <domain *> dkim-sign yes dkim-algorithm rsa-sha256 </domain> smtp-source-host 94.23.149.8 conferences-globalbsg.com </virtual-mta> ``` ### Example of the actual pool ```bash= <virtual-mta-pool mta-pool1> virtual-mta vmta3 virtual-mta vmta4 </virtual-mta-pool> <virtual-mta-pool mta-pool2> virtual-mta vmta5 virtual-mta vmta6 </virtual-mta-pool> ``` where : mta-pool1 is the name of the pool virtual-mta vmta3 virtual-mta vmta4 are ips inside ### Bounce processing ```bash= relay-address bounce@cybernews.cloud relay-address bounce@codaily.com <bounce-processor> deliver-unmatched-email yes # default: no deliver-matched-email yes # default: no <address-list> domain cybernews.cloud # whole domain address /bounce@cybernews.cloud/ #regex domain codaily.com [1]# whole domain address /bounce@codaily.com/ #regex </address-list> </bounce-processor> <domain cybernews.cloud> smtp-hosts [1.2.3.8]:25 </domain> <domain codaily.com [1]> smtp-hosts [1.2.3.9]:25 </domain> ``` ### webhook
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up