@Phildago I'm sorry to hear that you are having trouble with dosing pumps. Either kind of relay will work fine as long as it can get the voltage and current it needs as Bigtrout described.
ULN2803 can be used for small dc motors, but it does depend on how much current the motor needs. It's rated up to 500 mA, but can possibly pass more (and burn up). Keep it under 300 mA or so, and it should be fine. It's also possible to combine pins if you need more current, but I'd recommend relays over combining outputs. Most of the DC peristaltic pumps I've tested run just under 150 mA.
Do you have any data about the pump you are using? I always trust advice from
@Bigtrout and
@Des Westcott. Running via a relay can rule out this problem.
I did have a problem that I thought was dosing pump related, but ended up being a problem with my SD card. It may not be the problem you are experiencing, but sharing won't hurt. My dosing pumps are scheduled to run every 30 minutes, and I noticed I didn't hear them run at all one night. For me, the whole system had stopped working and I had to power off and back on to get it to reset. The SD card had been corrupted, so it was difficult to track down since the logs weren't being written. I haven't had that problem since I upgraded to a quality SD card.