Is it possible to disable incoming mailbox delivery while keeping the Autoresponder active?

Discussion in 'Installation/Configuration' started by Wade John Beckett, Aug 14, 2025.

  1. Hi there,
    I trust you are well :)

    I am wanting to create a "Mailbox" with an active "Autoresponder" and a "Send copy to" address, but disable incoming local delivery.

    I have set the Autoresponder, and the Send copy to address already, and tried the following configurations:
    - Set both "Enable receiving" and "Disable (local) delivering" to False, the auto responder does not trigger.
    - Set both "Enable receiving" and "Disable (local) delivering" to True, the auto responder does not trigger.
    - Set "Enable receiving" to False and "Disable (local) delivering" to True, the auto responder does not trigger.
    - Set "Enable receiving" to True and "Disable (local) delivering" to False, the auto responder does trigger.

    I don't want mails to be received however at this address, I only want an autoresponder.

    Is this possible?
     

    Attached Files:

  2. pyte

    pyte Well-Known Member HowtoForge Supporter

    Yes but disabling local delivering does in fact lead to not working auto repsonse.
    You can just create the mailbox and use a custom sieve rule to accomplish what you ask for.
    Here is an example that matches your requirements:

    Code:
    require ["vacation", "copy", "fileinto"];
    
    # Only auto-reply to real people (skip lists/bulk)
    if allof(
      not header :contains "Precedence" ["bulk","list","junk"],
      not exists "List-Id",
      not header :matches "Auto-Submitted" "*",
      not header :matches "From" "*mailer-daemon*@*"
    ) {
      # 1) Auto response
      vacation
        :days 7
        :subject "Out of office"
      "Hi,\n\nThanks for your message. I’m away and will reply when I’m back.\n\n—Me";
    
      # 2) Forward a copy
      redirect :copy "[email protected]";
    
      # 3A) Hard delete (no copy kept in your mailbox)
      discard;
      stop;
    }
     
    Wade John Beckett and till like this.
  3. Thank you for this.

    I will give it a go, but I also just realised that there is no point to having an autoresponder on a disabled mailbox if it is already forwarding to another mailbox.
     
    theTJ likes this.

Share This Page