Disable ISPConfig welcome email

Discussion in 'HOWTO-Related Questions' started by brocilla, Sep 27, 2014.

  1. brocilla

    brocilla New Member


    I was looking for how disable the welcome email from ISPConfig when I create a new email account and I can not find it.

    i found how to change it but not to disable it.

    I found on some web pages that I coud disable it on this path:

    There is a file, mail_plugin.inc.php, where it is posible find a line which send a welcome mail but this line is already commented and still receive these welcome emails.

    Can you help me to disable/remove this welcome email please?

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    There is no option to disable the message.
  3. brocilla

    brocilla New Member

    ISPConfig is made with PHP so it has to be a line where ISPConfig send that message. Are you sure it is not possible to disable that welcome email?
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Off course its possble by changing the ispconfig source code. I just told you that there is no option to disable this. By altering the code you can do anything thats possible on a computher incl. to change ispconfig in 2 3D computer game ;)

    Take a look at the ispconfig mail server plugin, the code that send the message is inside that plugin.
  5. brocilla

    brocilla New Member

    In this file:

    I found this line:
    //* Send the welcome email only on the "master" mail server to avoid duplicate emails
    if($conf['mirror_server_id'] == 0) mail($mailTarget, $mailSubject, $welcome_mail_message, $mailHeaders);

    But is commented already so I do not understand how the mail is still sent.

    Is this the right file?
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    This line is not commented. There is a comment in the line above.
  7. brocilla

    brocilla New Member

    I opened with NANO and I guess it has a bug because I see all these lines commented.

    Thanks for your help

Share This Page