@girish said in EspoCRM 9.1.0 fresh install not sending email (system email):
@ChicagoGregg @Thimm I pushed a fix for this yesterday. Can you please update the app and check?
Works for me as well !
Thanks,
-gregg
@girish said in EspoCRM 9.1.0 fresh install not sending email (system email):
@ChicagoGregg @Thimm I pushed a fix for this yesterday. Can you please update the app and check?
Works for me as well !
Thanks,
-gregg
@girish said in Multiple WP sites sharing wp_users db table:
@ChicagoGregg said in Multiple WP sites sharing wp_users db table:
I would like to share the WP users between the two.
Is this something supported by WP ? How can it share users but not anything else? It writes to db1 for users and db2 for other things like posts/comments ?
Sure, this is done currently on WP sites even when cloudron isn't in the mix. For simplicity of this thread, I was just referring it to wp_users, but it also requires usermeta.
I wonder how the bigger sites using WP also have their topology laid out with MySQL DB's clustered, and even with something like Kubernetes.
I would love to find a tech paper somewhere on this. And then, when it comes to having a larger website that is load balanced across disparate physical locations, how Cloudron could (if possible) be laid out to handle the workload. I'm thinking that it would be difficult and, in these situations, it might be best to simply have a dedicated host running, for example, Docker, Portainer, Kubernetes, MySQL (clustered), etc.
==========
Ok, it might be that I'm the guinea pig for this to test to and validate this works as expected.
I've found the below two articles to be very valuable.
How to Share Logins and Users Between Multiple WordPress Sites - https://kinsta.com/blog/share-logins-wordpress/
The Ultimate Guide to WordPress User Roles and Capabilities - https://kinsta.com/blog/wordpress-user-roles/
After reading the above two, I think the WP sites would have to use the same MySQL database, but have a different DB table prefix for each site (for the non-wp_users and wp_usermeta tables). The WP hook that the first article references is essentially to clone the user capabilities from one site to another within the same MySQL database upon modification.
Basically, here is what I'm working on.
Site #1 - Primary website (domain.org) that hosts the home page / landing page. Introduces the visitor to the society, its features, how the public/private memberships work, how to join, etc. This also will likely handle some administrative-related functions (including plugins), e.g. CRM, Support/Ticketing system, newsletter blasts, etc. This might also be the primary interface for where user roles, metadata, etc. are administered (TBD).
Site #2 - Social website part of the society (domain.social). This runs the social platform, event calendar, etc. It will also have such WP plugins like AutomatorWP and WP Fusion (amongst others).
Site #3 (TBD) - Media platform (domain.tv). This will handle a "media" related matters... Very similar to such sites like YouTube, Rumble, Bitchute, Odyssey, etc. and/or providing a "Netflix-like" type site. Users, based on their membership level, would be able to access this site. The users would likely also be "synchronized" to this site.
For now, I will be working on checking into the feasibility and implications for Site #1 and Site #2 "synchronization".
I will find out also what drawbacks, if any, exist for such things like having AutomatorWP (Site #2) trigger certain events and if it would (could) be picked up by the CRM (Site #1).
I would love to keep the administrative-related functions separate from Site #2 and Site #3. No need to have additional bloat where not needed.
So, within the next month, I plan on getting all this in place. I will do some testing and validation in the next few weeks.
If anyone has information, tips, etc. please do chime in!
Looking forward to checking this out.
-gregg
@girish I use DBeaver with an SSH tunnel. I just found an option that I forgot to toggle on -- "Show all databases".
Now it shows all the databases!
On a side note, I did first try to configure an SSH tunnel and a post-command to execute "/usr/local/bin/docker exec -ti postgresql bash" and that worked as well.
But, only one tunnel is needed to the cloudron server to login as root that allows access to all databases.
I'm good to go. Thanks for the help!
Without a doubt...
+1 on this!
Hello,
I'm having issues with EspoCRM not sending emails. This is a brand new app installed, with its fresh configuration pointing to the system mail server (mail:2525).
The Cloudron email system is setup to use an Outbound relay with authentication. That part works (and has been working) just fine.
I'm testing by creating a new user and having the system send the user an email notification with the generated password.
While creating a new user, and clicking Save, it does not appear to send the email.
I have the Email Event Log GUI pulled up, the Service mail log, and doing a tail on the exim_mainlog on the destination server (Outbound relay host). None are showing the email go through.
One thing I notice is the info icon in Administration -> Outbound Emails -> System Email Address says:
"System emails will be sent from this email address. A group email account with the same email address must be set up and properly configured to send emails."
Going to the Group Email Accounts does NOT have a configured account configured by default (during application install/first time run). I enabled it as a "System" account with mail:2525, STARTTLS, and Auth unchecked.
While in the same configuration section, I go to SMTP and Send Test Email. I've tried entering an email for the same domain Cloudron is configured for as well as some personal email addresses of mine.
In the email logs (terminal, Service mail, I see:
May 10 19:42:05 [NOTICE] [7AF02661-58C2-48EE-997F-2BFCAC9566E7] [core] connect ip=fd00:c107:d509::a port=59328 local_ip=fd00:c107:d509::6 local_port=2525
May 10 19:42:05 [INFO] [7AF02661-58C2-48EE-997F-2BFCAC9566E7] [dns-list] skip:private: fd00:c107:d509::a
May 10 19:42:05 [INFO] [7AF02661-58C2-48EE-997F-2BFCAC9566E7] [helo.checks] helo_host: b973ce3a-363c-469a-9754-bb916520649f, skip:proto_mismatch(private), bare_ip(private), dynamic(private), valid_hostname(private), rdns_match(private), host_mismatch(private), literal_mismatch(private)
May 10 19:42:05 [NOTICE] [7AF02661-58C2-48EE-997F-2BFCAC9566E7.1] [core] sender <ptvent.app@DOMAIN_HERE.net> code=CONT msg=""
May 10 19:42:05 [NOTICE] [7AF02661-58C2-48EE-997F-2BFCAC9566E7.1] [core] recipient <it@DOMAIN_HERE.net> code=OK msg="" sender=ptvent.app@panterravida.net
May 10 19:42:05 [NOTICE] [7AF02661-58C2-48EE-997F-2BFCAC9566E7.1] [core] disconnect ip=fd00:c107:d509::a rdns=b973ce3a-363c-469a-9754-bb916520649f.cloudron helo=b973ce3a-363c-469a-9754-bb916520649f relay=N early=N esmtp=Y tls=N pipe=N errors=0 txns=1 rcpts=0/0/1 msgs=0/0/0 bytes=0 lr="550 I cannot deliver mail for <it@DOMAIN_HERE.net>" time=0.03
And EspoCRM gives back an Error 500 Unknown error.
Anyone have any ideas?
Thanks!
-gregg
@girish said in Mail server - How to expose ports for internal network:
@ChicagoGregg said in Mail server - How to expose ports for internal network:
Is it possible to expose its ports (25,465,587) to the local network so that mail can be sent (relayed) through the mail server and let it handle it going outbound? Figuring that Cloudron has this capability, and I'd only have a few emails per day requiring this, it should be able to provide this.
If I understand correctly, you want to relay mail via another mail server. If so, just sent the relay using the External SMTP relay configuration.
I am not quite following the part about exposing port 25/476/587 though. These are already exposed on the server. You have to configure your router/firewall to port forward those ports to the Cloudron internal IP.
Sorry for the tardy reply here. Thanks for both of your replies @subven and @girish .
Originally, I was simply wanting to do something like
Home Network (App sends email) -> Cloudron (on home network) accepts mail for relay from local home network 10.x.x.x -> sends to server through Internet connection (to my already-configured mail relay server, External w/ authentication)
I was looking for an unauthenticated relay on the home network.
Well, I suppose that Cloudron can't provide an unauthenticated relay point. So, I suppose the workaround is simply to configure a user and relay using authentication using a domain that is configured.
I'm fine going this route... And I get why it's for that reason with security.
Thanks for the help!
-gregg
Hello. I'm trying to remove a domain and it's giving me the following error:
ER_ROW_IS_REFERENCED_2: Cannot delete or update a parent row: a foreign key constraint fails (box
.mailboxes
, CONSTRAINT mailboxes_aliasDomain_constraint
FOREIGN KEY (aliasDomain
) REFERENCES mail
(domain
))
There are four mailboxes connected to the domain.
Do I perhaps need to delete the mailboxes before removing the domain?
If so, feature request to put a checkbox (when deleting the domain) that will delete the mailboxes associated with it prior.
Thanks!
Hello,
I am looking into the feasibility of running two WP (developer) instances within Cloudron.
I would like to share the WP users between the two.
I don't think this is possible by default since each MySQL db is separate per WP app instance.
Has anyone done this before? Is it possible to do?
I would think it could be possible by GRANT'ing the WP DB user (defined in wp-config.php) with the host/IP ??? e.g. adding the @172..... IP to the user so that it can access the db table.
Thoughts?
Thanks!
-gregg