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 General Discussion
  • Search

SMTP don't work with multiple domains and IPs?

General questions about VestaCP
Post Reply
  • Print view
Advanced search
13 posts
  • Previous
  • 1
  • 2
vestingpanel
Posts: 2
Joined: Sat Apr 02, 2016 7:09 pm

Re: SMTP don't work with multiple domains and IPs?
  • Quote

Post by vestingpanel » Sat Jan 28, 2017 3:54 am

Hi!

How can I include a wildcard in domainips file? I mean, I want all domains but one to use IP X.X.X.X and that single domain to use Y.Y.Y.Y

Also, how can I link a SSL certificate for SMTP server for those domains?
Top

cthemudo
Posts: 4
Joined: Thu Sep 14, 2017 5:08 am

Re: SMTP don't work with multiple domains and IPs?
  • Quote

Post by cthemudo » Thu Nov 16, 2017 9:01 pm

logger wrote:work )

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
  interface = <;${lookup{$sender_address_domain}lsearch{/etc/exim/domainips}}

Code: Select all

[root@srv exim]# cat /etc/exim/domainips
domain1.ru:178.208.1.9;
domain2.ru:178.208.2.12;
+1
Top

cthemudo
Posts: 4
Joined: Thu Sep 14, 2017 5:08 am

Re: SMTP don't work with multiple domains and IPs?
  • Quote

Post by cthemudo » Thu Nov 16, 2017 9:04 pm

vestingpanel wrote:Hi!

How can I include a wildcard in domainips file? I mean, I want all domains but one to use IP X.X.X.X and that single domain to use Y.Y.Y.Y

Also, how can I link a SSL certificate for SMTP server for those domains?
I use:

Code: Select all

cat /etc/exim/domainips 
domain.es: 11.22.33.44;
*:55.66.77.88;
and it's work!
Top


Post Reply
  • Print view

13 posts
  • Previous
  • 1
  • 2

Return to “General Discussion”



  • 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