Using the Pure-ftpd daemon to serve ftp service. I've modified the init script to run multiple domains with different IPs, with separate DBs and separate WELCOME MSGs.
daemon "$pure_launch_script /etc/pure-ftpd/dom1.conf --daemonize > /dev/null -F /etc/pure-ftpd/dom1.msg" daemon "$pure_launch_script /etc/pure-ftpd/dom2.conf --daemonize > /dev/null -F /etc/pure-ftpd/dom2.msg" daemon "$pure_launch_script /etc/pure-ftpd/dom3.conf --daemonize > /dev/null -F /etc/pure-ftpd/dom2.msg"
Everything working flawlessly and perfect without errors. But the pain the ass is that all the domains that i serving are logged (verbose) in only one xfer.log file. It's not comfortable for investigate and monitor the activity. My system using rsyslog wich is very advanced ... So, my only solution that i see is to filter the messages, but must be filtered by the IP of the interface that is dedicated to the each one of the multiple servers and can't find filter for this in rsyslog. That only option is fromhost-ip ... wich is not working in my case, can't filter by $msg contains because the users are logged like user@remoteip...
I'm the black hole now... if somebody have a good idea it will be great.