On Fri, Jul 25, 2003 at 11:46:56AM -0400, Trevor Astrope wrote:
> This is more of a qmail question, but I was wondering how to go about 
> adding custom headers in the sendit.sh script? I'm using qmail-inject.

It should just be a question of sending them on stdin; e.g. if you were
using sendmail you'd change

exec /usr/sbin/sendmail -oi -t -f "$1"

to something like

{ echo "X-Vegetable: Carrot"; cat -; } | /usr/sbin/sendmail -oi -t -f "$1"

[untested, but you get the idea]

Regards,

Brian.

Reply via email to