Changes between Version 11 and Version 12 of campuswifiandeduroam2023Agenda/pwdc


Ignore:
Timestamp:
Jul 23, 2024, 10:30:49 AM (2 months ago)
Author:
tuwan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • campuswifiandeduroam2023Agenda/pwdc

    v11 v12  
    400400$reset_url = $_SERVER['HTTP_X_FORWARDED_PROTO'] . "://" . $_SERVER['HTTP_X_FORWARDED_HOST'] . $_SERVER['SCRIPT_NAME'];
    401401}}}
     402
     403'''Mail Attributes'''
     404
     405Set the LDAP attributes where user email may be stored:
     406
     407{{{
     408$mail_attributes = array( "mail", "gosaMailAlternateAddress", "proxyAddresses" );
     409}}}
     410
     411'''Sender Name'''
     412
     413You can change the default From header and add a signature:
     414
     415{{{
     416$mail_from = "admin@learn.ac.lk";
     417$mail_from_name = "Self Service Password administrator";
     418$mail_signature = "";
     419}}}
     420
     421'''Change password notification'''
     422
     423Use this option to send a confirmation mail to the user, just after a successful mail change:
     424
     425{{{
     426$notify_on_change = true;
     427}}}
     428
     429'''PHPMailer'''
     430
     431{{{
     432$mail_sendmailpath = '/usr/sbin/sendmail';
     433$mail_protocol = 'smtp';
     434$mail_smtp_debug = 0;
     435$mail_debug_format = 'html';
     436$mail_smtp_host = 'localhost';
     437$mail_smtp_auth = false;
     438$mail_smtp_user = '';
     439$mail_smtp_pass = '';
     440$mail_smtp_port = 25;
     441$mail_smtp_timeout = 30;
     442$mail_smtp_keepalive = false;
     443$mail_smtp_secure = 'tls';
     444$mail_smtp_autotls = true;
     445$mail_smtp_options = array();
     446$mail_contenttype = 'text/plain';
     447$mail_wordwrap = 0;
     448$mail_charset = 'utf-8';
     449$mail_priority = 3;
     450}}}
     451
     452For more info Regarding PHPmailer: https://github.com/PHPMailer/PHPMailer
     453
     454Other info: https://self-service-password.readthedocs.io/en/stable/presentation.html