On Thu, 2001-10-25 at 10:13, Frank Tanner wrote:
> I know this is probably a stupid question, and I am probably going to get
> flamed to death for it, but I am going to ask it anyway.
>
> How, using the vipmap do you assign an IP address to a domain? The vipmap
> command has only one parameter. From what I can tell the command syntax is:
> vipmap [options] ip_domain. This doesn't make sense if my server has, say,
^ that character is wrong. This should be a space.
> 5 domains and I want to assign each of them their own IP. According to what
> I can see there's no way to do this. Wouldn't it make more sense to have
> the command syntax like: vipmap [options] ip_address mail_domain?
Yep, that's what it is: vipmap [options] ip domain
^ notice the space
make sure you configured with --enable-ip-alias-domains=y
usage:
./vipmap -a IP1 DOMAIN1
./vipmap -a IP2 DOMAIN2
etc
That maps IP1 --> DOMAIN1 and
IP2 --> DOMAIN2
Which means, when ever someone connects to IP1 and does
not supply the "@domain" part for a user name, "@DOMAIN1"
will automatically be appended to thier domain name before
vpopmail attempts to authenticate.
Ken