[Mimedefang] Custom SMTP relaying
David F. Skoll
dfs at roaringpenguin.com
Thu Oct 19 11:13:45 EDT 2006
Roedel, Mark wrote:
> What would be the simplest way to specify -- either in Sendmail config
> files, or in our existing MIMEDefang filter code -- that we want to
> messages to certain (about a half-dozen or so) users redirected to the
> Can-It machine rather than handed off directly to our Exchange server?
In Sendmail, you'd need to use the ldap_routing FEATURE, which can
route based on the entire e-mail address (not just the domain.)
In MIMEDefang, you'd have to hack something in filter_end that iterates
over @Recipients. For any recipient that should be rerouted (based
on whatever criteria you like), you'd need to delete that recipient
(let's say foo at letu.edu) and add a new recipient (foo at canit.letu.edu).
You'd then have a mailertable entry routing canit.letu.edu to the CanIt
machine. And the final piece of the puzzle is to convince your Exchange
server to accept foo at canit.letu.edu as a local recipient.
Regards,
David.
More information about the MIMEDefang
mailing list