Jeff, you just saved me a lot of hacking :) Thank you a lot!
As for the autoresponder I found the following - just configure the
/etc/postfix/relocated map. I suppose it can also be done in a similar
way.

Best wishes,
Bobby
[EMAIL PROTECTED]


JB> 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.

JB> Ah, you haven't got Postfix checking your dbmail.aliases database to
JB> see if the users exist yet... So Postfix doesn't know to bounce
JB> non-existant users before the message is collected.

JB> Are you using dbmail with MySQL or Postgres? If MySQL, you need to add
JB> the following line to your main.cf file:

JB> local_recipient_maps = mysql:/etc/postfix/mailbox.cf

JB> where mailbox.cf contains the parameters for checking an address
JB> against the dbmail aliases table, such as:

JB> user = postfix
JB> password = password
JB> dbname = dbmail
JB> table = aliases
JB> hosts = 192.168.2.2
JB> select_field = alias
JB> where_field = alias

JB> Reload postfix, and dbmail will no longer see messages for
JB> non-existant users, so you'll not get those dbmail-generated bounce
JB> messages.

JB> The Postfix-generated messages are controled by:

JB> # what to tell postmaster about
JB> notify_classes= resource
JB>                 software
JB>                 policy
JB>                 protocol
JB>                 2bounce
JB>                 bounce

Reply via email to