[Mailman-Users] throttling mailman for a relay smtp server
anotheranne at fables.co.za
Mon Oct 24 20:22:59 CEST 2011
in essence this has worked well and I did not exceeded the limits given
for the smtp connection.
I retained use of Postfix relaying to the isp's smtp server purely
because it is going as is. No idea of whether setting
SMTPHOST = smtp.myisp.com would be what I should do to any advantage
but since it wasn't broken I didn't fix it.
Now the question of the initial settings for the throttle patch:
THROTTLE_TIME = 60
THROTTLE_LIMIT = 20 (since upped nearer to stated limit for 60s)
so tailing the log I see them leaving in batches of 20. ie 20 messages
in 60 seconds, no problem
Our most common local domain is telkomsa.net and when I see one of
those picked up in the batch of 20 the following messages in that batch
were all to that domain.
The setting for
SMTP_MAX_RCPTS = 50
Am I right that this would be the max number of telkomsa.net messages
that could be grouped together to that domain? (I don't know how this
works but imagine that you can send one message bagged with multiple
addresses to one domain)
Therefore as I understand this, no point in having SMTP_MAX_RCPTS >
THROTTLE_LIMIT as in the example given the result would be unchanged
from setting SMTP_MAX_RCPTS = 20
Is my understanding correct?
On Sun, 16 Oct 2011 09:20:21 -0700
Mark Sapiro <mark at msapiro.net> wrote:
> On 10/16/2011 6:09 AM, Anne Wainwright wrote:
> > 2. I see a patch for SMTPDirect that looks like it might be good and
> > perhaps an easier route
> It should work.
> > 3. Then I see Mailman FAQ 4.72 "How do I configure Mailman to use an
> > external SMTP server?"
> > 4. confusion because this says "In mm_cfg.py add or modify:
> > DELIVERY_MODULE = 'SMTPDirect'
> > SMTPHOST = 'mail.example.com' "
> > and they are not in my mm_cfg.py and anyway we are running with postfix
> SMTPDirect is the default. See Defaults.py.
> The default for SMTPHOST is 'localhost', i.e. your Postfix. If you
> override this in mm_cfg.py, you are saying connect to port 25 of
> whatever host you specify to send the mail rather than your own Postfix.
> > ??? does SMTPDirect replace having postfix do the smtp-ing?
> No. SMTPDirect is the Mailman module that delivers to your Postfix (or
> to SMTPHOST) via SMTP. There is no viable alternative - the 'Sendmail'
> module is NOT recommended.
> > ??? the patch patches SMTPDirect so it won't do anything if I do not
> > explicitly declare it in mm_cfg.py?
> Wrong. SMTPDirect is the default handler.
> > ??? what will happen then?
> > ??? should I just patch it anyway and it will go for me?
More information about the Mailman-Users