Article View: demon.ip.developers
Article #1155Re: ReWork - "optimises" KA9Q .wrk files (maybe...)
From: Rod Ellery
Date: Wed, 14 Feb 1996 00:00
Date: Wed, 14 Feb 1996 00:00
48 lines
2740 bytes
2740 bytes
In article <824234609snx@holly.demon.co.uk>
mcr@holly.demon.co.uk "Mark Rogers" writes:
> In article <823885931snz@ellery.demon.co.uk>
> Rod Ellery <rod@ellery.demon.co.uk> writes:
> >
> > Another thing that can be of use is automating the use of the gateway
> > when sending the same message to more than one recipient. The logic I
> > use is:
> >
> > If one recipent
> > send message direct to recipient
> > else
> > if all recipients at same host
> > send one copy of the message to that host
> > else
> > send one copy of message to the gateway
>
> Provided that the mail is originally addressed to [B]CC to all recipients
> then this ought to be quite easy to implement. I don't intend the utility
> to scan all the .TXT files and try to combine multiple mails into one
> where the same content is being sent to more than one host, though. Each
> mail will be treated in isolation, preferably without having to modify
> (or even look at) the .TXT file at all.
>
> > It's actually a bit more complex than that to allow for CC: and BCC:
> > headers but you get the general idea.
>
> In theory the [B]CC: headers are irrelevant - all the information is in
> the .wrk file anyway. Or am I missing something?
>
You are probably correct here. The routine above comes from a program I
use to generate the WRK files in the first place. There is a bit of
header re-writing built in as well. My mailer (Pegasus for Dos) seems to
output 2 messages if there are BCC lines in the header, one addressed to
the TO and CC recipients and one addressed to the BCC recipients. I've
just implemented the 'Use gateway if greater then xxxxx bytes'
suggestion and am following the ideas here with interest. The time based
reworking will obviously have to be done immediately prior to
transmission not at message creation time so either I will have to wait
till then to generate the messages and implement the ideas myself or
(more likely) become a user of your routines when they are released.
--
Rod Ellery
Technical Details
Message-ID:
<824286190snz@ellery.demon.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<823721983snx@holly.demon.co.uk> <823828252snz@siberia.demon.co.uk> <823885931snz@ellery.demon.co.uk> <824234609snx@holly.demon.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10bb05,160678cd26486ba3 X-Google-Attributes: gid10bb05,public From: Rod Ellery <rod@ellery.demon.co.uk> Subject: Re: ReWork - "optimises" KA9Q .wrk files (maybe...) Date: 1996/02/14 Message-ID: <824286190snz@ellery.demon.co.uk> X-Deja-AN: 139412639 x-nntp-posting-host: ellery.demon.co.uk references: <823721983snx@holly.demon.co.uk> <823828252snz@siberia.demon.co.uk> <823885931snz@ellery.demon.co.uk> <824234609snx@holly.demon.co.uk> x-mail2news-path: ellery.demon.co.uk organization: home in Wimbledon. reply-to: Rod Ellery <rod@ellery.demon.co.uk> newsgroups: demon.ip.developers