Spamassassin/IMAP

Discussion in 'General' started by heyp, Jan 3, 2006.

  1. heyp

    heyp New Member

    Hi,

    i want to create a folder "SPAM" for each user automatically (when the mailbox is created) and all e-mails which are labeled as ***SPAM*** will move into this folder.

    Any ideas? I've already searched but didn't find anything.

    Thx!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The Maildirs where currently created by postfix, when the first email arrives. I think the following modifications in the ISPConfig sources will be nescessary:

    1) Create the maildir when the useraccount is created.
    2) Add the spam folder inside the maildir.
    3) Change the procmail recipe that taggs / deletes the spam, so that spam emails where delivered in the spam folder instead.

    4) Optional: Write a script that runs as nightly cronjob, to delete messages that are older then X days from the spam folder.
     
  3. heyp

    heyp New Member

    Ok, where do i begin?
     
  4. falko

    falko Super Moderator ISPConfig Developer

Share This Page