Routing all outgoing mail via the outgoing smarthost:
- Ensure the IP address is added as an Authorized Smarthost (without authentication)
- Ensure the Outgoing User has Enable Outgoing Connection Limits: ON
- Be sure that the correct limits are set matching your traffic volumes per Month, Week, Day, Hour and Minute
- Update your configuration using:
echo ":SMARTHOST:587" > /var/qmail/control/smtproutes
This will override any existing smtp routes. If you do not want this, you can replace the single > with >>.