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.
How to configure Exim4 as smarthost
Re: How to configure Exim4 as smarthost
Sanity wrote:Good service by Mailjet , not answer !!
I found this configuration.
http://c.vestacp.com/0.9.8/rhel/exim-smarthost.conf
I'll try to see if this file works
I have got inspiration of this configuration file and I did this in my exim template file :
In routers conf :
Code: Select all
smarthost:
driver = manualroute
domains = ! +local_domains
transport = remote_smtp_auth
route_list = * in-v3.mailjet.com::587
# no_more
# no_verify
Code: Select all
remote_smtp:
driver = smtp
#helo_data = $sender_address_domain
dkim_domain = DKIM_DOMAIN
dkim_selector = mail
dkim_private_key = DKIM_PRIVATE_KEY
dkim_canon = relaxed
dkim_strict = 0
# hosts_require_tls = *
remote_smtp_auth:
driver = smtp
hosts = in-v3.mailjet.com
hosts_require_auth = in-v3.mailjet.com
2016-03-13 22:37:42 1afDhm-00043f-3K <= [email protected] H=rfg.1-23-213-432-65.fbx.proxad.net ([192.168.0.3]) [xxx.xxx.xxx.xxx] P=esmtpsa X=TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128 A=dovecot_plain:[email protected] S=688 id=[email protected]
2016-03-13 22:37:42 1afDhm-00043f-3K == [email protected] R=smarthost T=remote_smtp_auth defer (-53): retry time not reached for any host
Re: How to configure Exim4 as smarthost
fuck!!! tomorrow we'll see if answered ... good luck!
Re: How to configure Exim4 as smarthost
I had a "basic" answer this morning, but finally I'm waiting for a "technical" answer...
Re: How to configure Exim4 as smarthost
I'm still waiting...
For information, today, a friend make it works on a server debian but without VestaCP and Postfix instead of Exim4
For information, today, a friend make it works on a server debian but without VestaCP and Postfix instead of Exim4
Re: How to configure Exim4 as smarthost
@sanity : I give up for now, but do you finally make it works ?
Re: How to configure Exim4 as smarthost
at the end, buy a vps, and installed a smarthost there. haraka called the smarthost. It works perfect
Re: How to configure Exim4 as smarthost
I had a similar problem and was advised to follow a step by step for getting Mailjet to work with cPanel, WHM, and Exim.
1) From Exim Configuration, click Advanced Editor (into the AUTH section). Place the following in:
begin authenticators mailjet_login: driver = plaintext public_name = LOGIN client_send = : APIKey : APISecret
Only include the begin authenticators if it does not exist already, if it does just paste the rest below it.
2) Add a route in the Router Configuration (into ROUTERSTART): send_via_mailjet: driver = manualroute domains = ! +local_domains transport = mailjet_smtp route_list = “* in.mailjet.com::587 byname” host_find_failed = defer no_more
3) Add a transport to the Transport Configuration (into TRANSPORTSTART): mailjet_smtp: driver = smtp hosts = in.mailjet.com hosts_require_auth = in.mailjet.com hosts_require_tls = in.mailjet.com
Save all your changes, and restart exim with /etc/init.d/exim4 restart.
1) From Exim Configuration, click Advanced Editor (into the AUTH section). Place the following in:
begin authenticators mailjet_login: driver = plaintext public_name = LOGIN client_send = : APIKey : APISecret
Only include the begin authenticators if it does not exist already, if it does just paste the rest below it.
2) Add a route in the Router Configuration (into ROUTERSTART): send_via_mailjet: driver = manualroute domains = ! +local_domains transport = mailjet_smtp route_list = “* in.mailjet.com::587 byname” host_find_failed = defer no_more
3) Add a transport to the Transport Configuration (into TRANSPORTSTART): mailjet_smtp: driver = smtp hosts = in.mailjet.com hosts_require_auth = in.mailjet.com hosts_require_tls = in.mailjet.com
Save all your changes, and restart exim with /etc/init.d/exim4 restart.
Re: How to configure Exim4 as smarthost
We tested this on Ubuntu 16.04 / VestaCP / Exim4
1. Goto your mailjet dashboard
2. Take note of your Username (API Key) & Password (Secret Key)
3. Goto Mailjet senders list > Add whole domain names to approve the any-emials@your-domains
What areas need to be touched on your server side ?
Only one File : /etc/exim4/exim4.conf.template
What options need to change ?
>>begin authenticators
>>send_via_mailjet
>>mailjet_smtp
Add the below additional entries into that file.
Under >> begin authenticators
service exim4 restart
post ref : https://vvcares.com/w/configure-exim4-s ... t-mailjet/
1. Goto your mailjet dashboard
2. Take note of your Username (API Key) & Password (Secret Key)
3. Goto Mailjet senders list > Add whole domain names to approve the any-emials@your-domains
What areas need to be touched on your server side ?
Only one File : /etc/exim4/exim4.conf.template
What options need to change ?
>>begin authenticators
>>send_via_mailjet
>>mailjet_smtp
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)
- send_via_mailjet:
driver = manualroute
domains = ! +local_domains
transport = mailjet_smtp
route_list = * in.mailjet.com:587;
- mailjet_smtp:
driver = smtp
port = 587
hosts_require_auth = *
hosts_require_tls = *
service exim4 restart
post ref : https://vvcares.com/w/configure-exim4-s ... t-mailjet/