[Mimedefang] backup MX server & checking for valid users

Jim McCullars jim at info.uah.edu
Wed May 14 10:13:01 EDT 2003


On Wed, 14 May 2003, alan premselaar wrote:

> now, i've read the docs re: that function, and added a filter_recipient
> subroutine in my filter, but it doesn't appear to be doing anything.

   Only thing I can think of is, there is something you have to put in
your startup script to make sure that mimedefang gets passed the "r"
option (in my startup, it's MX_RECIPIENT_CHECK=yes).  Also, remember that
when you do a reject in filter-recipient, it rejects the recipient, not
the message (assuming there are multiple RCPT-TO).  I'm not sure how you
tell that it's not doing anything, but here is one test.  Connect to your
backup MX and send mail to someone.  Then look at the sendmail logs for
your primary MX.  You should see a log message that the backup MX made a
connection.

> need it to do (replacing the hostnames with the appropriate ones) but it
> doesn't appear to be getting called.  do i need to call it myself from some
> other part of the filter? the man page wasn't all that clear about it.

   No, it should just go into filter_recipient.  I must admit, I have
never used that function, only read about it.

> are there any specific sendmail configuration settings i need to have in
> place for this to work also?

   I don't use the confSMART_HOST or the mailertable feature in my
sendmail, so I can't say for sure there, either.

   Good luck!

Jim




More information about the MIMEDefang mailing list