Find the answer to your Linux question:
Results 1 to 3 of 3
I'm running a fairly simple Postfix mail server using amavis to mark spam. Postfix uses virtual mapping through mysql to route mail to user's mailboxes. What I'm trying to figure ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    1

    Postfix Amavis filters


    I'm running a fairly simple Postfix mail server using amavis to mark spam. Postfix uses virtual mapping through mysql to route mail to user's mailboxes.

    What I'm trying to figure out how to do is to take any of those emails that have been marked by amavis (through spam assassin) with the header insertion "X-Spam-Flag: Yes" and re-route them, instead of to the inbox, to another folder. Say the folder junkmail.

    I've done this before but I was using procmail back then. Any suggestions would be helpful.

  2. #2
    Just Joined!
    Join Date
    Mar 2010
    Posts
    1
    Did you work out how to do this? I'm am wanting to do the same thing, but no one seems to be answering these or similar posts

  3. #3
    Just Joined!
    Join Date
    Feb 2011
    Posts
    2
    If you are using postfix then you are most probably using deliver instead of procmail for LDA, deliver can be configured to use sieve rules for global or per-user filtering, redirection, etc.

    A good place to start is wiki.dovecot.org/LDA/Sieve (not posting as url b/c is my first post and LF won't let me)

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •