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

Reply via email to