[Mimedefang] Skipping Defang for Outgoing Messages

Ashley M. Kirchner ashley at pcraft.com
Thu May 9 14:57:01 EDT 2002


Anthony Slay wrote:

> Does
> anybody know if there a way to skip MIMEDefang for all outgoing messages?

    Couldn't you just put a check in your filter that checks the $RelayAddr?
If it's local, pass it through without going through the whole filter every
time?  I do that so I can do the next part below...


> Also, is there a tool to append quarantined messages to a unix user's
> mailbox?  I've tried using cat but that just make an invalid mailbox entry.

    Try:

    sendmail -f`cat SENDER` `cat RECIPIENTS` < ENTIRE_MESSAGE

    ...from within the quarantined folder.  Without adding a check for
$RelayAddr (as I mentioned above), this will once again send that quarantined
message through the filter, and once again get it re-quarantined.  By checking
for the $RelayAddr, I can tell it to ignore the message and just let it
through.

--
W | I haven't lost my mind; it's backed up on tape somewhere.
  +--------------------------------------------------------------------
  Ashley M. Kirchner <mailto:ashley at pcraft.com>   .   303.442.6410 x130
  IT Director / SysAdmin / WebSmith             .     800.441.3873 x130
  Photo Craft Laboratories, Inc.            .     3550 Arapahoe Ave. #6
  http://www.pcraft.com ..... .  .    .       Boulder, CO 80303, U.S.A.






More information about the MIMEDefang mailing list