Hello Micah, Re-read Jeff's message you included with your post a little closer - that's exactly what it's explaining how to do. It varies only slightly if you have postgres (ie. your postfix would need to be compiled with postgres support, and change "mysql" to "pgsql" in main.cf).
Later, Jesse ---- Original Message ---- From: Micah Stevens <dbmail@dbmail.org> To: dbmail@dbmail.org Subject: Re: Re[3]: [Dbmail] Auto-response Sent: 22 Feb 2003 15:44:03 -0800 > How would you setup postfix to scan the aliases table for users so that > DBMail doesn't have to bounce mails to non-existant users? I keep > getting tons of lame double-bounces because of this, and I would thing > it would be less taxing on the system if postfix just regected > non-existant users. > > dbmail CVS + Postfix BTW.. > > thanks, > -Micah > > On Fri, 2003-02-21 at 13:36, Jeff Brenton wrote: > > > Hello Boyan, > > > > BA> Thank you for the tip, I also use postfix. I am not familiar with > > BA> the postfix error classes but I will check the postfix > > BA> documentation. Are you sure this is configured just with postfix. > > > > Ah, you haven't got Postfix checking your dbmail.aliases database to > > see if the users exist yet... So Postfix doesn't know to bounce > > non-existant users before the message is collected. > > > > Are you using dbmail with MySQL or Postgres? If MySQL, you need to add > > the following line to your main.cf file: > > > > local_recipient_maps = mysql:/etc/postfix/mailbox.cf > > > > where mailbox.cf contains the parameters for checking an address > > against the dbmail aliases table, such as: > > > > user = postfix > > password = password > > dbname = dbmail > > table = aliases > > hosts = 192.168.2.2 > > select_field = alias > > where_field = alias > > > > Reload postfix, and dbmail will no longer see messages for > > non-existant users, so you'll not get those dbmail-generated bounce > > messages. > > > > The Postfix-generated messages are controled by: > > > > # what to tell postmaster about > > notify_classes= resource > > software > > policy > > protocol > > 2bounce > > bounce > > -- End Original Message -- -- Jesse Norell [EMAIL PROTECTED]