"Send a copy" but do not want the mailbox keep a copy

Discussion in 'General' started by [email protected], Apr 3, 2012.

  1. noc@viewqwest.com

    [email protected] New Member

    Hi

    Is there any way when i set "send a copy" at mailbox level, but i do not wan the email to be keep.

    Thanks
    Philip
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Do you use courier or dovecot on the server?
     
  3. noc@viewqwest.com

    [email protected] New Member

    hi till

    My servers is using dovecot.

    Thanks
    Philip
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Add:

    Code:
    redirect '[email protected]';
    stop;
    into the "Custom mail filter recipe" field of the mailbox. Replace the email address with the address were you want to redirect the email to.
     
  5. noc@viewqwest.com

    [email protected] New Member

    Hi till

    which file should i modified to add the code above? May i know where is the file location?

    Philip
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Add the code in the "Custom mail filter recipe" field of the mailbox in the ispconfig interface. You dont have to edit any files.
     
  7. noc@viewqwest.com

    [email protected] New Member

    till

    Manage to sort it out by using the double quotes instead of single quote. Anyway thanks for the code.

    Philip
     
    Last edited: Apr 5, 2012

Share This Page