Article 525QM Configure sendmail for multiple smarthosts depending on sender

Configure sendmail for multiple smarthosts depending on sender

by
mfoley
from LinuxQuestions.org on (#525QM)
I've found how to configure sendmail for multiple smarthosts, but what I want to do is to use a different smarthost depending on the sender.

Application: I have subscribed to sendGrid which I would like to use for sending group-email to members of a club whose webpage I host. For all other email, e.g. notices to me (webadmin) about attempted break-ins, backup notices, etc., I'd like those through a different smarthost, NOT the sendGrid relay as sendGrid limits the total number of emails to be sent.

Is there a way to do this?

Does the -G option of sendmail let me specify a relay?latest?d=yIl2AUoC8zA latest?i=_vPbNqSun6k:hJH-9wDBjA4:F7zBnMy latest?i=_vPbNqSun6k:hJH-9wDBjA4:V_sGLiP latest?d=qj6IDK7rITs latest?i=_vPbNqSun6k:hJH-9wDBjA4:gIN9vFw_vPbNqSun6k
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments