sorry forgot to mention the port in the roundcube config file! $config['smtp_port'] = 587;
On Wed, Jul 11, 2018 at 11:36 PM, Larry Rosenman <larry...@gmail.com> wrote: > What mail port are you expecting it connect to on 127.0.0.1? > > Here's my config. > $ grep -v "^//" config.inc.php > <?php > > /* Local configuration for Roundcube Webmail */ > > $config['mime_types'] = '/usr/local/etc/apache22/mime.types'; > $config['db_dsnw'] = 'pgsql://roundcube:<elided>@localhost/roundcubemail'; > > $config['default_host'] = 'tls://thebighonker.lerctr.org'; > > $config['imap_timeout'] = 3600; > $config['imap_vendor'] = 'dovecot'; > > $config['smtp_server'] = 'tls://thebighonker.lerctr.org'; > > $config['smtp_port'] = 587; > > $config['smtp_user'] = '%u'; > > $config['smtp_pass'] = '%p'; > > $config['support_url'] = 'mailto<elided>'; > > $config['log_dir'] = 'logs/'; > > $config['temp_dir'] = 'temp/'; > > $config['login_lc'] = 0; > > $config['session_domain'] = '.<elided>.org'; > > $config['des_key'] = '<elided>'; > > $config['product_name'] = '<elided>'; > > $config['http_received_header'] = true; > > $config['plugins'] = > array('contextmenu','automatic_addressbook','thunderbird_labels','managesieve','jqueryui','attachment_reminder','hide_blockquote','markasjunk','vcard_attachments','enigma'); > > $config['date_formats'] = array('Y-m-d', 'd-m-Y', 'Y/m/d', 'm/d/Y', 'd/m/Y', > 'd.m.Y', 'j.n.Y'); > > $config['mime_param_folding'] = 0; > > $config['display_next'] = false; > > $config['default_font'] = ''; > > $config['message_cache_lifetime'] = '10d'; > > $ > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 214-642-9640 E-Mail: larry...@gmail.com > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > On 7/11/18, 4:29 PM, "dovecot on behalf of Teno Deuter" > <dovecot-boun...@dovecot.org on behalf of gvg...@googlemail.com> wrote: > > Dear list, > > in a box with the following setup: > > openbsd 6.3 > opensmtpd > dovecot 2.2.34 > roundcubemail 1.3.5 > httpd web server > > when a system user is authenticated via roundcubemail and tries to > send an email, the following errors pops in the roundcube log file: > > > Connection refused (61) > Failed to connect socket: Connection refused () > > here is my roundcube config file: > > $config['default_host'] = '127.0.0.1'; > $config['smtp_server'] = 'tls://127.0.0.1'; > $config['smtp_server'] = 'tls://127.0.0.1'; > $config['smtp_user'] = '%u'; > $config['smtp_pass'] = '%p'; > > and the dovecot config: > > mail_location = maildir:~/var/mail/%u:LAYOUT=fs > log_path = /var/log/dovecot.log > info_log_path = /var/log/dovecot-info.log > ssl = yes > ssl_cert = </etc/ssl/server.crt > ssl_key = </etc/ssl/server.key > > the system users emails are in maildir format and follow the below > structure: > > /var/mail/[user]/Drafts > Inbox > Sent > Spam > Trash > > Thank you for your help >