angeloklin wrote:
root@server:~ # su - postgres -c 'psql -d template1 -f /var/db/postgres/data12/iredmail.sql'
Password for user vmailadmin:
Do you have file /var/db/postgres/.pgpass? Does this file contains credential of pgsql user "vmailadmin" (and few others)?
Should be fixed by setting global variable PGPASSFILE in latest commit:
https://github.com/iredmail/iRedMail/commits/master
Interesting thing is i didn't have this issue while testing locally.