Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

Fast Mail Fast Smarthost - fast dirty mail hack

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Locked
  • Print view
Advanced search
4 posts • Page 1 of 1
skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Fast Mail Fast Smarthost - fast dirty mail hack

Post by skurudo » Fri Mar 27, 2015 8:21 pm

In times you need send mail from your server, but you can't configure it or your hosting provider just closed port for you/or your IP deeply in spamlist (and you're not guilty). You can try to use external and valid smtp to send your mail. Just a little copypaste and service restart. Main idea - use external and valid smtp servers.

Disclaimer: as is, if you understand

Depending on your OS:
CentOS - /etc/exim/exim.conf
or
Debian - /etc/exim4/exim4.conf.template

Search section - AUTHENTICATION CONFIGURATION - add code for your external mail (yandex or google):

Yandex

Code: Select all

yandex_login:
  driver = plaintext
  public_name = LOGIN
  hide client_send = : [email protected] : password
or

Gmail

Code: Select all

gmail_login:
  driver = plaintext
  public_name = LOGIN
  hide client_send = : [email protected] : password
Search section - ROUTERS CONFIGURATION - add code for your external mail (yandex or google):

Yandex

Code: Select all

yandex_route:
  driver = manualroute
  transport = yandex_relay
  route_list = * smtp.yandex.ru
or

Gmail

Code: Select all

gmail_route:
  driver = manualroute
  transport = yandex_relay
  route_list = * smtp.gmail.com
Search section - TRANSPORTS CONFIGURATION - add code for your external mail (yandex or google):

Yandex

Code: Select all

yandex_relay:
  driver = smtp
  port = 587
  hosts_require_auth = $host_address
  hosts_require_tls = $host_address
or

Gmail

Code: Select all

gmail_relay:
  driver = smtp
  port = 587
  hosts_require_auth = $host_address
  hosts_require_tls = $host_address
Search section - REWRITE CONFIGURATION - add code for your external mail (yandex or google):

Yandex

Code: Select all

*@* [email protected] Ffr
or

Gmail

Code: Select all

*@* [email protected] Ffr
And we restart mail-server exim(4):
CentOS

Code: Select all

service exim restart
Debian

Code: Select all

service exim4 restart
Top

AlexandreRideau
Posts: 3
Joined: Fri Aug 28, 2015 3:07 pm

Re: Fast Mail Fast Smarthost - fast dirty mail hack

Post by AlexandreRideau » Tue Oct 06, 2015 12:47 pm

Thanks !!!!!

Do you know how to configure smarthost with mailjet ?

I try to configure exim to work with mailjet but i can't ....
Top

waleeed1
Posts: 1
Joined: Mon Feb 22, 2016 6:07 am

Re: Fast Mail Fast Smarthost - fast dirty mail hack

Post by waleeed1 » Mon Feb 22, 2016 6:10 am

Do you know how to configure smarthost with mailjet ?
Last edited by waleeed1 on Tue Mar 01, 2016 5:36 am, edited 1 time in total.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Fast Mail Fast Smarthost - fast dirty mail hack

Post by skurudo » Thu Feb 25, 2016 7:22 pm

Mailjet have example on site -> https://www.mailjet.com/docs/code/exim
Top


Locked
  • Print view

4 posts • Page 1 of 1

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password