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?

-- 
Insecure dependency when using sql for Log Reporting
https://bugs.launchpad.net/bugs/211915
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to amavisd-new in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to