what i'd like to do is have every outbound message saved to a folder
based on the recipient's email address (easily done, and i already do
this...i've been doing this for years)

        *and* (i came up with this one yesterday)

save an additional copy to a folder called, eg, sent-today.  that way
i can look in sent-today and see what i sent today.  and resend it if
the mta doesn't work right the first time, which is why i don't want
to just bcc myself on every piece of mail and use procmail to file it
away because that relies on the mta.

i tried setting fcc to

        =foo,=bar

but then the copy just ended up in a folder called foo,=bar which is
no good.  then i tried setting sendmail to this

        set sendmail="tee -a sent-today | /usr/sbin/sendmail -t -oi -oem"

but then the mail never got sent because tee put double copies of the
message in each of

        sent-today
        |
        -t
        -oi
        -oem

which was useless.  thank god tee couldn't write to my sendmail
binary.  :)

the only thing left that i can think of is to use a small program as
sendmail that writes the additional fcc and then calls the real
sendmail to do the message submission.  kinda icky.

is there a better way?

-- 
|-----< "CODE WARRIOR" >-----|
[EMAIL PROTECTED]             * "ah!  i see you have the internet
[EMAIL PROTECTED] (Andrew Brown)                that goes *ping*!"
[EMAIL PROTECTED]       * "information is power -- share the wealth."

Reply via email to