Roundcube Community Forum

 

Installation of Round cube in Alamlinux9

Started by roundcubeuser000, June 26, 2023, 01:52:06 AM

Previous topic - Next topic

roundcubeuser000

Hi, I installed roundcube on Almalinux 9 in vmware but when i send email  from one email ([email protected]) to another email address ([email protected]) in localhost than i am getting this error:

"SMTP Error (): Connection to server failed."

============
config.inc.php:
============

$config['db_dsnw'] = 'mysql://roundcube:roundcube@localhost/roundcubemail';
$config['imap_host'] = 'localhost:143';
$config['support_url'] = '';
$config['des_key'] = 'x55OCSDKHDpplPMv858';
$config['product_name'] = 'Test Webmail';
$config['plugins'] = [];
//custom settings
$config['mail_domain'] = '%n';
$config['smtp_help_host'] = 'localhost';
$config['smtp_auth'] = false;


============
defaults.inc.php:
============

// ----------------------------------
// SMTP
// ----------------------------------

$config['smtp_host'] = 'localhost:587';

$config['smtp_user'] = '';

$config['smtp_pass'] = '';

$config['smtp_auth_type'] = null;

$config['smtp_auth_cid'] = null;

$config['smtp_auth_pw'] = null;

$config['smtp_xclient_login'] = false;

$config['smtp_xclient_addr'] = false;

$config['smtp_helo_host'] = '';

$config['smtp_timeout'] = 0;

$config['smtp_conn_options'] = null;


// ----------------------------------
// OAuth
// ----------------------------------

$config['oauth_provider'] = null;

$config['oauth_provider_name'] = 'Google';

$config['oauth_client_id'] = null;

$config['oauth_client_secret'] = null;

$config['oauth_auth_uri'] = null;

$config['oauth_token_uri'] = null;

$config['oauth_identity_uri'] = null;

$config['oauth_verify_peer'] = true;

$config['oauth_scope'] = null;

$config['oauth_auth_parameters'] = [];

$config['oauth_identity_fields'] = null;

$config['oauth_login_redirect'] = false;



============
etc/postfix/main.cf
============



compatibility_level = 2

command_directory = /usr/sbin

daemon_directory = /usr/libexec/postfix

data_directory = /var/lib/postfix

myhostname = mail.domain.local

myorigin = $myhostname

inet_interfaces = all

inet_protocols = all

mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain

unknown_local_recipient_reject_code = 550

mynetworks = 10.10.30.0/24, 127.0.0.0/8

alias_maps = hash:/etc/aliases

alias_database = hash:/etc/aliases

mail_spool_directory = /var/mail

newaliases_path = /usr/bin/newaliases.postfix

setgid_group = postdrop

html_directory = no

manpage_directory = /usr/share/man

sample_directory = /usr/share/doc/postfix/samples

readme_directory = /usr/share/doc/postfix/README_FILES

smtpd_tls_cert_file = /etc/pki/tls/certs/postfix.pem

smtpd_tls_key_file = /etc/pki/tls/private/postfix.key

smtpd_tls_security_level = may

smtp_tls_CApath = /etc/pki/tls/certs

smtp_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt

smtp_tls_security_level = may
meta_directory = /etc/postfix
shlib_directory = /usr/lib64/postfix
mynetworks_style = subnet

# custom code added by me
# disable SMTP VRFY command
disable_vrfy_command = yes




I am using webmin, dovecot, httpd, postfix, php, mysql etc:



OR


Is there anyone who can share the step by step guide to install roundcube on Alamalinux 9 via vmware for both environments:
1. localhost (to make sure the email send and receive is working in localhost)
2. on main domain (mail.test.com etc)

Looking forward for the community help.

Thanks