Tuc at T-B-O-H.NET wrote:
Hi,

        Everyone keeps telling me to push the userlist out to the
MX. This isn't possible, since everything is handled in virtusertable.
So then they tell me to push the virtusertable out to the MX's.
So I've asked multiple people multiple times how using sendmail
on an MX thats not a final delivery server how to use the virtusertable
to accept the mail, process against the virtusertable, and then
when the final delivery server is contactable, send it there. Of
what I've read, no one can tell me. Maybe I'm missing a fundamental
fact. Are virtusertables checked during non final delivery MX
handling in sendmail?


OK, I admit I haven't been following this thread closely so I may have missed something and maybe my suggestion won't fit your needs. However, we're accomplishing something like what you describe above using Mimedefang. The Mimedefang milter includes a function called md_check_against_smtp_server which checks the recipient address against the virtusertable defined on whatever MX server you give it. If it's not a valid user voila! message is rejected during the Mimedefang processing - aka as soon as the connecting server has provided the recipient address, before the whole message has been transmitted. Otherwise processing and mail delivery continues as normal.

The man pages warn about this causing a little more overhead on the server you're checking along with extra log entries, but it has not been a problem here.

Sandy

Reply via email to