Skip to main content

Bind machine instead of ip address

Comments

4 comments

  • cPanelMichael
    Hello, Could you provide some more information about this configuration, or provide us with an example? Thanks!
    0
  • NOC_Serverpoint
    Hi,. I suppose you need to Configure Exim to receive email for domain only from specific IP addresses. For this You need to create a file : /etc/filterdomains Contain the list of domains we want to filter, and have set up the special MX records for. It is just a list of domain names (one per line) eg: Domain1.com domain2.com ect... The second file we will call /etc/filterrelays " this will contain a line separated list of the safe relay IP addresses " which might look like this: 198.18.42.5 198.9.2.2 Now need to add this to "exim.conf" .Using WHM, then just use the advanced Exim Configuration editor to make the changes. Please make sure to take backup of /etc/exim* files first. Add the following to the top of the exim.conf file ---- hostlist filter_relays = net-lsearch;/etc/filterrelays : net-lsearch;/etc/relayhosts domainlist filter_domains = lsearch;/etc/filterdomains ---- Under "check_recipient" .There should be a line : "accept hosts = :" Following this line add : -- deny !hosts = +filter_relays domains = +filter_domains message = use the correct domain MX record -- Now restart exim: /scripts/restartsrv_exim Thanks,
    0
  • Osama Tariq
    I need to bind my exim server to my client machine running microsoft outlook. Except that machine no one can login to email account and send/receive email through it. Exim server only listen from that client machine. Is it any way to bind machine instead of ip address ? For example: it looks like the same concept used in mac binding in which specific ip is reserved for specific machine.
    0
  • cPanelMichael
    Hello, I don't believe that's supported. Is there any reason you can't use the IP address of the device? Thank you.
    0

Please sign in to leave a comment.