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

Re: [vps-mail] Back to the maybe_spam folder topic



On Thu, Mar 04, 2004 at 07:38:15PM -0500, Brian Haines wrote:
> Now, the questions I have about the maybe_spam folder are...
> 
> 1. Is "$HOME/maybe_spam" the same location as "/usr/home/maybe_spam" on the
> file system?

No. Procmail expands $HOME to be the home directory of the current
UID (i.e., $HOME/maybe_spam => /usr/home/<username>/maybe_spam). If
this kind of recipe appears in /usr/local/etc/procmailrc (on a VPS v2)
it should certainly appear after a DROPPRIVS=yes.

> 2. This is straight procmail, rather than SA. I have no other procmail
> rules, but I know SA has some. Where should the rule be placed in the
> procmail file?

This kind of rule should be placed after SA has had a chance to mark
it up. The X-Spam-Status header is applied by SA, so any procmail
rules that depend on that header being there should appear after the
SA markup rule.

> Sorry for such academic questions - I have not been keeping up with my VPS
> accounts as I should, and I am always feeling like I am relearning.

Procmail config files are different than a typical configuration file
in that order means everything. They're really not configuration files
as they are rule files, and the rules are applied in order as if the
incoming email messages were flowing down from the top to bottom of
the rc file.

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


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