Hi Guillaume, I think you have to manage this with network routing. Seting a dedicated route to the smtp server should do the Job.
Kind regards, Marco Roose > Am 26.03.2018 um 18:56 schrieb Guillaume François > <[email protected]>: > > Hello, > > We have Monit running on a host with several IPs. > > When sending email, we have to use one "whitelisted" IP instead of other. > > In the documentation, the HOSTNAME option of the MAILSERVER option allows to > set the hostname used in SMTP HELO/EHLO and in the Message-ID header. > > Unfortunately, we didn't found any options regarding the "source ip" to use > to connect to SMTP server. > > Is there any plan to add such functionality ? > > First for MAILSERVER then maybe also for other checks ? > > Best Regards, > Guillaume > -- > To unsubscribe: > https://lists.nongnu.org/mailman/listinfo/monit-general
smime.p7s
Description: S/MIME cryptographic signature
-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
