PowerMTA Configuration Tips

Discussion in 'Noob Central' started by JohnFarrell, Mar 7, 2012.

  1. JohnFarrell

    JohnFarrell VIP

    Joined:
    Apr 13, 2011
    Messages:
    828
    Likes Received:
    35
    Trophy Points:
    0
    I figure some tips with setting up PowerMTA to mail TLD would help some people that aren't to familiar with PowerMTA or are set in their ways and might not have known about a certain feature.


    PowerMTA doesn't put IPs into back offs it puts VMTAs into back off.

    Setup each IP so it's in it's own VMTA. You do this so that way when 1 ip hits a backoff you can still mail on the remaining ips. For example you have 10 ips tied to 1 domain and you have 1 vmta setup to round robin over them they will all go into back off the moment 1 ip hits a TS01, DYN:T1, etc.

    Setup pools so you can round robin over the vmtas while feeding without having to complicate your feeder any more than necessary.

    Example:
    IP: 127.0.0.1 -> vmta1
    IP 127.0.0.2 -> vmta2
    IP: 127.0.0.3 -> vmta3

    IP: 10.1.1.1 -> vmta4
    IP 10.1.1.2 -> vmta5
    IP: 10.1.1.3 -> vmta6

    You want to use domains domain1.com, domain2.com, and domain3.com over vmta1 to vmta3 and domain4.com, domain5.com, and domain6.com on vmta4 to vmta6.

    setup a pattern list like this

    <pattern-list vmta-redirects>
    mail-from [email protected]$/ virtual-mta=127-0-0-x-pool
    mail-from [email protected]$/ virtual-mta=127-0-0-x-pool
    mail-from [email protected]$/ virtual-mta=127-0-0-x-pool
    mail-from [email protected]$/ virtual-mta=10-1-1-x-pool
    mail-from [email protected]$/ virtual-mta=10-1-1-x-pool
    mail-from [email protected]$/ virtual-mta=10-1-1-x-pool
    </pattern-list>

    If you have the pools setup correctly then all the mail from domain1.com, domain2.com, etc will round robin over all the vmtas listed in the pool and you won't have to worry about adding any extra headers (x-sender, x-receiver, x-virtual-mta). If you're using mailmerge then you'll still have to add all the junk that goes along with that in your feeder.

    Don't use backoff-reroute-to-virtual-mta, because you'll end up with all your mail in a single vmta causing you headaches.


    This wasn't meant to be an end all be all so if anyone wants to throw some more things out there please do. Post any questions as well.
     
  2. mx10

    mx10 VIP

    Joined:
    Mar 30, 2011
    Messages:
    535
    Likes Received:
    18
    Trophy Points:
    18
    super secret pmta command:

    pmta debug


    for instance:

    pmta debug show-threads

    pmta debug show-schedule

    pmta debug show-queue --queue=domainname/vmtaname

    [​IMG]

    chinese mysticism bitch!
     
    Last edited: Mar 7, 2012
  3. mx10

    mx10 VIP

    Joined:
    Mar 30, 2011
    Messages:
    535
    Likes Received:
    18
    Trophy Points:
    18
    increase GI performance, reduce dns timeouts:

    max-name-queries 8192
     
  4. ace1247

    ace1247 VIP

    Joined:
    Nov 9, 2011
    Messages:
    74
    Likes Received:
    3
    Trophy Points:
    0
    Great tips. Thanks for sharing.
     
  5. jrstokka

    jrstokka VIP

    Joined:
    Jun 23, 2011
    Messages:
    84
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Des Moines, IA
    What does this command do exactly?
     
  6. nickphx

    nickphx VIP

    Joined:
    Apr 2, 2011
    Messages:
    1,139
    Likes Received:
    363
    Trophy Points:
    83
    Gender:
    Male
    Location:
    guadalajara, chiuhuahua
    specifies max # simultaneous name queries, default 2048
     
  7. spamalot

    spamalot New Member

    Joined:
    May 14, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    I was thinking of buying a license for PowerMTA but they said that they don't have a front-end. They gave me a few suggestions of front end applications, and I wanted to see if anyone has some suggestions about a good front-end for PMTA or are you using something custom.
     
  8. noobking

    noobking Member

    Joined:
    Nov 28, 2011
    Messages:
    209
    Likes Received:
    5
    Trophy Points:
    18
    from what I see, most people use customized IEM and some guys use activacampaigns
     
  9. JohnFarrell

    JohnFarrell VIP

    Joined:
    Apr 13, 2011
    Messages:
    828
    Likes Received:
    35
    Trophy Points:
    0
    @spamalot and @noobking

    There's very few frontends I've seen that are worth month. The ones I have seen are all private :(.
     
  10. noobking

    noobking Member

    Joined:
    Nov 28, 2011
    Messages:
    209
    Likes Received:
    5
    Trophy Points:
    18
    do you have any suggestions?
     
  11. JohnFarrell

    JohnFarrell VIP

    Joined:
    Apr 13, 2011
    Messages:
    828
    Likes Received:
    35
    Trophy Points:
    0
    Unfortunately I don't right now
     
  12. DKPMO

    DKPMO VIP

    Joined:
    Mar 31, 2011
    Messages:
    1,452
    Likes Received:
    68
    Trophy Points:
    48
    Location:
    Elaborate Underground Base
    The real question is why the forum should allow usernames like "spamalot".

    Shouldn't it be possible to prevent this from happening at registration time by some keyword filters?
     
  13. PushSend

    PushSend VIP

    Joined:
    Apr 12, 2011
    Messages:
    1,927
    Likes Received:
    141
    Trophy Points:
    63
    Location:
    Paradise
    While I understand your question and this guys UN did kinda catch my attention (I almost pulled out the ol' ban hammer) I think the sum of his posts will reflect more about him and his/her (if it's a 'her' - sorry) mailing technique/strategy than his UN. So in this case just know that posts are being carefully monitored and should anything less than acceptable show up...

    :viking:
     

Share This Page