I have been trying (too) many ways of getting SMTP under the system settings to work, but it seems that SolidCP is still not able to send out mail. I keep getting the red block with the following message:
System.Web.Services.Protocols.SoapException: Server was unable to process request. —> The specified string is not in the form required for an e-mail address.
I have tried to enter my SMTP settings from the provider (Amazon AWS) but I suspect that does not work because the only available option in SolidCP setting is SSL and they use TLS. Then I tried setting up IIS 6.0 manager and SMTP virtual Server to relay messages according to instructions here:
Even with the local server as the SMTP relay it still does not work. This is the setting that SolidCP uses to send out mail to customers, correct? Am I missing something?
Did you adjust the email address from (name + email address) in the Mail templates at Serveradmin home –> Mail templates (bottom right) ?
Ok, thank you for that. That fixed one problem. However I still can’t get SMTP to work. I get the following error now:
SMTP Error: Transaction failed
The transaction failed.
So basically I know my SMTP settings are correct (I can Telnet to the SMTP from the server). I wonder if this is an issue with TLS since my SMTP service provide only accepts TLS traffic?
Is there a log somewhere that I can check to see exactly what part of this transaction failed? Maybe that helps keeping more of my hair from going grey and falling 🙂
I have taken a look and when you enable SSL it does use STARTTLS as per RFC 3207.
I can see that AWS does have a guide to allowing connections directly from servers found at https://docs.aws.amazon.com/ses/latest/DeveloperGuide/smtp-connect.html please do note they recommend using port 587.
Thanks for the info Trevor. Today I have opened up a support case with AWS to see if there is something from their end causing this as well. It seems like everything is setup correctly in SolidCP and AWS from my end… we will see… maybe I have made a mistake somewhere…
Would we be able to get an update on if the case with AWS solved this issue? It could be useful for other members of the community with a simulator setup.
Yes, it was an AWS limit that would not let us send more than certain number of emails via their SMTP (we do have a bunch of stuff in AWS that also sends emails). I opened a case and requested limit increase and that fixed it.
Things that someone need to know the first time they are setting up SMTP in AWS:
1. every email address in From and To has to be “verified” by AWS.
2. you can only send 200 emails / day be default
3. In order to get rid of any of those 2 restriction you would have to agree to some terms of service (to ensure that one does not abuse this service for sending mass spam or fraud, etc.) and can request for the limit to be increased (or removed in case of forcing to send to verified emails only). I think they lift the limit of emails to 2000 per day if you just ask, but I’m not 100% sure about their policies on that.
May I give some feedback on SolidCP UI design:
It would have been nice if there was a way to actually be able to set some default server email address in the interface.
Additionally those settings are very obscured and not obvious. Why are they not under the actual “settings” menu on the left? One would assume the server settings also includes the SolidCP settings.
I have made a feature request in the tracker for a single default from address.
The reasons the templates are in their location is because they are not server wide and can be overwritten by any reseller to their needs. They are able to adjust the From address along with what is contained in the template (So they can include their company info for example).
Thanks for all the help and information.
For the SMTP email settings, maybe there can be at least a little line of text or link to inform/remind user that they should update the “From” field in the email templates as well. That little change will make a big difference for someone who is setting SolidCP up for the first time and will not need a significant change (if any) in the code or scripts.
Maybe that could speed things up without rocking the boat too much and get it into the next update 🙂
- Views273 times
- Answers8 answers