I have found a solution.
First I have noticed another log in /var/log/mail.err:
...amavis[23324]: (23324-03) ERROR sql_storage: too many retries on storing preliminary, info not saved
which confirmed that nothing went into the DB.
Googling about this error, I found a message from Mark Martinec that gave me a clue:
> Could it be that $myhostname is tainted? > > Try to set it explicitly in amavisd.conf, e.g.: > $myhostname = 'host.example.com';
See <http://readlist.com/lists/lists.sourceforge.net/amavis-user/0/416.html>.
I add this to 50-user, restarted amavisd-new and... now is not complaining and storing the data into the msgs table.
Do you have a further explanation?
I have found a solution.
First I have noticed another log in /var/log/mail.err:
...amavis[23324]: (23324-03) ERROR sql_storage: too many retries on storing preliminary, info not saved
which confirmed that nothing went into the DB.
Googling about this error, I found a message from Mark Martinec that gave me a clue:
> Could it be that $myhostname is tainted?
>
> Try to set it explicitly in amavisd.conf, e.g.:
> $myhostname = 'host.example.com';
See <http:// readlist. com/lists/ lists.sourcefor ge.net/ amavis- user/0/ 416.html>.
I add this to 50-user, restarted amavisd-new and... now is not complaining and storing the data into the msgs table.
Do you have a further explanation?