1

Topic: Problems with setting who can send to mailing lists and subscribing

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: Ubuntu 16.04.LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? Yes (SQL-3.6)
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

No matter which setting is chosen in "Who can send email to this list" when editing the mailing list profile, any email address is able to email the mailing list successfully. However, the "Moderate all posts" feature does work correctly.

Also getting "The requested URL ... was not found on this server." when trying to view the web subscription page https://mail.yourserver.com/newsletter/subscribe/...

Not sure if the two issues are related, but any help would be appreciated.

Thank you

2

Re: Problems with setting who can send to mailing lists and subscribing

nick97 wrote:

Not sure if the two issues are related

Not related.

nick97 wrote:

No matter which setting is chosen in "Who can send email to this list" when editing the mailing list profile, any email address is able to email the mailing list successfully. However, the "Moderate all posts" feature does work correctly.

Could you please help capture a screenshot of this setting page in iRedAdmin-Pro?

nick97 wrote:

Also getting "The requested URL ... was not found on this server." when trying to view the web subscription page https://mail.yourserver.com/newsletter/subscribe/...

What's the full URL?
Do you have these lines in (at the end of) /etc/nginx/templates/iredadmin.tmpl?

# Handle newsletter-style subscription/unsubscription supported in iRedAdmin-Pro.
location ~ ^/newsletter/ {
    rewrite /newsletter/(.*) /iredadmin/newsletter/$1 last;
}

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

3

Re: Problems with setting who can send to mailing lists and subscribing

Hi Zhang,

Thank you for your response.

Here is the screenshot:
https://www.visav.co.uk/images/testmailinglist.png

Full URL: https://mail.visav.net/newsletter/subsc … 72ed469da0

Regarding the lines in the /etc/nginx/templates/iredadmin.tmpl file, we do not have this are are currently running Apache. Could this by why?

And is it possible to seamlessly migrate from Apache to NGINX as I know iRedMail has dropped future support for Apache?

Thank you

4

Re: Problems with setting who can send to mailing lists and subscribing

nick97 wrote:

Regarding the lines in the /etc/nginx/templates/iredadmin.tmpl file, we do not have this are are currently running Apache. Could this by why?

That makes sense. You can rewrite this Nginx rule to Apache format and add to proper Apache config file, then it should be fixed.

nick97 wrote:

And is it possible to seamlessly migrate from Apache to NGINX as I know iRedMail has dropped future support for Apache?

We don't have such migration tutorial yet. sad

A possible solution is:

- Upgrade your Ubuntu from 16.04 to 18.04
- Manage your iRedMail server with iRedMail Easy platform by following this tutorial: https://docs.iredmail.org/migrate.to.iredmail.easy.html

Before migration, please stop and disable Apache service to avoid ports (80, 443) conflict.

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee