Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mediawiki has missing dependency (not sending emails) #612

Closed
JedMeister opened this issue Apr 18, 2016 · 4 comments
Closed

Mediawiki has missing dependency (not sending emails) #612

JedMeister opened this issue Apr 18, 2016 · 4 comments

Comments

@JedMeister
Copy link
Member

JedMeister commented Apr 18, 2016

[update] we won't be fixing this. See @OnGle's explanation of what's happening and why.

Looks like a bug from way back has slipped through without being properly noted (and therefore fixed) in the Mediawiki appliance and it's ability to send emails...

For starters it appears that there is a missing dependency (php-pear) but it looks like there may be additional issues. See this thread; specifically this comment. It relates to the v13.0 release but I imagine that it

@OnGle
Copy link
Member

OnGle commented Apr 21, 2016

Tested this on 14.1, I didn't test postfix sending email but I had no issue passing the mail to the postfix queue even without php-pear

@JedMeister
Copy link
Member Author

JedMeister commented Apr 21, 2016

Ok thanks @OnGle. It looks like this may have been a v13.x issue that does not exist in v14.x.

My suspicion is that the users were trying to configure a remote SMTP relay in MediaWiki (rather than using the built in postfix) and perhaps that's when php-pear is required? As it is preferable to use postfix to send email (so other server components beyond MediWiki can also send emails) I think it is best left as is. Apologies on giving you the run around, but thanks for testing.

I'll close for now. If anyone else is having this issue (in v14.0 or later) please reopen and we'll dig a little deeper.

@OnGle
Copy link
Member

OnGle commented Apr 21, 2016

I just uninstalled postfix from a mediawiki appliance that has not had php-pear installed on it nor any smtp config set. When attempting to send an email it errors that "sendmail" does not exist which seems to demonstrate that while mediawiki requires php-pear net_SMTP for setting up relays it will fall back on sendmail which is configured to work with postfix which can in turn be used to set up relays without explicit smtp config for mediawiki. I believe that maintaining a common way to configure smtp accross all tkl appliances is the best way to do this and although it may be a little confusing for some people, this seems the most appropriate imo.

@JedMeister
Copy link
Member Author

JedMeister commented Apr 21, 2016

Awesome thanks for clarifying that! 👍 So it actually may not have even been a real issue in v13.x perhaps either, just a misunderstanding of how it all works...

@JedMeister JedMeister changed the title Mediawiki not sending emails Mediawiki has missing dependency (not sending emails) Apr 22, 2016
@JedMeister JedMeister removed this from the 14.2 milestone Apr 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants