Will try in next hours/days.
On the other hand I'm a bit confused about the "missing" table: I took a look in older releases of the contrib and it seems the sogo_mysql_create_database.sql script did not have instructions to create sogo_sessions_folder table. Still suspecting some other "trick".
Nicola
the Table issue was done by the
%post section of the rpm (you can see it in the file.spec). If you prefer there was a %if condition which prevented the execution of the post installation script (creation of table for example). Therefore it was why we need at least two reconfigurations to create that table. For now i have not issues but you are welcome to find other bugs.
I have installed SOGO on my server, i have not your issue of two attachments, but of course it is sme9 and there is few contribs available.