> > >The .qmail-fixup-default script is called n-times and
> > >calls qmail-inject n-times (n is the number of receivers),
> > >then qmail-inject sends each message n times.
> >
> > If you re-inject the messages N times, wouldn't you expect to receive
> > N copies? Unless your script re-injects it only for that copy's
> > recipient..
> >
> Since I haven't been able to find the cause for our problem, I wanted
> ask
> once more on the list:
> The script re-injects a message it gets via std-in to qmail-inject
>
> qmail-inject -f $SENDER -- < msg
Since it was entirely my own fault, I can as well
stand up and clear up the mistake I made:
There was one parameter missing from the call to qmail-inject:
You have to supply $EXT2 on the command line:
qmail-inject -f "$SENDER" -- "$EXT2" < msg
then the script is called twice, but the recipient is supplied
on the command line and not taken from the TO: or CC: line.
Everything works fine, now. Thanks to everybody who supplied
useful tips and hints.
Martin
--
GiS - Gesellschaft fuer integrierte Systemplanung mbH
Martin Sckopke Tel. +49-6201-503-74
Junkersstr. 2 Fax +49-6201-503-66
D-69469 Weinheim [EMAIL PROTECTED]