Philip Guenther said at one time:
SENDMAILFLAGS= "-oem -odq -oi -oC/etc/sendmail.cf2 -oQ/home/lists/mqueue"
:0
* !^Subject:.*retrieve
!
But the email 'testing' never gets requeued in /home/user/mqueue.
The main problem is that you never tell sendmail who to send the
message to. You need to pass sendmail the recipient address on the
action line. (Don't use the -t flag, as that'll break things if this
address is ever, say, subscribed to a mailing list. This would be
another case of header/envelope confusion.)
Thanks, now it all works! I haven't run Sendmail from the command
line much.
The next problem is that SENDMAILFLAGS cannot contain more than one
argument for sendmail. This is a known bug which I hope to fix soon.
Not a problem, you could update the docs to reflect this however.
But unfortunately this does not accomplish my goal. I didn't consider
re-queuing this way would change the Return-Path to the owner of the
sendmail doing the requeueing.
I run several Smartlists and one in particular is becoming unwieldly
with all the bounced mail, it is a large list. So I want to take all
that incoming stuff and queue it, then process it in a more controlled
fashion later. Doing things the above way changes the headers too
much so Smartlist doesn't process things correctly, or at all in the
case damaen is doing the requeueing.
Thanks for the helpful tips though. I would be interested if anyone
has any other suggetions for my requeueing task. Configuring Sendmail
to do this would be the better way. I'm not sure how to do it on a
per address basis.
Cheers,
--Paul T.
--
Windows98 (noun): 32 bit extensions and a graphical shell for a 16 bit
patch to an 8 bit operating system originally coded for a 4 bit
microprocessor, written by a 2 bit company, that can't stand 1 bit of
competition.