We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
I can send mail, but can't seem to receive it (Mailjet)
-
- Posts: 8
- Joined: Sun Dec 31, 2017 6:32 am
- Contact:
- Os: Ubuntu 15x
- Web: apache + nginx
I can send mail, but can't seem to receive it (Mailjet)
Hello,
I have setup lolfights.com and have added Mailjet as a smarthost following the instructions here: https://vvcares.com/w/configure-exim4-s ... t-mailjet/
At this point I can send mail and it arrives nearly instantly.
Sending mail to any of my domains however is not successful. They do appear to succesfully send but are not actually delivered. I see not activity in the /var/log/exim4/mainlog file either for receiving. Since my ISP blocks port 25 I suspect this is the reason. So Mailjet is my solution, but I seem to be stuck. I have a ticket open with Mailjet, but I believe someone here has already gone through this scenario and can hopefully enlighten me.
Here is how the default MX record looks
From my understanding I must setup SPF, and DomainKeys/DKIM with mailjet, but sadly I've been unable to do this properly in VestCP. If anyone can help please reply.
Thanks.
I have setup lolfights.com and have added Mailjet as a smarthost following the instructions here: https://vvcares.com/w/configure-exim4-s ... t-mailjet/
At this point I can send mail and it arrives nearly instantly.
Sending mail to any of my domains however is not successful. They do appear to succesfully send but are not actually delivered. I see not activity in the /var/log/exim4/mainlog file either for receiving. Since my ISP blocks port 25 I suspect this is the reason. So Mailjet is my solution, but I seem to be stuck. I have a ticket open with Mailjet, but I believe someone here has already gone through this scenario and can hopefully enlighten me.
Here is how the default MX record looks
Code: Select all
@
MX
10
lolfights.com.
Thanks.
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: I can send mail, but can't seem to receive it (Mailjet)
Do you use DNS zones provided by VestaCP or do you host DNS somewhere else ?
Mailjet provides you the required records... just set them up wherever you host your DNS
Please provide specific problem so we can help you further
Mailjet provides you the required records... just set them up wherever you host your DNS
Please provide specific problem so we can help you further
-
- Posts: 8
- Joined: Sun Dec 31, 2017 6:32 am
- Contact:
- Os: Ubuntu 15x
- Web: apache + nginx
Re: I can send mail, but can't seem to receive it (Mailjet)
I use the DNS zones provided by VestaCP. I was able to get the SPF and DKIM records to show up as good on Mailjet's end (I was simply not waiting long enough). As for being able to send but not receive that is still a problem, and the primary problem I have. Using the below code I was able to get exim to successfully send mail. I receive it on my gmail account. When I reply I never see it on my server. That is where I am stuck now.mehargags wrote:Do you use DNS zones provided by VestaCP or do you host DNS somewhere else ?
Mailjet provides you the required records... just set them up wherever you host your DNS
Please provide specific problem so we can help you further
Code: Select all
>> begin authenticators
>> begin routers
>> begin transports
Add the below additional entries into that file.
Under >> begin authenticators
mailjet_login:
driver = plaintext
public_name = LOGIN
client_send = : Username (API Key):Password (Secret Key)
Under >> begin routers
send_via_mailjet:
driver = manualroute
domains = ! +local_domains
transport = mailjet_smtp
route_list = * in.mailjet.com:587;
Under >> begin transports
mailjet_smtp:
driver = smtp
port = 587
hosts_require_auth = *
hosts_require_tls = *
Finally – Restart your exim4 / MTA
service exim4 restart
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: I can send mail, but can't seem to receive it (Mailjet)
so to receive mail for your domain, you need to setup your MX records.
Check if your MX records are published properly https://toolbox.googleapps.com/apps/dig/#MX/
Check if your MX records are published properly https://toolbox.googleapps.com/apps/dig/#MX/
-
- Posts: 8
- Joined: Sun Dec 31, 2017 6:32 am
- Contact:
- Os: Ubuntu 15x
- Web: apache + nginx
Re: I can send mail, but can't seem to receive it (Mailjet)
My MX records look like this:mehargags wrote:so to receive mail for your domain, you need to setup your MX records.
Check if your MX records are published properly https://toolbox.googleapps.com/apps/dig/#MX/
Do they appear right to you? I actually don't know what makes a properly published MX record.
Code: Select all
id 29087
opcode QUERY
rcode NOERROR
flags QR RD RA
;QUESTION
lolfights.com. IN MX
;ANSWER
lolfights.com. 14399 IN MX 10 mail.lolfights.com.
;AUTHORITY
;ADDITIONAL
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: I can send mail, but can't seem to receive it (Mailjet)
yes they do look right presuming mail.lolfights.com has correct A record to the IP of your server
-
- Posts: 8
- Joined: Sun Dec 31, 2017 6:32 am
- Contact:
- Os: Ubuntu 15x
- Web: apache + nginx
Re: I can send mail, but can't seem to receive it (Mailjet)
It points to my local IP which translates to my public IP so that does appear correct "192.168.1.50 ~ 66.56.26.151".mehargags wrote:yes they do look right presuming mail.lolfights.com has correct A record to the IP of your server
-
- Posts: 8
- Joined: Sun Dec 31, 2017 6:32 am
- Contact:
- Os: Ubuntu 15x
- Web: apache + nginx
Re: I can send mail, but can't seem to receive it (Mailjet)
My ISP blocks port 25. I'm thinking this is my problem. What do you think?mehargags wrote:yes they do look right presuming mail.lolfights.com has correct A record to the IP of your server
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: I can send mail, but can't seem to receive it (Mailjet)
If port 25 is blocked you should have problem sending also as it would knock out any handshake on Port 25
If you wish I can check your server. PM me:
1. complete information of your domain names in questions
2. root SSH
3. VestaCP Admin
4. Email ID to check and its password
5. Name of your Provider where your server is hosted, May need to check their KB
If you wish I can check your server. PM me:
1. complete information of your domain names in questions
2. root SSH
3. VestaCP Admin
4. Email ID to check and its password
5. Name of your Provider where your server is hosted, May need to check their KB
-
- Posts: 8
- Joined: Sun Dec 31, 2017 6:32 am
- Contact:
- Os: Ubuntu 15x
- Web: apache + nginx
Re: I can send mail, but can't seem to receive it (Mailjet)
I have Mailjet setup as a smarthost on port 587 through EXIM4's configuration file using the information posted earlier on this thread. So sending makes sense. Since all servers use 25 to send mail I guess I'm screwed unless I get that port unblocked. This must be the issue as I setup a temporary server at a datacenter yesterday, and VestaCP sent mail and worked right out of the box! Sorry to waste your time.mehargags wrote:If port 25 is blocked you should have problem sending also as it would knock out any handshake on Port 25
If you wish I can check your server. PM me:
1. complete information of your domain names in questions
2. root SSH
3. VestaCP Admin
4. Email ID to check and its password
5. Name of your Provider where your server is hosted, May need to check their KB