[Mimedefang] What is the order of things that occur
Steve Campbell
campbell at cnpapers.com
Tue Jul 11 14:01:39 EDT 2006
I have just finished testing MimeDefang on a test gateway. All worked fine
there. I apologize for making this task so bothersome on this list, but I
now find that in production, it does do what I need. The following scenario
exists.
I have two mailservers. Each server is the mailstore for a different domain.
Each non-mailstore is a secondary MX for the other server's domain. Each
secondary relays mail for the other server's domain using the mailertable.
I use a very simple mimedefang-milter. It just has the filter_recipient
section in it and I use the md_check_against_smtp_server function in it to
see if a valid user exists on the primary MX (mailstore) server.
Can someone verify for me that sendmail checks the mailertable and then
relays before MimeDefang is called? All of the mail for the domain to be
relayed is being "relayed" without MD doing any checks. Is there a solution
to this?
This is how the setup here exists
mail to domain1 on server1 is local (primary MX for domain 1 also)
mail to domain1 on server2 is relayed to server1 (secondary MX for domain1)
MD running on server2 should check to see if mail to domain1 is valid
mail to domain2 on server2 is local (primary MX for domain 2 also)
mail to domain2 on server1 is relayed to server2 (secondary MX for domain2)
MD running on server1 should check to see if mail to domain2 is valid
Thanks
Steve Campbell
campbell at cnpapers.com
Charleston Newspapers
More information about the MIMEDefang
mailing list