Sieve Redirect

Discussion in 'General' started by PaulDG, Jun 17, 2012.

  1. PaulDG

    PaulDG New Member

    Hi,

    I followed the forums's instructions on using redirect in the custom rules section of a mailbox, The email is redirected but it is still being delivered to squirrelmail.

    I used this
    Code:
    redirect "name@domain.com";
    I also tried these but in all cases the email remained in squirrelmail.
    Code:
    redirect "name@domain.com";
    stop;
    
    redirect "name@domain.com";
    kill;
    
    redirect "name@domain.com";
    delete;
    
    redirect "name@domain.com";
    discard;
    I am using dovecot and ubuntu and i followed this guide http://www.howtoforge.com/perfect-server-ubuntu-12.04-lts-apache2-bind-dovecot-ispconfig-3

    Also is there a way to auto prune the mailboxes?, like "delete everything over 20 days"

    Thanks for any help.
     
  2. PaulDG

    PaulDG New Member

    Following on from my question,

    If i set up a catchall and point it to a mailbox that has a redirect set, how can i stop the mailbox from filling up?

    Paul
     
  3. Ovidiu

    Ovidiu Active Member

    Any solution to this?
    How does one redirect without local delivery via sieve or is a plain
    Code:
    redirect "email@domain.tld";
    enough?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Sieve is alway a local delivery as sieve is a filter language of the lda. If you want to redirect without having the email delivered to a mailbox, then use a email forward instead of a mailbox.
     
    Ovidiu likes this.

Share This Page