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. integrating postfix with ldap
    By haariseshu in forum Redhat / Fedora
    Replies: 0
    Last Post: 07-03-2008, 06:57 AM
  2. Postfix SMTP authentication
    By lasanthaindika in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 10-28-2007, 04:04 AM
  3. Spamassassin Error - safe_lock: cannot create tmp lockfile
    By pandora in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 12-02-2006, 06:32 PM
  4. AMaViS and Spamassassin
    By Ashcrow in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 01-16-2004, 04:39 PM
  5. Postfix Name service error
    By mydigitalself in forum Linux - General Topics
    Replies: 1
    Last Post: 05-08-2002, 03:59 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
  •