[                       -= (><) =-                       ]
[                    Masuo Jeff Gates                    ] 
[    Chief Security Officer / Chief Financial Officer    ]
[           Infinite Probability Networks Inc.           ]
[                 http://www.ipninc.com/                 ]

---------- Forwarded message ----------
Date: Wed, 27 Oct 1999 16:59:18 -0500 (CDT)
From: Masuo Jeff Gates <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Please Help: Concerning Qmail Footers. 

Hello,
        I am having issues implementing a footer hack.  I would much
appreciate anybody's input.

        I put a hook in qmail-queue.c to call a perl script (simple
fork() execlp()).  The perl script I wrote parses the message in
mess/x/messnum, and adds an appropriate footer (text or html).  (I got
around the doubled-add by putting in an X- header, also added support for
the different Content-Types.)

        Anyways, things looked great during testing (writing to
/var/qmail/queue/temp.txt, footers were added beautifully), but when it
came down to actually WRITING to mess/x/messnum:

Insecure dependency in open while running setuid at /var/qmail/
bin/footer.pl line 268.

was the warning I got.

Does anybody happen to have any insight on what I must do to get this
working? (At this time in the morning, the only thing I can think of is
putting in a sleep() in queue, and having a shell script (running as root)
mv the footer added file to the correct dir (I will not do this ^^;;).

I would much appreciate any help at all.

Thank you in advance,

Masuo Gates



Reply via email to