If I'm not missing something here, you could modify your script and use it to populate the VPOPMail MySQL database with your user/domain information. Then have CHKUSER use that database to verify recipients. You'll also have to update the rcpthosts file with the domains and the smtproutes file, unless the domains all go to the same Exchange server, and you can have a default IP or domain in there.
Michael J. Colvin NorCal Internet Services www.norcalisp.com > -----Original Message----- > From: Brent Gardner [mailto:[email protected]] > Sent: Friday, October 30, 2009 4:12 PM > To: [email protected] > Subject: [qmailtoaster] Filtering in front of an Exchange server to > prevent bounces > > I have a qmailToaster acting as a filter in front of an Exchange > server. No mail is kept locally, everything is forwarded to the > Exchange server. > > Since the toaster doesn't know about the accounts on the Exchange server > it can't block inbound messages for unknown addresses during > transmission. The Exchange server is doing a lot of bouncing. Methods > i've seen to prevent this on the Exchange side seem undesireable: > - disable NDR's completely > - create a catchall for bad addresses using a sink > > On a test machine, I'm experimenting with how to get the toaster to > block during transmission. I set it up similar to how the live server > is configured, then I ran vadddomain and vadduser to set up a domain and > a couple users. For each user, I edited the .qmail file to cause them > to forward to an address on an internal-only domain serviced by the > Exchange server. > > This seems to work. > > I've developed a script I can run on a Windows machine that pulls all > email addresses out of Active Directory and generates a script to run on > the toaster that will use vadddomain and vadduser to create domains and > users, and then create the .qmail file and put the correct information > into it for each user. > > > My questions: > > Are there other ways to go about this on the toaster side that may be > more efficient? Perhaps a file wherein I can list all the email > addresses I'm willing to accept mail for? > > Is there a domain-level file i can put forwarding information into so I > don't have to do it in each account's .qmail file? > > Do I need to put settings somewhere either on a per-account or > per-domain basis that makes the system use the centralized settings for > SpamAssassin and other Toaster goodness instead of using per-account or > per-domain settings? > > > Thanks, > > > Brent Gardner > > > > > -------------------------------------------------------------------------- > ------- > Qmailtoaster is sponsored by Vickers Consulting Group > (www.vickersconsulting.com) > Vickers Consulting Group offers Qmailtoaster support and > installations. > If you need professional help with your setup, contact them today! > -------------------------------------------------------------------------- > ------- > Please visit qmailtoaster.com for the latest news, updates, and > packages. > > To unsubscribe, e-mail: qmailtoaster-list- > [email protected] > For additional commands, e-mail: qmailtoaster-list- > [email protected] > --------------------------------------------------------------------------------- Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! --------------------------------------------------------------------------------- Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
