… or via the MTA. e.g. with Postfix, enter in /etc/postfix/transport something like
my.final.domain.for.monitmails.com smtp:the.relay.or.mail.host Cheers! Tino > Am 26.03.2018 um 20:26 schrieb Roose, Marco <[email protected]>: > > 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 > -- > To unsubscribe: > https://lists.nongnu.org/mailman/listinfo/monit-general
signature.asc
Description: Message signed with OpenPGP using GPGMail
-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
