Enable password reminder via email

From Tuxation

Looks like MediaWiki is using either mail or sendmail program. Either way, I found it to work by just doing the following:

Install mailing software

$ sudo apt-get install ssmtp
$ sudo apt-get install mailutils

Edit configuration

Here we set mailhub to point to the SMTP server on the network.

#
# Config file for sSMTP sendmail
#
# The person who gets all mail for userids < 1000
# Make this empty to disable rewriting.
root=postmaster

# The place where the mail goes. The actual machine name is required no
# MX records are consulted. Commonly mailhosts are named mail.domain.com
mailhub=xxx.yyy.zzz.aaa

# Where will the mail seem to come from?
#rewriteDomain=

# The full hostname
hostname=dens-linux

# Are users allowed to set their own From: address?
# YES - Allow the user to specify their own From: address
# NO - Use the system generated From: address
#FromLineOverride=YES
Personal tools