On Tue, 12 Dec 2000, [EMAIL PROTECTED] wrote:
> Use an smtproute and write a small filter that looks at the size and
> injects the mail at the proper server.
Need I say that is kind of obvious... In fact that's basically
condensing my original e-mail into a sentence (well done!) But HOW is
what I asked. 'Use an smtproute' - I presume you mean the
smtproutes file? OK I can dynamically create that (I think) with my
filter, but where do I place my filter in the system? And I don't
think it is overly safe changing smtproutes on a per-email basis. If
concurrencyremote was only 1, then OK. But since multiple processes
could be reading the file at the one time, that isn't overly safe.
The other key word I see you use is 'inject'. OK AFAIK qmail-inject
doesn't have an option to send the mail using a specific server. The
only way I could see to do this is send all e-mails that the filter
passes to a Maildir via NFS, and the server on which the e-mail is now
located has a cron job run every few minutes to process the Maildir
and queue it all locally, with this machine having a different
smtproute.
But surely there has to be an easier (and more reliable) method than
this that I can use...
Thanks for your help
--
B r e t t R a n d a l l
http://xbox.ipsware.com/
brett _ @ _ ipsware.com