i have installed the UTM 9 Release (9.000-8) and enabled the SMTP Proxy. But i cant connect from the Internet or the local network:
connection refused
anybody an idea?
thanks[:)]
This thread was automatically locked due to age.
CTO, Convergent Information Security Solutions, LLC
https://www.convergesecurity.com
Sophos Platinum Partner
--------------------------------------
Advice given as posted on this forum does not construe a support relationship or other relationship with Convergent Information Security Solutions, LLC or its subsidiaries. Use the advice given at your own risk.
the problems only at utm9
i have installed und configured asg8, save a backup file and recovered in utm9, but still the same problem: connection refused on port 25
1 Carp::carp
2 DBI::__ANON__
3 DBI::connect
4 modules::sql::sql_connect
MASTER[21887] WARN at Tue Jul 24 08:52:49 2012 -------------------------------------------------------
Unable to connect to database, retrying in 10 seconds.
1 modules::sql::sql_connect
2 modules::sql::sql_tables
MASTER[21887] WARN at Tue Jul 24 08:52:59 2012 -------------------------------------------------------
DBI connect('dbname=smtp;host=db_host.local;port=5432;','postgres',...) failed: FATAL: database "smtp" does not exist at /modules/sql.pm line 42
1 Carp::carp
2 DBI::__ANON__
3 DBI::connect
4 modules::sql::sql_connect
MASTER[21887] WARN at Tue Jul 24 08:52:59 2012 -------------------------------------------------------
Unable to connect to database, retrying in 10 seconds.
1 modules::sql::sql_connect
2 modules::sql::sql_tables
s
I always rebuild after database corruption but you can try the following
/var/mdw/scripts/smtp stop
dropdb -U postgres smtp
su - postgres /var/storage/pgsql/init/smtp.sh
/var/mdw/scripts/smtp start
BAlfson NOTE 2016-07-12: In newer versions, the third line (starts with su -) must be replaced by createdb -U postgres
and look for any error messages.
Edit: Here is an article I found explaining the above How to reset the SMTP database for Astaro security gateway - Knowledgebase - Support - Sophos
utm:/root # /var/mdw/scripts/smtp stop
:: Stopping SMTP Proxy
[ ok ]
utm:/root # dropdb -U postgres smtp
dropdb: database removal failed: ERROR: database "smtp" does not exist
utm:/root # createdb -U postgres smtp
utm:/root # /var/mdw/scripts/smtp start
:: Starting SMTP Proxy
[ ok ]