One server with 2 d...
 
Notifications
Clear all

One server with 2 domains each on separate IP

1 Posts
1 Users
0 Reactions
32 Views
(@michnovka)
New Member
Joined: 1 week ago
Posts: 2
Topic starter  

Hi all! I am trying to setup my carbonio 25.6.1 so that I can use separate IPs for each of my 2 domains. The main reason for this is spam rejection by server providers. If I have mail.domain1.com as my primary domain and IP 1.1.1.1 pointing to it, and mail.domain2.com with 2.2.2.2 pointing to it, I need a way to have SMTP HELO banner say mail.domain1.com and mail.domain2.com respectively.

I was able to modify ` removed link `

smtp-navara   unix  -       -       n       -       -       smtp
 -o syslog_name=postfix-smtp-domain2
 -o smtp_bind_address=2.2.2.2
 -o smtp_helo_name=mail.domain2.com 

And I can confirm that for outbound emails the server is authenticating as mail.domain2.com.

However if I test

swaks --server mail.domain2.com --port 587 --tls -q HELO

 

I get

=== Trying mail.domain2.com:587...
=== Connected to mail.domain2.com.
<-  220 mail.domain1.com ESMTP Postfix
-> EHLO superuser-X570S
<-  250-mail.domain1.com


I would really like to use a single carbonio server and allow the 2 domains to use separate IPs.

not sure how to configure this, since now I see that carbonio listens on 0.0.0.0:587. Any ideas? Thanks!

 


   
Quote