>> I misread the part out src-ip.
>>
>> You may be able to do what you want by combining
>>
>> iptables-dnat with the usermap table.
>
>  Or similarly (ie. in the "ugly hacks" camp), use perdition to proxy
> your pop3 sessions to dbmail running on different ip addrs (eg. use as
> many 127.x.x.x addrs as you need) and combine with usermap.

These are good idea!
We can set, using usermap:
user1 can access to dest-ip1
user2 can access to dest-ip2
iptables:
allow src-ip1 to dest-ip1
allow src-ip2 to dest-ip2

Then it will solve my problems. Thank you so much!!


By the way, it will be harder to deploy.
I'd like to suggest a new table for this purpose.
It can be implemented after checking the usermap table.
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to