Changes between Version 4 and Version 5 of campuswifiandeduroam2023Agenda/pwdca


Ignore:
Timestamp:
Jul 24, 2024, 12:06:07 PM (2 months ago)
Author:
tuwan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • campuswifiandeduroam2023Agenda/pwdca

    v4 v5  
    467467}}}
    468468
     469'''Mail'''
     470
     471Set the LDAP attributes where user email may be stored:
     472
     473{{{
     474$mail_attributes = array( "mail", "gosaMailAlternateAddress", "proxyAddresses" );
     475}}}
     476
     477You can also define which LDAP attribute contains the user name (will be used in mail body content):
     478
     479{{{
     480$mail_username_attribute = "cn";
     481}}}
     482
     483'''Sender name'''
     484
     485You can change the default From header and add a signature:
     486
     487{{{
     488$mail_from = "admin@example.com";
     489$mail_from_name = "Self Service Password administrator";
     490$mail_signature = "";
     491}}}
     492
     493'''Change password notification'''
     494
     495Use this option to send a confirmation mail to the user, just after a successful password change:
     496
     497{{{
     498$notify_on_change = true;
     499}}}
     500
     501This option is false by default.
     502
     503'''PHPMailer'''
     504
     505You have to set all parameters for PHPMailer if you use mail notification.
     506
     507{{{
     508$mail_sendmailpath = '/usr/sbin/sendmail';
     509$mail_protocol = 'smtp';
     510$mail_smtp_debug = 0;
     511$mail_debug_format = 'html';
     512$mail_smtp_host = 'localhost';
     513$mail_smtp_auth = false;
     514$mail_smtp_user = '';
     515$mail_smtp_pass = '';
     516$mail_smtp_port = 25;
     517$mail_smtp_timeout = 30;
     518$mail_smtp_keepalive = false;
     519$mail_smtp_secure = 'tls';
     520$mail_smtp_autotls = true;
     521$mail_smtp_options = array();
     522$mail_contenttype = 'text/plain';
     523$mail_wordwrap = 0;
     524$mail_charset = 'utf-8';
     525$mail_priority = 3;
     526}}}
     527
     528See https://github.com/PHPMailer/PHPMailer for more information
     529