Humberto,

If you do have this problem again, try setting the trace level for LMTP to 5, and sent the relevant lines from your syslog.

Humberto Valiente wrote:
Yes...I already have the sql-recipients.cf file
Also this user receive emails find, but in some cases (randomly) postfix
or dbmail can't find the user(s) and then give back an "user unknown"
message.

Talking with Paul Stevens he said that I should try with the daily
snapshot (dbmail_latest_2_0_branch.tar.gz) to solve this problem. I also
try running the latest version of dbmail (v.2.0.4) and I "still with the
same problem"

Now I try running the daily snapshot that Paul gave to me.
For a few days I will be monitoring the "maillog" to see if everything is find. In case something goes wrong ..I will write another email with a
"Still having 'user unknown messages" subject.

Regards,

Humberto




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.



_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail



_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail


--
  ________________________________________________________________
  Paul Stevens                                         [EMAIL PROTECTED]
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands_______________________________________www.nfg.nl

Reply via email to