Topic on Project:Support desk

Jump to navigation Jump to search
GTX1060 (talkcontribs)

Hello.

I have some issues with mail on my wiki.

1. If I try to change the e-mail address, an error occurs, but if you go back to the environment settings, it is set normally.

https://drive.google.com/file/d/1EpbsCsEqxc3VuRUWHzHiBh1b5d-AqS0c/view?usp=sharing

https://drive.google.com/file/d/1QlXw040UduBQPig3GUbHYY7N3NrNSHsz/view?usp=sharing

2. If I try to send an e-mail, the message Please log in and set your e-mail address' appears.

https://drive.google.com/file/d/1I2VKjTSS9IyMnbLHu1jIRVjAleESqH9E/view?usp=sharing

but I'm already logged in and have set up your e-mail.

The link below is for mail related items from LOCALSETTINGS.PHP,

https://drive.google.com/file/d/1ZQR0zxtm0cI8lcuxGR_t5GlRNrSGe6M4/view?usp=sharing

Please help. thank you.

Bawolff (talkcontribs)

what operating system?

If linux, what MTA is installed (e.g. postfix, or sendmail, etc)

GTX1060 (talkcontribs)

I do not know. I don't think it's installed. Install MTA?

Bawolff (talkcontribs)

yes, if you dont have one installed try installing postfix. Many linux distros come with a MTA preinstalled.

GTX1060 (talkcontribs)

I found that sendmaill is installed by default in Debian, which is my operating system.  What can I do now?

Bawolff (talkcontribs)

Sendmail is definitely not the default for debian. I think the default is exim4, not sure.

In any case, try to send an email using commandline mail program and see if it works (you might have to install command line mail program)

GTX1060 (talkcontribs)

After setting up $wgSMTP, the following response returned:

'THEGREATESCAPEWIKI was unable to send a verification email. Please make sure you entered the wrong email address.

Response from mail server: Failed to connect to escapewiki.org:25 [SMTP: Failed to connect socket: Connection timed out (code: -1, response: )]'

I'm using AWS EC2 hosting, but someone told me to open port 25 to use the mail function. Should I ask AWS to open port 25?

Ciencia Al Poder (talkcontribs)

Sending an email usually requires you to have a mail server that authenticates every client trying to send an email. You probably need to set up those details in $wgSMTP

GTX1060 (talkcontribs)

After setting up $wgSMTP, the following response returned:

'THEGREATESCAPEWIKI was unable to send a verification email. Please make sure you entered the wrong email address.

Response from mail server: Failed to connect to escapewiki.org:25 [SMTP: Failed to connect socket: Connection timed out (code: -1, response: )]'

I'm using AWS EC2 hosting, but someone told me to open port 25 to use the mail function. Should I ask AWS to open port 25?

Ciencia Al Poder (talkcontribs)

Opening port 25 is not going to help if you don't have a mail transfer agent on escapewiki.org at port 25. It's like opening port 80 on a server without a web service running and expect to see a website when navigating to it...

An alternative is to use a public mail service like google or a commercial (paid) mail service. Some hostings provide mail accounts in their plans.

GTX1060 (talkcontribs)

AWS provides a mailing service under the name AWS SES. Can I send email using AWS SES?

Ciencia Al Poder (talkcontribs)

Yes. It uses SMTP

This post was hidden by Ciencia Al Poder (history)
Reply to "Mail-related 2 errors"