[Mailman-Users] Getting mailman to use the same smtp connection for messages sent to the same domain

Simon White simon at mtds.com
Sat Feb 1 12:56:40 CET 2003


31-Jan-03 at 14:43, Barry A. Warsaw (barry at python.org) wrote :
> >>>>> "SW" == Simon White <simon at mtds.com> writes:
> 
>     SW> Chunking like this means that you're actually sending RCPT TO:
>     SW> based on TLD, and then only US TLDs, right? So SMTP_MAX_RCPTS
>     SW> set to 50 could mean several different second level domains in
>     SW> the same chunk, but for every TLD outside the US there will be
>     SW> separate sessions for each mail sent?
> 
> Not exactly.  All the other tlds get dropped in the same bucket and
> the chunks are filled from the buckets.  There are at most 4 buckets:
> 
> 0 == everything else
> 1 == .com
> 2 == .org .net
> 3 == .edu .us .ca

Most of mine are .fr and .ma, could performance increase if tweaked the
buckets?

>     SW> Not exactly easy in real code, but if what you say about the
>     SW> algorithm is true, then I could seriously improve performance
>     SW> for my lists by doing this. Right now, my MTA takes over 3
>     SW> hours to deliver the bulk of my 12000 subscriber list (not
>     SW> including bounces and poor receiving MX hosts).
> 
> I'm highly doubtful that the chunking algorithm is your problem.  More
> likely its an mta issue.

It's probably the machine, it doesn't have enough memory (64MB) and
python tends to be greedy, and also (big mistake) bind is running on the
machine and starts eating memory too.

Thanks for your responses, Barry.

-- 
|-Simon White, Internet Services Manager, Certified Check Point CCSA.
|-MTDS  Internet, Security, Anti-Virus, Linux and Hosting Solutions.
|-MTDS  14, rue du 16 novembre, Agdal, Rabat, Morocco.
|-MTDS  tel +212.3.767.4861 - fax +212.3.767.4863



More information about the Mailman-Users mailing list