[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vps-mail] procmailrc and includerc question



On Tue, Mar 06, 2007 at 09:03:30AM -0500, Jim Smith wrote:
> Here's the question. When I get a client complaining about getting legit
> emails in their spam folder, I don't know which of these are triggering it.
> I would like this to add an identifier in the header saying "X-BL_body: Spam

In addition to Godwin's idea of using SA directly, if you want to
stick with procmail, you can also add a line in your procmailrc (or
included files) like this:

  :0
  * some rule
  * another rule
  {
    LOG="Reason: Empty text/plain MIME alternative${NL}"

    :0:
    $HOME/Spam
  }

When you assign to "LOG", procmail sees that and writes to wherever
you have LOGFILE set to. You should also have LOGABSTRACT=all so that
you get the date, from, and subject lines. With this infomration, it's
easy to track down where an email went.

Scott
-- 
Scott Wiersdorf
<scott@xxxxxxxxxxxx>
========================================================================
This is <vps-mail@xxxxxxxxxxxxx>  <http://groupmail.org/lists/vps-mail/>
Before posting a question, please search the archives (see above URL).


Main Index | Thread Index
Match: Format: Sort by:
Search: