Forums | Mahara Community

Support /
Bug with qmail ?


anonymous profile picture
Account deleted
Posts: 26

21 March 2012, 16:25

Hello,

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 [email protected]"

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

anonymous profile picture
Account deleted
Posts: 26

21 March 2012, 17:11

Another addition: preliminary workaround found.

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

2 results