let me steal from another post by pawel garbowski ([EMAIL PROTECTED])

>From qmail-queue.patch:

Appended is a patch to qmail-1.03 that causes any program that would run
qmail-queue to look for an environment variable QMAILQUEUE.  If it is
present, it is used in place of the string "bin/qmail-queue" when
running qmail-queue.  This could be used, for example, to add a program
into the qmail-smtpd->qmail-queue pipeline that could do filtering,
rewrite broken headers, etc. (this is my planned usage for it).

You should look at qmail-qfilter.patch too

URLs:

http://em.ca/~bruceg/qmail-qfilter/
http://www.qmail.org/qmailqueue-patch



-----Original Message-----
From: ehjones [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 12:33 PM
To: [EMAIL PROTECTED]
Subject: RE: forwarding only certain mail to a domain


On Thu, 15 Feb 2001, Laurence Brockman wrote:
> echo "cais.com:corp.mail.server" >> /var/qmail/control/smtproutes
> kill -HUP qmail-send-process
>
> In future, try the Life With Qmail site (www.lifewithqmail.org), it has
lots
> of goodies :)

Okay. I checked into smtproutes. From what I can understand, this will
relay all mail going to cais.com to the corp server. This is almost what I
need - for some silly reason, my predecessors decided that there are two
types of accounts (more or less): Ones that have dots in them, and ones
that do not. So I actually need to be able to seperate out the ones that
look like [EMAIL PROTECTED] from the ones that look like
[EMAIL PROTECTED] Yeah, I know. I'd think that they'd give out different
email addresses, but for some reason they didn't. I think it's a MIS
thing.....

Thanks for the url, too. Any information I can find helps. I've already
gotten some ideas on how to duplicate other things our mail system does
from it.

Eric


Reply via email to