Re: Patch to have mailfront qmail backend evaluate QMAILQUEUE later

Scott Gifford <[email protected]> Mon, 21 Mar 2011 22:42:52 -0400
Newsgroups gmane.comp.sysutils.bgware
Message-ID <[email protected]>
--000e0cd5c93a030596049f0936f8
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Mar 21, 2011 at 5:14 PM, Bruce Guenter <[email protected]> wrote:

> On Wed, Mar 16, 2011 at 04:30:10PM -0400, Scott Gifford wrote:
> > This patch defers looking at QMAILQUEUE until it is necessary (at SMTP
> DATA
> > if there is no temporary file, or at the end of the message if there is a
> > temporary file).  It also consolidates the code a bit.
>
> Great idea, thanks!  Applied and pushed.
>

Thanks!


> > I have also included the plugin I wrote with this, in case it is helpful
> to
> > anybody.
>
> As it stands, it's too specific to go in to mailfront, but I could
> easily see something a little more generic go in.  Being able to shunt
> off messages with lots of recipients could be quite useful.
> Alternately, I've seen a site where a particular set of senders get
> pushed to a different queue.  Unfortunately, once all the permutations
> get considered, it's hard to account for them all short of writing an
> interpreter (or at least a general expression evaluator with regexps).
>

Sure, makes sense, and plugins are pretty easy to write at any rate.

------Scott.

--000e0cd5c93a030596049f0936f8
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Mon, Mar 21, 2011 at 5:14 PM, Bruce Guenter <span dir=3D"ltr">&lt;<a hre=
f=3D"mailto:[email protected]">[email protected]</a>&gt;</span> wrote=
:<br><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class=3D"im">On Wed, Mar 16, 2011 at 04:30:10PM -0400, Scott Gifford w=
rote:<br>
&gt; This patch defers looking at QMAILQUEUE until it is necessary (at SMTP=
 DATA<br>
&gt; if there is no temporary file, or at the end of the message if there i=
s a<br>
&gt; temporary file). =A0It also consolidates the code a bit.<br>
<br>
</div>Great idea, thanks! =A0Applied and pushed.<br></blockquote><div><br><=
/div><div>Thanks!</div><div>=A0</div><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div c=
lass=3D"im">


&gt; I have also included the plugin I wrote with this, in case it is helpf=
ul to<br>
&gt; anybody.<br>
<br>
</div>As it stands, it&#39;s too specific to go in to mailfront, but I coul=
d<br>
easily see something a little more generic go in. =A0Being able to shunt<br=
>
off messages with lots of recipients could be quite useful.<br>
Alternately, I&#39;ve seen a site where a particular set of senders get<br>
pushed to a different queue. =A0Unfortunately, once all the permutations<br=
>
get considered, it&#39;s hard to account for them all short of writing an<b=
r>
interpreter (or at least a general expression evaluator with regexps).<br><=
/blockquote><div><br></div><div>Sure, makes sense, and plugins are pretty e=
asy to write at any rate.</div><div><br></div><div>------Scott.</div><div>

<br></div></div>

--000e0cd5c93a030596049f0936f8--