On Tue, 30 May 2000, Dave Potter wrote:
> Hello,
>
> I've been searching through this list's archives and haven't been able to
> find where anyone has yet attempted to do the exact same thing I'm trying
> to.
>
> What I have set up is a standalone smtp server running qmail, and its sole
> purpose is to relay mail to other machines that handle the local delivery.
> Rather than modify configurations on each of the local servers, I'm trying
> to figure out the best way to have qmail on the relay machine call a
> custom program which will append to the body of a message a tagline that
> looks similar to Yahoo/Hotmail's taglines.
>
> Has anyone specifically done this yet? Looking at the source files, the
> best place I could come up with for inserting my own mods to the body of
> each message is in qmail-queue. If anyone has suggestions concerning
> putting a mod inside qmail-queue or if it should go into another file, any
> feedback would be great. Thanks!
Write your own qmail-queue wrapper program. This should behave to the
calling program as if it was the real qmail-queue (see the qmail-queue
man page for details of the interface). After reading the message
body, append your taglines, then call the real qmail-queue.orig progam.
This is how Jason Haar's scan4virus works.
Regards
Peter
----------
Peter Samuel [EMAIL PROTECTED]
Technical Consultant or at present:
eServ. Pty Ltd [EMAIL PROTECTED]
Phone: +61 2 9206 3410 Fax: +61 2 9281 1301
"If you kill all your unhappy customers, you'll only have happy ones left"