[Mimedefang] outbound mail copy back to origin sender

Manuel Capellari manuel.capellari at liezen.at
Mon Oct 24 18:01:48 EDT 2005


On Mon, Oct 24, 2005 at 02:31:31PM -0700, Matthew.van.Eerde at hbinc.com
wrote:
> I see... you want userA's procmail to sort the mail into his Sent
> folder, but userB's procmail to *not* sort the identical mail...

yes, userA who sent the message, should get a copy in his Sent folder,
but userB who recieves the message of course should not get the same
message (same header) in userB's sent folder, he should get it in his
inbox of course

> Can you configure procmail to sort to the Sent folder ONLY if both of
> the following conditions are true?
> 
> * X-Outbound header is added
> * From header matches user name (that is, "from myself")
i can, match on the From header, but i want to avoid this if it's
possible, because i dont want to configure dozens of .procmailrcs a day
if a user gets e new email address

if the add_recipient function would support a special header for the
recipient that's defined by add_recipient it would be very simple to do,
and even infinite loops should be no big problem

-- 
Manuel Capellari | +43 650 4462964 | AT 8940 Liezen
   Windows makes noise
      Linux plays music
         but only OpenBSD rocks



More information about the MIMEDefang mailing list