SMTP don't work with multiple domains and IPs?

General questions about VestaCP
vestingpanel
Posts: 2
Joined: Sat Apr 02, 2016 7:09 pm

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

Postby 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?

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

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

Postby 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

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

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

Postby 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!


Return to “General Discussion”



Who is online

Users browsing this forum: No registered users and 8 guests

cron