powermta and vesta cp with mail wizz

Document

power mta instalation guide

  1. change the host names with ns1.domain.com and ns2.domain.com by giving ip
  2. for godaddy go to dns management >> advanced feature

  3. change the name server and ip in domain provider
  4. install vesta cp using their command lines andlso make rdns in contabo
  5. login to vesta cp

    >>user >> admin>>edit >> name server >>> SOA change it to ns1.yourdomain.com
    >> web >> add doamin >> add your doamin and do as needed
    DNS >> add record >> type A record >> ns1 and ns2 and ip for domain
    test the doamin and check it

  6. Mail >> domain.com>> add account >> info , bounce , dmarc and abuse@domain.com, postmaster@domain.com and fbl@domain.com.
    check the inbox wiht roundcube and fix if needed

    /etc/dovecot/dovecot.conf
    add the lines
    namespace inbox { inbox = yes }
    service dovecot restart
  7. install pmta and run pmtad --debug to debug the program
    first copy the /etc/pmta/licence
    secondly copy the files in /usr/sbin to the folder
    thirdly copy the config file after making changes
  8. set dkim record

    find / -name dkim.pem
    mv dkim.pem dkim_old
    openssl genrsa -out dkim.private.key 1024
    openssl rsa -in dkim.private.key -out dkim.public.key -pubout -outform PEM
    mv dkim.private.key dkim.pem
    vim dkim.public.key
    service pmta restart

    the dkim template


    Host: dkim._domainkey
    TXT Value : "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"

  9. set SPF and Dmarc

    SPF:
    "v=spf1 a mx ip4:54.218.71.176 p4:54.218.71.176 ip4:54.218.71.176 ~all"
    DMARC:
    v=DMARC1; p=none; fo=1; rua=mailto:dmarc@xmailing.me; ruf=mailto:dmarc@xmailing.me

    dns zone . txt record host @ txt valuse spf rexxord
  10. Add mx record and also add the ip servers in that .
  11. make changes to the /etc/sysconfig/network-scripts
    renaem and edit as follows
    GNU nano 2.3.1 File: /etc/sysconfig/network-scripts/ifcfg-eth0:2
    # Generated by parse-kickstart
    #UUID="7f061007-25ea-4b5a-bc39-1aad8da28505"
    #DNS2="213.136.95.10"
    #DNS1="213.136.95.11"
    IPADDR="144.91.82.34"
    GATEWAY="144.91.64.1"
    NETMASK="255.255.192.0"
    #BOOTPROTO="static"
    DEVICE="eth0:2"
    ONBOOT="yes"
    #IPV6INIT="yes"
    #IPV6ADDR="2a02:c207:2030:6799:0000:0000:0000:0001/64"
    #IPV6_DEFAULTGW="fe80::1"
    #IPV6_DEFAULTDEV="eth0"

    restart the network
  12. installing mail wizz

    web > add domain > add > soft.yourdomain.com
    upload to soft.yourdomain.com dir public_html
    unzip and copy lastest to soft.yourdomain.com public html dir mail folder
    install by >> soft.yourdoamin.com/mail/index.php
    fix issues chmod -R 777
    DB >> add db > naem email . user email etc and start importing
    admin credentials and do the cron job by crontab -e
    restart crond and remove the instlal folder rm -rf install

  13. setiing up bounce server
    servers > bounce > in host "server.doamin.com"
    server >> delivery server >> give config file id pass
    feedback loop >>> create 3 >> abuse , postmaster, fbl
  14. log in as the backend and create list then template and then campaign
idth, initial-scale=1.0"> Document

power mta instalation guide

  1. change the host names with ns1.domain.com and ns2.domain.com by giving ip
  2. for godaddy go to dns management >> advanced feature

  3. change the name server and ip in domain provider
  4. install vesta cp using their command lines andlso make rdns in contabo
  5. login to vesta cp

    >>user >> admin>>edit >> name server >>> SOA change it to ns1.yourdomain.com
    >> web >> add doamin >> add your doamin and do as needed
    DNS >> add record >> type A record >> ns1 and ns2 and ip for domain
    test the doamin and check it

  6. Mail >> domain.com>> add account >> info , bounce , dmarc and abuse@domain.com, postmaster@domain.com and fbl@domain.com.
    check the inbox wiht roundcube and fix if needed

    /etc/dovecot/dovecot.conf
    add the lines
    namespace inbox { inbox = yes }
    service dovecot restart
  7. install pmta and run pmtad --debug to debug the program
    first copy the /etc/pmta/licence
    secondly copy the files in /usr/sbin to the folder
    thirdly copy the config file after making changes
  8. set dkim record

    find / -name dkim.pem
    mv dkim.pem dkim_old
    openssl genrsa -out dkim.private.key 1024
    openssl rsa -in dkim.private.key -out dkim.public.key -pubout -outform PEM
    mv dkim.private.key dkim.pem
    vim dkim.public.key
    service pmta restart

    the dkim template


    Host: dkim._domainkey
    TXT Value : "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"

  9. set SPF and Dmarc

    SPF:
    "v=spf1 a mx ip4:54.218.71.176 p4:54.218.71.176 ip4:54.218.71.176 ~all"
    DMARC:
    v=DMARC1; p=none; fo=1; rua=mailto:dmarc@xmailing.me; ruf=mailto:dmarc@xmailing.me

    dns zone . txt record host @ txt valuse spf rexxord
  10. Add mx record and also add the ip servers in that .
  11. make changes to the /etc/sysconfig/network-scripts
    renaem and edit as follows
    GNU nano 2.3.1 File: /etc/sysconfig/network-scripts/ifcfg-eth0:2
    # Generated by parse-kickstart
    #UUID="7f061007-25ea-4b5a-bc39-1aad8da28505"
    #DNS2="213.136.95.10"
    #DNS1="213.136.95.11"
    IPADDR="144.91.82.34"
    GATEWAY="144.91.64.1"
    NETMASK="255.255.192.0"
    #BOOTPROTO="static"
    DEVICE="eth0:2"
    ONBOOT="yes"
    #IPV6INIT="yes"
    #IPV6ADDR="2a02:c207:2030:6799:0000:0000:0000:0001/64"
    #IPV6_DEFAULTGW="fe80::1"
    #IPV6_DEFAULTDEV="eth0"

    restart the network
  12. installing mail wizz

    web > add domain > add > soft.yourdomain.com
    upload to soft.yourdomain.com dir public_html
    unzip and copy lastest to soft.yourdomain.com public html dir mail folder
    install by >> soft.yourdoamin.com/mail/index.php
    fix issues chmod -R 777
    DB >> add db > naem email . user email etc and start importing
    admin credentials and do the cron job by crontab -e
    restart crond and remove the instlal folder rm -rf install

  13. setiing up bounce server
    servers > bounce > in host "server.doamin.com"
    server >> delivery server >> give config file id pass
    feedback loop >>> create 3 >> abuse , postmaster, fbl
  14. log in as the backend and create list then template and then campaign

Comments

Popular posts from this blog

How to install and config pmta full detailed

How to install wine in kalilinux for using .exe files in linux