Postfix is giving you the errors because there are no local usernames or
addresses on the system. After all, they're part of a database. To
that end, you need to tell dbmail where to find them. I use the
following and it works well.
In /etc/postfix/main.cf use the following:
local_recipient_maps = mysql:/etc/postfix/sql-recipients.cf
Then the "/etc/postfix/sql-recipients.cf" file looks like:
user=<dbusername>
password=<dbpassword>
hosts=localhost
dbname=dbmail
table=dbmail_aliases
select_field=alias
where_field=alias
That will solve the unknown user errors.
Curtis
Paul J Stevens wrote:
Humberto,
You want:
http://www.dbmail.org/download/snapshots/dbmail_latest_2_0_branch.tar.gz
Humberto Valiente wrote:
Hello Steve
In a previous email you told me to user daily snapshot to solve my
problem
with 'user unknown" messages. But you told me too that snapshots are
not a
perfect fix, but better nonetheless than 2.0.4.
Before that I try intalling the latest version of dbmail (2.04)
After the installation the "user unknown" error messages disappear ..but
now they are appearing again.
I would like to know which is the difference to use the latest dbmail
version (2.04 from 2005-03-17) vs daily snapshots (from 2004-11-29)?
That's ancient stuff :-) Many bugs were fixed since then.
and Which of the daily snapshot I should apply? (latest, HEAD,
branch, all)
the 'latest' snapshots are symlinks to the relevant tar files. Use the
branch for 2.0.