Results 1 to 5 of 5

Thread: Postfix + Spamassassin

Hybrid View

  1. #1
    Associate
    Join Date
    Jun 2008
    Posts
    10

    Thumbs down Postfix + Spamassassin

    Hi All,

    I configured postfix , Dovecot with spammassassin. Everything is working fine.

    I need all spam tagged mails has to move a particular mail id,,

    Please give a idea, Anyone did before ?

    Thanks in Advance

    Sivakumar

  2. #2
    Associate
    Join Date
    Apr 2008
    Posts
    11
    Quote Originally Posted by sk_kgs View Post
    Hi All,

    I configured postfix , Dovecot with spammassassin. Everything is working fine.

    I need all spam tagged mails has to move a particular mail id,,

    Please give a idea, Anyone did before ?

    Thanks in Advance

    Sivakumar

    Configure Sieve with dovecot, then make a file in users folder (depends on what folder format you are using e.g .Maildir etc)

    touch /home/obama/.dovecot.sieve
    vi /etc/obama/.dovecot.sieve and paste the following rule.
    Code:
    if header :contains "Subject" "***SPAM***" {
                    redirect "barakobama@whitehouse.com";
    }
    This rule will redirect all spams to barak Obama at white house

    for more information about sieve visit http://tools.ietf.org/html/rfc3028

  3. #3
    Associate
    Join Date
    Jun 2008
    Posts
    10
    Thanks a lot

    I will try & erply soon

  4. #4
    Associate
    Join Date
    Jun 2008
    Posts
    10

    Thumbs up DOVECOT sieve

    Hi ,


    Thanks for your reply. I make file .dovecot.sieve in /var/spool/mail directory. I made the following lines

    if header :contains "Subject" "***SPAM***" {
    redirect "siva@exam.com";
    }

    & added the lines in /etc/dovecot.com on LTA section

    mail_plugins = cmusieve
    log_path = /var/log/dovecot-local-deliver.log
    auth_socket_path = /usr/local/var/run/dovecot-auth-master


    I got succcessful restart for dovecot.

    My problem is , when i sent a mail root@example.com containg the subject ****spam**** , it is working fine.

    When i am sending to other users, the mail not is forwarding to siva@example.com


    Please suggest any further steps required..


    Thanks & Regards
    Sivakumar E

  5. #5
    Associate
    Join Date
    Apr 2008
    Posts
    11
    can you paste the maillogs?

Similar Threads

  1. Blocked by SpamAssassin
    By Kejpa in forum Redhat / Fedora
    Replies: 2
    Last Post: 11-10-2011, 11:51 AM
  2. Sendmail/Spamassassin
    By Plaethos in forum Redhat / Fedora
    Replies: 1
    Last Post: 07-12-2009, 01:45 PM
  3. Spamassassin sa-update
    By lasanthaindika in forum Redhat / Fedora
    Replies: 0
    Last Post: 05-05-2008, 09:36 AM
  4. SpamAssassin Configuration help
    By lasanthaindika in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 04-02-2007, 04:07 AM
  5. Spamassassin
    By Anonymous in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 04-26-2004, 11:55 PM

Bookmarks

Posting Permissions

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