multiple IP's

hostfast

Verified User
Joined
Jul 28, 2008
Messages
45
hello,

i wan't run C class of my server (256 IP's).
How I can define transport in exim.conf, so that mail was sent by address read from domain MX record automatically ?

Regards
 
There are lots of reasons to not do it that way, but if you're really interested you can start with this, published on the exim-users mailing list about three years ago.

Jeff
 
There are lots of reasons to not do it that way, but if you're really interested you can start with this, published on the exim-users mailing list about three years ago.

Jeff

How is the easiest (and safest) to define the automation, sending mail through the IP address assigned to any user account?

Regards.
 
Why you need so many ips? No wonder we are running out of ipv4 ips...
 
@scsi,

Many of us require lots of IP#s. I am still of the belief that the shortage of IP#s is a myth. For example, the University of California (my office is in the same city as one of their campuses) has more IP#s than they'll ever use. Thousands more. Perhaps tens of thousands more. Perhaps a hundred-thousand or more, more.

All arin needs to do is force the Universities that got them all at the beginning, to give them us.

If there really are such shortages how come arin continues to give them out for pennies per year?

Yes, that's all you pay if you have your own account with arin. And to get your own account you have to prove you currently have at least the equivalent of three (I could be wrong it could be at least five) C-class allocations, and you have to know how to do your own BGP.

And you can buy BGP as a service.

Jeff
 
I have no problem with the allocation of the address pool (A or B class).
Only with many number of addresses, I will not be able to determine the transport separately for each account. It has to do mail program.
And that is why I (exim) want to recognize the smtp IP via MX records.
 
I was thinking if this can be done to create such driver eg. in perl.
With perl I can read MX records provided by the exim, and return the IP address to exim.
With perl there is no problem, but I have no idea how and where to pass the domain name exim, and passed to the perl read MX
 
With perl I can read MX records provided by the exim, and return the IP address to exim.

No way to do that since there are no IPs associated with MX records.

Its easy to use the previous suggestion above and use perl to build the list for you.

Of course you will run into trouble if somebody changes their DNS to use another ip address for mail that is not on your server. Before having perl add it to the list you will need to verify that the ip is indeed on your server.
 
I do not know how to define and where to put the script call in exim.conf :confused:
 
Post #8.

Or do you not want to do it that way at all? What script call are you talking about?
 
well, so I could ask so:

1. perl script may be called aaa.pl .
2. should look like this line for the script:
remote_smtp:
driver = smtp
interface = ??????????????????
 
Go back and read the post. There are two files mentioned and neither are perl scripts. One is exim.conf and the other is interfaces.

I suggested using a perl script to build the interfaces file for you and keep it up to date.

Open the exim.conf file and modify the section for remote_smtp: and then create the interfaces file perhaps using a perl script if you have a lot of domains and ip's.

The post gives you what you need. You just have to read them.
 
Back
Top