Hi everyone,
I signed up at AWS and created an instance at LightSail. Successfully installed WHM/cPanel and transferred some accounts via Transfer Tool provided at WHM.
Everything was working great and then I tried to send an email. To my surprise i found out that AWS blocks port 25 and I had to write them application for it's opening.
They rejected it and told me to use AWS SES (Simple Email Service). I tried AWS SES and when I wanted to switch to production. They also denied my request.
So, Now i can't use AWS port or SES.
I did some research and found out that there are many smart Hosts available. I wanted to use sendGrid by Twilio.
After signup at sendgrid and verification of email. I added a domain at sendgrid and added SPF, DKIM to that domain.
Then i configured Exim Configuration.
Now, I am able to send emails via sendgrid smarthost for that domain but I can't send emails for other cPanel accounts or any other domains.
What i want is to be able to send emails for all accounts/domains. and whenever any new customer account is created he should also be able to send emails. is there any way to automate this process ?

Above is the email i get when i try to send from some other domain. If i send from domain that was authenticated at sendgrid everything works well.
How do i configure my WHM in such a way that every account and every domain can send email via sendgrid without manually authenticating every domain at my WHM.
I signed up at AWS and created an instance at LightSail. Successfully installed WHM/cPanel and transferred some accounts via Transfer Tool provided at WHM.
Everything was working great and then I tried to send an email. To my surprise i found out that AWS blocks port 25 and I had to write them application for it's opening.
They rejected it and told me to use AWS SES (Simple Email Service). I tried AWS SES and when I wanted to switch to production. They also denied my request.
So, Now i can't use AWS port or SES.
I did some research and found out that there are many smart Hosts available. I wanted to use sendGrid by Twilio.
After signup at sendgrid and verification of email. I added a domain at sendgrid and added SPF, DKIM to that domain.
Then i configured Exim Configuration.
Now, I am able to send emails via sendgrid smarthost for that domain but I can't send emails for other cPanel accounts or any other domains.
What i want is to be able to send emails for all accounts/domains. and whenever any new customer account is created he should also be able to send emails. is there any way to automate this process ?

Above is the email i get when i try to send from some other domain. If i send from domain that was authenticated at sendgrid everything works well.
How do i configure my WHM in such a way that every account and every domain can send email via sendgrid without manually authenticating every domain at my WHM.
Last edited by a moderator: