Modify Default Auto Responder Script

Discussion in 'General' started by supanatral, Sep 17, 2012.

  1. supanatral

    supanatral Member

    We have a number of users who complain about the auto responder in ISPConfig because when autoresponder replies, it bottom posts.

    After much trial and error, I've found out a solution to this problem. What needs to be done is I need to modify the "/var/vmail/mailfilters/domain/email/.autoresponder" file and add the "-N" switch to the mailbot command so that it looks like so:
    My question is this: How do I change the default autoresponder script so that from now on, it will add the "-N" switch when someone sets their autoresponder option?
     
  2. falko

    falko Super Moderator ISPConfig Developer

    You can copy /usr/local/ispconfig/server/conf/autoresponder.master to /usr/local/ispconfig/server/conf-custom/autoresponder.master and then modify /usr/local/ispconfig/server/conf-custom/autoresponder.master - it will then override the default template.
     
  3. Turbanator

    Turbanator Member HowtoForge Supporter

    Falko
    i tried this on Perfect Squeeze, courier, ispc 3.0.5.3 and it's still not putting the custom responder with -N in place.

    It's still grabbing the default.

    Did I miss something?
     
  4. Turbanator

    Turbanator Member HowtoForge Supporter

    And in addition, unless I'm missing something, I don't think the -N switch is valid anymore in the debian squeeze mailbot version......

    any ideas how to get the auto reply Above instead of below the Response?
     
  5. Turbanator

    Turbanator Member HowtoForge Supporter

    Here's an answer to the -N issue not working on Squeeze.

    http://www.arty.lv/ispconfig-3-0-4-6-autoresponder-on-debian-6-squeeze/

    Falko, do you think it would be ok to perform the courier update as they suggest? Any special steps you think should be done to ispc?

    Now if we can figure out why the autoreponder was pulling from /conf and not /conf-custom I'll be set.
     

Share This Page