[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reading envelope in process.cf
On Thu, May 08, 2003 at 12:22:50PM +0200, Marek Kowal wrote:
> > For some odd reason if the whole processing (while read ...
> > ; do ..; done)
> > is wrapped into a subroutine, and that routine is called
> > with IO rediction,
> > those problems disappear.
> Unfortunately, it didn't help - the problem reappeared after 10 minutes...
Hmm.. Must debug it then.
I committed just some test code to the libsh/builtins.c, and
it will print out to STDERR strings of style:
SHREAD[*] bufsize=%u buf=%p
Put that into running, and once it freezes, grep those ("SHREAD")
lines to me. It will give me stuff to point me to correct direction.
> > (And you could do it all with one ssift instead of case.)
> This was done with the intent that regexp's are more expensive that simple
> line comparision, so I first used "case" to find the lines beginning with
> "to <", and only then used ssift to grab the domain part of the address. Our
> systems are really heavily loaded, so every "trick" is usually worth trying
ZMailers can be parallel tasked / clusterized to an extent.
Final delivery is somewhat difficult, but generic queue/relay
parallellizes quite nicely.
Even the final delivery to e.g. external Cyrus IMAP store
will work just fine thru a cluster, as long as the number of
maintainable databases is kept low (preferrably just domains,
or some such trivial.)
/Matti Aarnio <firstname.lastname@example.org>
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to email@example.com