Update: These 3 lines in Sendmail's /etc/mail/access file seem to reduce the errors.
ClientConn:(CLIENT_IP_ADDRESS)     0
GreetPause:(CLIENT_IP_ADDRESS)     0
ClientRate:(CLIENT_IP_ADDRESS)     0
Hard to say for sure, because the period of increased demand has passed.
Obviously you would not want to open the floodgates like this for just any machine.

However, my initial question stands (into OpenBD settings and how to throttle outgoing MTA connections, are those the administrator's "mail threads"?). If anyone would like to take a shot at that, I would be most appreciative.

Al


On 4/21/2013 2:25 PM, Alan Holden wrote:
How can I tell OpenBD to throttle back on the connection rate?

Back story:

I have an OpenBD 3,0 (2013-03-04 04:03:30 GMT) app running on an Amazon Web Service Tomcat6 instance. It was deployed from a WAR file that I build on the desktop version.

When this app wants to send an email, it relays through a different Ubuntu / Sendmail server - that I have here with me. Port 25. Usually... no problems, BUT:

When things get just slightly busy, my Sendmail log fills up with this:
reject=421 4.3.2 Connection rate limit exceeded.

The OpenBD app's Undelivered folder then fills with hundreds of dead messages.

I tried this in my Sendmail config: ClientConn:(AWS_ELASTIC_IP_ADDRESS)    0
Which should remove the connection restriction on the receiving end, but it's not helping.

From OpenBD Admin:
Timeout is set to 60
Mail Threads is set to 1
Spool Interval is set to 240

So while I'm off researching the Sendmail side:
How can I tell the OpenBD side to throttle back on the connection rate?

Al

Also, when I use the administrator's function to "immediately spool all undelivered mail", it apparently works - but I get this exception:

spoolingMailServer
Request /bluedragon/administrator/settings/_controller.cfm
File Trace/var/lib/tomcat6/webapps/collectx_api/bluedragon/administrator/settings/_controller.cfm
|
+-- /var/lib/tomcat6/webapps/collectx_api/bluedragon/adminapi/Mail.cfc
Type java.lang.NoSuchFieldException
Function(s) respoolUndeliveredMail (/var/lib/tomcat6/webapps/collectx_api/bluedragon/adminapi/Mail.cfc, Line=438, Column=76)
|
+--triggerMailSpool (/var/lib/tomcat6/webapps/collectx_api/bluedragon/adminapi/Mail.cfc, Line=461, Column=61)
Tag Context CFSET (/var/lib/tomcat6/webapps/collectx_api/bluedragon/adminapi/Mail.cfc, Line=464, Column=5)
|
+-- CFFUNCTION (/var/lib/tomcat6/webapps/collectx_api/bluedragon/adminapi/Mail.cfc, Line=461, Column=61)
    |
    +-- CFSET (/var/lib/tomcat6/webapps/collectx_api/bluedragon/adminapi/Mail.cfc, Line=457, Column=5)
        |
        +-- CFFUNCTION (/var/lib/tomcat6/webapps/collectx_api/bluedragon/adminapi/Mail.cfc, Line=438, Column=76)
            |
            +-- CFSET (/var/lib/tomcat6/webapps/collectx_api/bluedragon/administrator/settings/_controller.cfm, Line=721, Column=2)
                |
                +-- CFTRY (/var/lib/tomcat6/webapps/collectx_api/bluedragon/administrator/settings/_controller.cfm, Line=720, Column=7)
                    |
                    +-- CFCASE (/var/lib/tomcat6/webapps/collectx_api/bluedragon/administrator/settings/_controller.cfm, Line=719, Column=5)
                        |
                        +-- CFSWITCH (/var/lib/tomcat6/webapps/collectx_api/bluedragon/administrator/settings/_controller.cfm, Line=43, Column=3)
                            |
                            +-- CFSILENT (/var/lib/tomcat6/webapps/collectx_api/bluedragon/administrator/settings/_controller.cfm, Line=24, Column=1)
Source
461:         hint="Triggers the mail spool to start sending mail">
462:     <cfset checkLoginStatus() />
463:     
464:     <cfset createObject("java", "com.naryx.tagfusion.cfm.mail.cfMAIL").spoolingMailServer.notifySenders() />
465:   </cffunction>


--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en
 
---
You received this message because you are subscribed to the Google Groups "Open BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en
 
---
You received this message because you are subscribed to the Google Groups "Open BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to