I set $smtphosts = 'qmail'; explicitly in user.php and could add a user successfully. The notification message was sent as well.
A bit ugly. Moreover, it will not survice any upgrades. So how can i ensure that smtphosts is defined correctly in a clean way?
Thanks
Beate
]]>i am in a fresh installation of mahara 1.4.2 on a system running qmail.
The mailer is configured in php.ini as
sendmail_path="/var/qmail/bin/qmail-inject -f team@trans-nrw.de"
This is necessary to send emails with the phpmailer supplied with mahara. I tested this with an example script.
When i add a user i got the error message:
Fehler beim Senden der Willkommens E-Mail an die/den neue/n Nutzer/in.
Apache's error log sais:
qmail-inject: illegal option -- o
Accordingly, nothing can be seen in the mail log files.
EDIT: in user.php i logged smtphosts and found that unset...
Bug or property?
In any case i need a workaround.
Thanks
Beate
]]>