Aspegic
Verified User
- Joined
- Aug 4, 2005
- Messages
- 283
How to send email with exim if the provider blocks outgoing connections to port 25?
I installed DirectAdmin on a Google Compute VM.
Google blocks outgoing connections to port 25 (and unfortunately no, they will not unlock it if you ask them).
So, my exim won't send email.
I searched a lot trying to find an answer, but basically all solutions I found suggest to use some external service like Smtp.com or Sendinblue or Mailgun or SendGrid or Gmail or Outlook or Amazon SES etc which is not what I want.
Is it possible to force Exim to use port 587 instead of port 25 for outgoing connections?
I also searched for that solution but maybe I am not using the correct search-words, but I cannot find anything useful. You'll find zillions of search results explaining how to open port 587 for incoming connections, but not for outgoing. There are a few results I found, even in the directadmin documentation (referring to adding route_list to exim.routers.pre.conf), but that seems to work only when using an external smtp server, which I do not have, nor want.
Does anyone know how to force Exim to use port 587 to connect to other smtp servers?
Or any other solution that does not require an external third-party service?
I installed DirectAdmin on a Google Compute VM.
Google blocks outgoing connections to port 25 (and unfortunately no, they will not unlock it if you ask them).
So, my exim won't send email.
I searched a lot trying to find an answer, but basically all solutions I found suggest to use some external service like Smtp.com or Sendinblue or Mailgun or SendGrid or Gmail or Outlook or Amazon SES etc which is not what I want.
Is it possible to force Exim to use port 587 instead of port 25 for outgoing connections?
I also searched for that solution but maybe I am not using the correct search-words, but I cannot find anything useful. You'll find zillions of search results explaining how to open port 587 for incoming connections, but not for outgoing. There are a few results I found, even in the directadmin documentation (referring to adding route_list to exim.routers.pre.conf), but that seems to work only when using an external smtp server, which I do not have, nor want.
Does anyone know how to force Exim to use port 587 to connect to other smtp servers?
Or any other solution that does not require an external third-party service?
Last edited: