Search (advanced search) | ||||
Use this Search form before posting, asking or make a new thread.
|
08-07-2013, 04:44 AM
(This post was last modified: 08-07-2013 12:57 PM by vbhishan.)
Post: #1
|
|||
|
|||
pmta config help
hello all experts,
this is my request to all experts out here to help, I have a windows box with interspire + hmail installed, recently i migrated from hmail to pmta 4.0 (torrent version), installation is done, but when it comes to configuration, i have copied from posts and from google and got the below config done, outgoing emails are being sent, but I am not able to 1) process the incoming mail (people replying or emails getting bounced 2) feedback loop config 3) scaling this to send to 30 million atleast I am planning to do legitimate email (transactional emails only) kindly help below is the config.dat hello all experts, this is my request to all experts out here to help, I have a windows box with interspire + hmail installed, recently i migrated from hmail to pmta 4.0 (torrent version), installation is done, but when it comes to configuration, i have copied from posts and from google and got the below config done, outgoing emails are being sent, but I am not able to 1) process the incoming mail (people replying or emails getting bounced 2) feedback loop config 3) scaling this to send to 30 million atleast I am planning to do legitimate email (transactional emails only) kindly help below is the config.dat host-name ori.smail.co.in host-name ori.zamail.co.in ############################################################################ # BEGIN: ISP rules ############################################################################ # domains that resolve to mx?.hotmail.com domain-macro hotmail hotmail.com, msn.com, hotmail.co.uk, hotmail.fr, live.com, hotmail.it, hotmail.de, email.msn.com <domain $hotmail> max-smtp-out 1 # prevent "exceeded the connection limit" max-msg-rate 250/h # prevent "exceeded the rate limit" </domain> # domains that resolve to ?.mx.mail.yahoo.com domain-macro yahoo yahoo.com, yahoo.ca, rocketmail.com, ymail.com, yahoo.com.au, geocities.com, yahoo.com.mx, yahoo.com.br <domain $yahoo> max-msg-per-connection 2 # yahoo policy max-msg-rate 250/h # prevent "exceeded the rate limit" </domain> # domains that resolve to mailin-0?.mx.aol.com domain-macro aol aol.com, aim.com, netscape.net, cs.com, mail.com, wmconnect.com, icqmail.com, email.com, usa.com <domain $aol> max-msg-rate 250/h # prevent "exceeded the rate limit" </domain> # domains that resolve to (alt?.)gmail-smtp-in.l.google.com domain-macro gmail gmail.com, googlemail.com <domain $gmail> max-msg-rate 250/h # prevent "exceeded the rate limit" </domain> # default domain settings <domain *> max-smtp-out 2 # default be nice on concurrent connections max-msg-per-connection 100 # max 500 mails in one session max-errors-per-connection 10 # avoid 'too long without data command' error max-msg-rate 10000/h bounce-upon-no-mx yes # proper mail domains should have mx assume-delivery-upon-data-termination-timeout yes # avoid duplicate deliveries retry-after 10m # typical greylisting period bounce-after 15d # default 4d12h smtp-pattern-list blocking-errors backoff-max-msg-rate 1/m # send only regular tries during backoff (default unlimited) backoff-retry-after 20m # retry at least every 20m (default 1h) backoff-notify "" # disable backoff notifications backoff-to-normal-after-delivery yes # revert to normal asap (default no) backoff-to-normal-after 1h # always revert to normal after 1h (default never) dk-sign yes dkim-sign yes </domain> ############################################################################ # END: ISP rules ############################################################################ ############################################################################ # BEGIN: BACKOFF RULES ############################################################################ <smtp-pattern-list common-errors> reply /generating high volumes of.* complaints from AOL/ mode=backoff reply /Excessive unknown recipients - possible Open Relay/ mode=backoff reply /^421 .* too many errors/ mode=backoff reply /blocked.*spamhaus/ mode=backoff reply /451 Rejected/ mode=backoff </smtp-pattern-list> <smtp-pattern-list blocking-errors> # # A QUEUE IN BACKOFF MODE WILL SEND MORE SLOWLY # To place a queue back into normal mode, a command similar # to one of the following will need to be run: # pmta set queue --mode=normal yahoo.com # or # pmta set queue --mode=normal yahoo.com/vmta1 # # To use backoff mode, uncomment individual <domain> directives # #AOL Errors reply /421 .* SERVICE NOT AVAILABLE/ mode=backoff reply /generating high volumes of.* complaints from AOL/ mode=backoff reply /554 .*aol.com/ mode=backoff reply /421dynt1/ mode=backoff reply /HVU:B1/ mode=backoff reply /DNS:NR/ mode=backoff reply /RLY:NW/ mode=backoff reply /DYN:T1/ mode=backoff reply /RLY:BD/ mode=backoff reply /RLY:CH2/ mode=backoff # #Yahoo Errors reply /421 .* Please try again later/ mode=backoff reply /421 Message temporarily deferred/ mode=backoff reply /VS3-IP5 Excessive unknown recipients/ mode=backoff reply /VSS-IP Excessive unknown recipients/ mode=backoff # # The following 4 Yahoo errors may be very common # Using them may result in high use of backoff mode # reply /\[GL01\] Message from/ mode=backoff reply /\[TS01\] Messages from/ mode=backoff reply /\[TS02\] Messages from/ mode=backoff reply /\[TS03\] All messages from/ mode=backoff # #Hotmail Errors reply /exceeded the rate limit/ mode=backoff reply /exceeded the connection limit/ mode=backoff reply /Mail rejected by Windows Live Hotmail for policy reasons/ mode=backoff reply /mail.live.com\/mail\/troubleshooting.aspx/ mode=backoff # #Adelphia Errors reply /421 Message Rejected/ mode=backoff reply /Client host rejected/ mode=backoff reply /blocked using UCEProtect/ mode=backoff # #Road Runner Errors reply /Mail Refused/ mode=backoff reply /421 Exceeded allowable connection time/ mode=backoff reply /amIBlockedByRR/ mode=backoff reply /block-lookup/ mode=backoff reply /Too many concurrent connections from source IP/ mode=backoff # #General Errors reply /too many/ mode=backoff reply /Exceeded allowable connection time/ mode=backoff reply /Connection rate limit exceeded/ mode=backoff reply /refused your connection/ mode=backoff reply /try again later/ mode=backoff reply /try later/ mode=backoff reply /550 RBL/ mode=backoff reply /TDC internal RBL/ mode=backoff reply /connection refused/ mode=backoff reply /please see http://www.spamhaus.org/ mode=backoff reply /Message Rejected/ mode=backoff reply /refused by antispam/ mode=backoff reply /Service not available/ mode=backoff reply /currently blocked/ mode=backoff reply /locally blacklisted/ mode=backoff reply /not currently accepting mail from your ip/ mode=backoff reply /421.*closing connection/ mode=backoff reply /421.*Lost connection/ mode=backoff reply /476 connections from your host are denied/ mode=backoff reply /421 Connection cannot be established/ mode=backoff reply /421 temporary envelope failure/ mode=backoff reply /421 4.4.2 Timeout while waiting for command/ mode=backoff reply /450 Requested action aborted/ mode=backoff reply /550 Access denied/ mode=backoff reply /exceeded the rate limit/ mode=backoff reply /421rlynw/ mode=backoff reply /permanently deferred/ mode=backoff reply /\d+\.\d+\.\d+\.\d+ blocked/ mode=backoff reply /www\.spamcop\.net\/bl\.shtml/ mode=backoff reply /generating high volumes of.* complaints from AOL/ mode=backoff reply /Excessive unknown recipients - possible Open Relay/ mode=backoff reply /^421 .* too many errors/ mode=backoff reply /blocked.*spamhaus/ mode=backoff reply /451 Rejected/ mode=backoff </smtp-pattern-list> ############################################################################ # END: BACKOFF RULES ############################################################################ ############################################################################ # BEGIN: BOUNCE RULES ############################################################################ <bounce-category-patterns> /spam/ spam-related /junk mail/ spam-related /blacklist/ spam-related /blocked/ spam-related /\bU\.?C\.?E\.?\b/ spam-related /\bAdv(ertisements?)?\b/ spam-related /unsolicited/ spam-related /\b(open)?RBL\b/ spam-related /realtime blackhole/ spam-related /http:\/\/basic.wirehub.nl\/blackholes.html/ spam-related /\bvirus\b/ virus-related /message +content/ content-related /content +rejected/ content-related /quota/ quota-issues /limit exceeded/ quota-issues /mailbox +(is +)?full/ quota-issues /\bstorage\b/ quota-issues /(user|mailbox|recipient|rcpt|local part|address|account|mail drop|ad(d?)ressee) (has|has been|is)? *(currently|temporarily +)?(disabled|expired|inactive|not activated)/ inactive-mailbox /(conta|usu.rio) inativ(a|o)/ inactive-mailbox /Too many (bad|invalid|unknown|illegal|unavailable) (user|mailbox|recipient|rcpt|local part|address|account|mail drop|ad(d?)ressee)/ other /(No such|bad|invalid|unknown|illegal|unavailable) (local +)?(user|mailbox|recipient|rcpt|local part|address|account|mail drop|ad(d?)ressee)/ bad-mailbox /(user|mailbox|recipient|rcpt|local part|address|account|mail drop|ad(d?)ressee) +(\S+@\S+ +)?(not (a +)?valid|not known|not here|not found|does not exist|bad|invalid|unknown|illegal|unavailable)/ bad-mailbox /\S+@\S+ +(is +)?(not (a +)?valid|not known|not here|not found|does not exist|bad|invalid|unknown|illegal|unavailable)/ bad-mailbox /no mailbox here by that name/ bad-mailbox /my badrcptto list/ bad-mailbox /not our customer/ bad-mailbox /no longer (valid|available)/ bad-mailbox /have a \S+ account/ bad-mailbox /\brelay(ing)?/ relaying-issues /domain (retired|bad|invalid|unknown|illegal|unavailable)/ bad-domain /domain no longer in use/ bad-domain /domain (\S+ +)?(is +)?obsolete/ bad-domain /denied/ policy-related /prohibit/ policy-related /rejected/ policy-related /refused/ policy-related /allowed/ policy-related /banned/ policy-related /policy/ policy-related /suspicious activity/ policy-related /bad sequence/ protocol-errors /syntax error/ protocol-errors /\broute\b/ routing-errors /\bunroutable\b/ routing-errors /\bunrouteable\b/ routing-errors /^2.\d.\d/ success /^[45]\.1\.1/ bad-mailbox /^[45]\.1\.2/ bad-domain /^[45]\.3\.5/ bad-configuration /^[45]\.4\.1/ no-answer-from-host /^[45]\.4\.2/ bad-connection /^[45]\.4\.4/ routing-errors /^[45]\.4\.6/ routing-errors /^[45]\.4\.7/ message-expired /^[45]\.7\.1/ policy-related // other # catch-all </bounce-category-patterns> ############################################################################ # END: BOUNCE RULES ############################################################################ ############################################################################ # BEGIN: OTHER OPTIONS ############################################################################ postmaster postmaster@ori.smail.co.in postmaster postmaster@ori.zamail.co.in smtp-port 25 smtp-listener 0.0.0.0:25 relay-domain ori.smail.co.in relay-domain ori.zamail.co.in relay-address jas@ori.smail.co.in relay-address bounce@ori.smail.co.in relay-address abuse@ori.smail.co.in relay-address anu@ori.zamail.co.in relay-address bounce@ori.zamail.co.in relay-address abuse@ori.zamail.co.in #<domain ori.smail.co.in> # route [232.248.192.203]:9999 #</domain> #<domain ori.zamail.co.in> # route [232.248.192.204]:9999 #</domain> <source 0/0> allow-unencrypted-plain-auth yes </source> sync-msg-create false sync-msg-update false run-as-root no log-file log\pmta.log # logrotate is used for rotation <acct-file log\acct.csv> # move-to /opt/myapp/pmta-acct # configure as fit for your application # move-interval 5m max-size 5M </acct-file> # transient errors (soft bounces) <acct-file log\diag.csv> move-interval 1d delete-after never records t </acct-file> # # spool directories # <spool C:\pmta\spool> </spool> http-mgmt-port 8888 http-access 127.0.0.1 admin ############################################################################ # END: OTHER OPTIONS ############################################################################ ############################################################################ # BEGIN: USERS/VIRTUAL-MTA / VIRTUAL-MTA-POOL / VIRTUAL-PMTA-PATTERN ############################################################################ # BEGIN : PowerMta Configuration #BEGIN: Users Virtual MTA's <smtp-user jassi> password wann@2G%0 source {pmta-vmta0-auth} </smtp-user> <source {pmta-vmta0-auth}> smtp-service yes always-allow-relaying yes require-auth true process-x-virtual-mta yes default-virtual-mta jassi remove-received-headers true add-received-header false hide-message-source true #pattern-list pmta-pattern </source> <smtp-user anu> password laksh3@1 source {pmta-vmta1-auth} </smtp-user> <source {pmta-vmta1-auth}> smtp-service yes always-allow-relaying yes require-auth true process-x-virtual-mta yes default-virtual-mta anu remove-received-headers true add-received-header false hide-message-source true #pattern-list pmta-pattern </source> <virtual-mta jassi> smtp-source-host 232.248.192.203 ori.smail.co.in domain-key auth2,ori.smail.co.in,c:\pmta\safeemail.pem <domain *> #max-msg-rate 134/h </domain> </virtual-mta> <domain ori.smail.co.in> route [232.248.192.203]:25 </domain> <virtual-mta anu> smtp-source-host 232.248.192.204 ori.zamail.co.in domain-key auth2,ori.zamail.co.in,c:\pmta\genuineemail.pem <domain *> #max-msg-rate 134/h </domain> </virtual-mta> <domain ori.zamail.co.in> route [232.248.192.204]:25 </domain> <virtual-mta-pool pmta-pool> virtual-mta jassi virtual-mta anu </virtual-mta-pool> <pattern-list pmta-pattern> mail-from /ori.smail.co.in/ virtual-mta=jassi mail-from /ori.zamail.co.in/ virtual-mta=anu </pattern-list> # END : PowerMta Configuration ############################################################################ # END: USERS/VIRTUAL-MTA / VIRTUAL-MTA-POOL / VIRTUAL-PMTA-PATTERN ############################################################################ |
|||
08-17-2013, 09:04 AM
Post: #2
|
|||
|
|||
RE:
Hi All,
I found a great tool which can generate PMTA config file and cpanel accounts automatically. It is really awesome. |
|||
09-07-2013, 04:35 AM
Post: #3
|
|||
|
|||
RE:
This F****** interspireaddon guy needs to be F****** removed with all this spamming threads with his bullshit as bad as that d*** zilovich guy...
To the OP - place your stuff within the code tags. PowerMTA configuration depends on many variables and is pretty much customized for each platform and/or mailer - I highly suggest if you're going to use such a beast of a platform such as PowerMTA then you most definitely need to read the manual front to back more than once. |
|||
09-10-2013, 09:10 AM
Post: #4
|
|||
|
|||
RE:
ha ha ha
shut your dirty mouth. |
|||
09-10-2013, 01:47 PM
Post: #5
|
|||
|
|||
RE:
|
|||
07-08-2014, 07:11 PM
Post: #6
|
|||
|
|||
RE:
1) What is the best way to rotate IP addresses in PowerMTA, and how?
2) How to automatically stop sending mail from blacklisted IP address with PowerMTA ? |
|||
07-20-2014, 02:14 PM
Post: #7
|
|||
|
|||
RE:
best way to rotate IPs in PMTA Is using a VMTA. and as far as the blacklisting I'm not sure your software might need to do that. I use an all custom frontend with PMTA backend.. however I am very good at pmta config setups. hit me up if you need any additional help..
|
|||
09-25-2014, 01:43 AM
Post: #8
|
|||
|
|||
RE:
hello experts,
how we can change pmta config to make Received header ip that came from isp as our sending ip. Please share ur ideas. |
|||
09-25-2014, 07:00 AM
Post: #9
|
|||
|
|||
RE:
@vbhishan please clear your PM box so I can message you mate.
|
|||
09-27-2014, 04:40 AM
Post: #10
|
|||
|
|||
RE:
(07-08-2014 07:11 PM)pradipbarua Wrote: 1) What is the best way to rotate IP addresses in PowerMTA, and how?config like this <source 0.0.0.0> always-allow-relaying yes process-x-virtual-mta yes max-message-size 0 smtp-service yes remove-received-headers true add-received-header false hide-message-source yes default-virtual-mta v1pool </source> |
|||