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 =
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
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: larryrtx@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-bounces@dovecot.org on behalf of gvgter@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
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 larryrtx@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: larryrtx@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-bounces@dovecot.org on behalf of gvgter@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
What happens if you telnet 127.0.0.1 587?
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 4:39 PM, "Teno Deuter" gvgter@googlemail.com wrote:
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 <larryrtx@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: larryrtx@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-bounces@dovecot.org on behalf of gvgter@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
>
connection refused! But why?
On Wed, Jul 11, 2018 at 11:40 PM, Larry Rosenman larryrtx@gmail.com wrote:
What happens if you telnet 127.0.0.1 587?
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 4:39 PM, "Teno Deuter" gvgter@googlemail.com wrote:
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 <larryrtx@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: larryrtx@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-bounces@dovecot.org on behalf of gvgter@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 >
Your smtp server isn't listening.
Is it running, and binding to 127.0.0.1?
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 4:44 PM, "Teno Deuter" gvgter@googlemail.com wrote:
connection refused! But why?
On Wed, Jul 11, 2018 at 11:40 PM, Larry Rosenman <larryrtx@gmail.com> wrote:
> What happens if you telnet 127.0.0.1 587?
>
> --
> Larry Rosenman http://www.lerctr.org/~ler
> Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
>
> On 7/11/18, 4:39 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
>
> 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 <larryrtx@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: larryrtx@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-bounces@dovecot.org on behalf of gvgter@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
> >
>
when using neomutt for the same system user, I can send and receive emails to everywhere
Also, when installing roundcube, the test email function did succeed!
So my SMTP server should be fine?
On Wed, Jul 11, 2018 at 11:45 PM, Larry Rosenman larryrtx@gmail.com wrote:
Your smtp server isn't listening.
Is it running, and binding to 127.0.0.1?
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 4:44 PM, "Teno Deuter" gvgter@googlemail.com wrote:
connection refused! But why? On Wed, Jul 11, 2018 at 11:40 PM, Larry Rosenman <larryrtx@gmail.com> wrote: > What happens if you telnet 127.0.0.1 587? > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > On 7/11/18, 4:39 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > 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 <larryrtx@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: larryrtx@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-bounces@dovecot.org on behalf of gvgter@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 > > >
What's your neomutt connecting to?
For smtp?
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 4:47 PM, "Teno Deuter" gvgter@googlemail.com wrote:
when using neomutt for the same system user, I can send and receive
emails to everywhere
Also, when installing roundcube, the test email function did succeed!
So my SMTP server should be fine?
On Wed, Jul 11, 2018 at 11:45 PM, Larry Rosenman <larryrtx@gmail.com> wrote:
> Your smtp server isn't listening.
>
> Is it running, and binding to 127.0.0.1?
>
>
> --
> Larry Rosenman http://www.lerctr.org/~ler
> Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
>
> On 7/11/18, 4:44 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
>
> connection refused! But why?
>
> On Wed, Jul 11, 2018 at 11:40 PM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > What happens if you telnet 127.0.0.1 587?
> >
> > --
> > Larry Rosenman http://www.lerctr.org/~ler
> > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> >
> > On 7/11/18, 4:39 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> >
> > 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 <larryrtx@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: larryrtx@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-bounces@dovecot.org on behalf of gvgter@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
> > >
> >
>
I am using OpenSMTPD. The OpenBSD 6.3 default one.
Also, when telnet to 127.0.0.1 25 I get a response! So must be something with 587?
On Wed, Jul 11, 2018 at 11:47 PM, Larry Rosenman larryrtx@gmail.com wrote:
What's your neomutt connecting to?
For smtp?
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 4:47 PM, "Teno Deuter" gvgter@googlemail.com wrote:
when using neomutt for the same system user, I can send and receive emails to everywhere Also, when installing roundcube, the test email function did succeed! So my SMTP server should be fine? On Wed, Jul 11, 2018 at 11:45 PM, Larry Rosenman <larryrtx@gmail.com> wrote: > Your smtp server isn't listening. > > Is it running, and binding to 127.0.0.1? > > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > On 7/11/18, 4:44 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > connection refused! But why? > > On Wed, Jul 11, 2018 at 11:40 PM, Larry Rosenman <larryrtx@gmail.com> wrote: > > What happens if you telnet 127.0.0.1 587? > > > > -- > > Larry Rosenman http://www.lerctr.org/~ler > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > On 7/11/18, 4:39 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > 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 <larryrtx@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: larryrtx@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-bounces@dovecot.org on behalf of gvgter@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 > > > > > >
Yep, you (probably) need to configure openSMTPD to listen on 587
(I run exim, so I can't help with that).
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 4:50 PM, "Teno Deuter" gvgter@googlemail.com wrote:
I am using OpenSMTPD. The OpenBSD 6.3 default one.
Also, when telnet to 127.0.0.1 25 I get a response! So must be
something with 587?
On Wed, Jul 11, 2018 at 11:47 PM, Larry Rosenman <larryrtx@gmail.com> wrote:
> What's your neomutt connecting to?
>
> For smtp?
>
> --
> Larry Rosenman http://www.lerctr.org/~ler
> Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
>
> On 7/11/18, 4:47 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
>
> when using neomutt for the same system user, I can send and receive
> emails to everywhere
>
> Also, when installing roundcube, the test email function did succeed!
>
> So my SMTP server should be fine?
>
>
> On Wed, Jul 11, 2018 at 11:45 PM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > Your smtp server isn't listening.
> >
> > Is it running, and binding to 127.0.0.1?
> >
> >
> > --
> > Larry Rosenman http://www.lerctr.org/~ler
> > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> >
> > On 7/11/18, 4:44 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> >
> > connection refused! But why?
> >
> > On Wed, Jul 11, 2018 at 11:40 PM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > What happens if you telnet 127.0.0.1 587?
> > >
> > > --
> > > Larry Rosenman http://www.lerctr.org/~ler
> > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > >
> > > On 7/11/18, 4:39 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > >
> > > 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 <larryrtx@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: larryrtx@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-bounces@dovecot.org on behalf of gvgter@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
> > > >
> > >
> >
>
Thank you very much for your help
On Wed, Jul 11, 2018 at 11:51 PM, Larry Rosenman larryrtx@gmail.com wrote:
Yep, you (probably) need to configure openSMTPD to listen on 587
(I run exim, so I can't help with that).
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 4:50 PM, "Teno Deuter" gvgter@googlemail.com wrote:
I am using OpenSMTPD. The OpenBSD 6.3 default one. Also, when telnet to 127.0.0.1 25 I get a response! So must be something with 587? On Wed, Jul 11, 2018 at 11:47 PM, Larry Rosenman <larryrtx@gmail.com> wrote: > What's your neomutt connecting to? > > For smtp? > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > On 7/11/18, 4:47 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > when using neomutt for the same system user, I can send and receive > emails to everywhere > > Also, when installing roundcube, the test email function did succeed! > > So my SMTP server should be fine? > > > On Wed, Jul 11, 2018 at 11:45 PM, Larry Rosenman <larryrtx@gmail.com> wrote: > > Your smtp server isn't listening. > > > > Is it running, and binding to 127.0.0.1? > > > > > > -- > > Larry Rosenman http://www.lerctr.org/~ler > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > On 7/11/18, 4:44 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > connection refused! But why? > > > > On Wed, Jul 11, 2018 at 11:40 PM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > What happens if you telnet 127.0.0.1 587? > > > > > > -- > > > Larry Rosenman http://www.lerctr.org/~ler > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > On 7/11/18, 4:39 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > 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 <larryrtx@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: larryrtx@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-bounces@dovecot.org on behalf of gvgter@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 > > > > > > > > > >
what does the output of:
netstat -n | grep :587
run as root, show you? the -p will give the program and pid.
Date: Wednesday, July 11, 2018 21:51:09 +0000 From: Larry Rosenman larryrtx@gmail.com
Yep, you (probably) need to configure openSMTPD to listen on 587
(I run exim, so I can't help with that).
He's getting connection refused, ergo, nothing is listening on 587.
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 4:57 PM, "dovecot on behalf of Richard"
what does the output of:
netstat -n | grep :587
run as root, show you? the -p will give the program and pid.
> Date: Wednesday, July 11, 2018 21:51:09 +0000
> From: Larry Rosenman <larryrtx@gmail.com>
>
> Yep, you (probably) need to configure openSMTPD to listen on 587
>
> (I run exim, so I can't help with that).
produces an empty result!
On Wed, Jul 11, 2018 at 11:57 PM, Richard inbound-dovecot@listmail.innovate.net wrote:
what does the output of:
netstat -n | grep :587
run as root, show you? the -p will give the program and pid.
Date: Wednesday, July 11, 2018 21:51:09 +0000 From: Larry Rosenman larryrtx@gmail.com
Yep, you (probably) need to configure openSMTPD to listen on 587
(I run exim, so I can't help with that).
/etc/smtpd/smtpd.conf pki mx.domain.tld certificate "/etc/smtpd/tls/smtpd.crt" pki mx.domain.tld key "/etc/smtpd/tls/smtpd.key"
table creds "/etc/smtpd/creds" table vdoms "/etc/smtpd/vdoms" table vusers "/etc/smtpd/vusers"
listen on eth0 tls pki mx.domain.tld listen on eth0 port 587 tls-require pki mx.domain.tld auth <creds>
accept from any for domain <vdoms> virtual <vusers> deliver to mbox accept for any relay
Add a: listen on lo port 587 tls-require pki mx.domain.tld auth <creds>
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 5:00 PM, "dovecot on behalf of Teno Deuter"
produces an empty result!
On Wed, Jul 11, 2018 at 11:57 PM, Richard
<inbound-dovecot@listmail.innovate.net> wrote:
> what does the output of:
>
> netstat -n | grep :587
>
> run as root, show you? the -p will give the program and pid.
>
>
>
>> Date: Wednesday, July 11, 2018 21:51:09 +0000
>> From: Larry Rosenman <larryrtx@gmail.com>
>>
>> Yep, you (probably) need to configure openSMTPD to listen on 587
>>
>> (I run exim, so I can't help with that).
>
>
this is what I have now in my smptd conf file:
listen on $egress_int pki server.pki tls-require hostname [domain] listen on $egress_int pki server.pki port 587 tls-require auth hostname [domain] listen on $egress_int pki server.pki smtps auth hostname [domain]
but the problem is still there :(
On Thu, Jul 12, 2018 at 12:04 AM, Larry Rosenman larryrtx@gmail.com wrote:
/etc/smtpd/smtpd.conf pki mx.domain.tld certificate "/etc/smtpd/tls/smtpd.crt" pki mx.domain.tld key "/etc/smtpd/tls/smtpd.key"
table creds "/etc/smtpd/creds" table vdoms "/etc/smtpd/vdoms" table vusers "/etc/smtpd/vusers"
listen on eth0 tls pki mx.domain.tld listen on eth0 port 587 tls-require pki mx.domain.tld auth <creds>
accept from any for domain <vdoms> virtual <vusers> deliver to mbox accept for any relay
Add a: listen on lo port 587 tls-require pki mx.domain.tld auth <creds>
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 5:00 PM, "dovecot on behalf of Teno Deuter"
wrote: produces an empty result! On Wed, Jul 11, 2018 at 11:57 PM, Richard <inbound-dovecot@listmail.innovate.net> wrote: > what does the output of: > > netstat -n | grep :587 > > run as root, show you? the -p will give the program and pid. > > > >> Date: Wednesday, July 11, 2018 21:51:09 +0000 >> From: Larry Rosenman <larryrtx@gmail.com> >> >> Yep, you (probably) need to configure openSMTPD to listen on 587 >> >> (I run exim, so I can't help with that). > >
$egress_int is NOT 127.0.0.1.
Change roundcube to use the same address.
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 5:26 PM, "Teno Deuter" gvgter@googlemail.com wrote:
this is what I have now in my smptd conf file:
listen on $egress_int pki server.pki tls-require hostname [domain]
listen on $egress_int pki server.pki port 587 tls-require auth hostname [domain]
listen on $egress_int pki server.pki smtps auth hostname [domain]
but the problem is still there :(
On Thu, Jul 12, 2018 at 12:04 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> ---
> /etc/smtpd/smtpd.conf
> pki mx.domain.tld certificate "/etc/smtpd/tls/smtpd.crt"
> pki mx.domain.tld key "/etc/smtpd/tls/smtpd.key"
>
> table creds "/etc/smtpd/creds"
> table vdoms "/etc/smtpd/vdoms"
> table vusers "/etc/smtpd/vusers"
>
> listen on eth0 tls pki mx.domain.tld
> listen on eth0 port 587 tls-require pki mx.domain.tld auth <creds>
>
> accept from any for domain <vdoms> virtual <vusers> deliver to mbox
> accept for any relay
> ----
> Add a:
> listen on lo port 587 tls-require pki mx.domain.tld auth <creds>
>
>
> --
> Larry Rosenman http://www.lerctr.org/~ler
> Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
>
> On 7/11/18, 5:00 PM, "dovecot on behalf of Teno Deuter" <dovecot-bounces@dovecot.org on behalf of gvgter@googlemail.com> wrote:
>
> produces an empty result!
>
> On Wed, Jul 11, 2018 at 11:57 PM, Richard
> <inbound-dovecot@listmail.innovate.net> wrote:
> > what does the output of:
> >
> > netstat -n | grep :587
> >
> > run as root, show you? the -p will give the program and pid.
> >
> >
> >
> >> Date: Wednesday, July 11, 2018 21:51:09 +0000
> >> From: Larry Rosenman <larryrtx@gmail.com>
> >>
> >> Yep, you (probably) need to configure openSMTPD to listen on 587
> >>
> >> (I run exim, so I can't help with that).
> >
> >
>
but:
egress_int="nfe0"
you mean to put this value?
On Thu, Jul 12, 2018 at 12:30 AM, Larry Rosenman larryrtx@gmail.com wrote:
$egress_int is NOT 127.0.0.1.
Change roundcube to use the same address.
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 5:26 PM, "Teno Deuter" gvgter@googlemail.com wrote:
this is what I have now in my smptd conf file: listen on $egress_int pki server.pki tls-require hostname [domain] listen on $egress_int pki server.pki port 587 tls-require auth hostname [domain] listen on $egress_int pki server.pki smtps auth hostname [domain] but the problem is still there :( On Thu, Jul 12, 2018 at 12:04 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > --- > /etc/smtpd/smtpd.conf > pki mx.domain.tld certificate "/etc/smtpd/tls/smtpd.crt" > pki mx.domain.tld key "/etc/smtpd/tls/smtpd.key" > > table creds "/etc/smtpd/creds" > table vdoms "/etc/smtpd/vdoms" > table vusers "/etc/smtpd/vusers" > > listen on eth0 tls pki mx.domain.tld > listen on eth0 port 587 tls-require pki mx.domain.tld auth <creds> > > accept from any for domain <vdoms> virtual <vusers> deliver to mbox > accept for any relay > ---- > Add a: > listen on lo port 587 tls-require pki mx.domain.tld auth <creds> > > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > On 7/11/18, 5:00 PM, "dovecot on behalf of Teno Deuter" <dovecot-bounces@dovecot.org on behalf of gvgter@googlemail.com> wrote: > > produces an empty result! > > On Wed, Jul 11, 2018 at 11:57 PM, Richard > <inbound-dovecot@listmail.innovate.net> wrote: > > what does the output of: > > > > netstat -n | grep :587 > > > > run as root, show you? the -p will give the program and pid. > > > > > > > >> Date: Wednesday, July 11, 2018 21:51:09 +0000 > >> From: Larry Rosenman <larryrtx@gmail.com> > >> > >> Yep, you (probably) need to configure openSMTPD to listen on 587 > >> > >> (I run exim, so I can't help with that). > > > > >
What does ifconfig nfe0 show for inet?
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 5:35 PM, "Teno Deuter" gvgter@googlemail.com wrote:
but:
egress_int="nfe0"
you mean to put this value?
On Thu, Jul 12, 2018 at 12:30 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> $egress_int is NOT 127.0.0.1.
>
> Change roundcube to use the same address.
>
>
> --
> Larry Rosenman http://www.lerctr.org/~ler
> Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
>
> On 7/11/18, 5:26 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
>
> this is what I have now in my smptd conf file:
>
> listen on $egress_int pki server.pki tls-require hostname [domain]
> listen on $egress_int pki server.pki port 587 tls-require auth hostname [domain]
> listen on $egress_int pki server.pki smtps auth hostname [domain]
>
> but the problem is still there :(
>
> On Thu, Jul 12, 2018 at 12:04 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > ---
> > /etc/smtpd/smtpd.conf
> > pki mx.domain.tld certificate "/etc/smtpd/tls/smtpd.crt"
> > pki mx.domain.tld key "/etc/smtpd/tls/smtpd.key"
> >
> > table creds "/etc/smtpd/creds"
> > table vdoms "/etc/smtpd/vdoms"
> > table vusers "/etc/smtpd/vusers"
> >
> > listen on eth0 tls pki mx.domain.tld
> > listen on eth0 port 587 tls-require pki mx.domain.tld auth <creds>
> >
> > accept from any for domain <vdoms> virtual <vusers> deliver to mbox
> > accept for any relay
> > ----
> > Add a:
> > listen on lo port 587 tls-require pki mx.domain.tld auth <creds>
> >
> >
> > --
> > Larry Rosenman http://www.lerctr.org/~ler
> > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> >
> > On 7/11/18, 5:00 PM, "dovecot on behalf of Teno Deuter" <dovecot-bounces@dovecot.org on behalf of gvgter@googlemail.com> wrote:
> >
> > produces an empty result!
> >
> > On Wed, Jul 11, 2018 at 11:57 PM, Richard
> > <inbound-dovecot@listmail.innovate.net> wrote:
> > > what does the output of:
> > >
> > > netstat -n | grep :587
> > >
> > > run as root, show you? the -p will give the program and pid.
> > >
> > >
> > >
> > >> Date: Wednesday, July 11, 2018 21:51:09 +0000
> > >> From: Larry Rosenman <larryrtx@gmail.com>
> > >>
> > >> Yep, you (probably) need to configure openSMTPD to listen on 587
> > >>
> > >> (I run exim, so I can't help with that).
> > >
> > >
> >
>
shows the static IP address of the box. You mean to put that address in the config file?
On Thu, Jul 12, 2018 at 12:36 AM, Larry Rosenman larryrtx@gmail.com wrote:
What does ifconfig nfe0 show for inet?
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 5:35 PM, "Teno Deuter" gvgter@googlemail.com wrote:
but: egress_int="nfe0" you mean to put this value? On Thu, Jul 12, 2018 at 12:30 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > $egress_int is NOT 127.0.0.1. > > Change roundcube to use the same address. > > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > On 7/11/18, 5:26 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > this is what I have now in my smptd conf file: > > listen on $egress_int pki server.pki tls-require hostname [domain] > listen on $egress_int pki server.pki port 587 tls-require auth hostname [domain] > listen on $egress_int pki server.pki smtps auth hostname [domain] > > but the problem is still there :( > > On Thu, Jul 12, 2018 at 12:04 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > --- > > /etc/smtpd/smtpd.conf > > pki mx.domain.tld certificate "/etc/smtpd/tls/smtpd.crt" > > pki mx.domain.tld key "/etc/smtpd/tls/smtpd.key" > > > > table creds "/etc/smtpd/creds" > > table vdoms "/etc/smtpd/vdoms" > > table vusers "/etc/smtpd/vusers" > > > > listen on eth0 tls pki mx.domain.tld > > listen on eth0 port 587 tls-require pki mx.domain.tld auth <creds> > > > > accept from any for domain <vdoms> virtual <vusers> deliver to mbox > > accept for any relay > > ---- > > Add a: > > listen on lo port 587 tls-require pki mx.domain.tld auth <creds> > > > > > > -- > > Larry Rosenman http://www.lerctr.org/~ler > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > On 7/11/18, 5:00 PM, "dovecot on behalf of Teno Deuter" <dovecot-bounces@dovecot.org on behalf of gvgter@googlemail.com> wrote: > > > > produces an empty result! > > > > On Wed, Jul 11, 2018 at 11:57 PM, Richard > > <inbound-dovecot@listmail.innovate.net> wrote: > > > what does the output of: > > > > > > netstat -n | grep :587 > > > > > > run as root, show you? the -p will give the program and pid. > > > > > > > > > > > >> Date: Wednesday, July 11, 2018 21:51:09 +0000 > > >> From: Larry Rosenman <larryrtx@gmail.com> > > >> > > >> Yep, you (probably) need to configure openSMTPD to listen on 587 > > >> > > >> (I run exim, so I can't help with that). > > > > > > > > >
Yes, or, add another block of lines with lo (or lo0) depending on what your kernel uses for loopback in place of the $egress_int parameter to get it to listen on 127.0.0.1 as well.
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 5:38 PM, "Teno Deuter" gvgter@googlemail.com wrote:
shows the static IP address of the box. You mean to put that address
in the config file?
On Thu, Jul 12, 2018 at 12:36 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> What does ifconfig nfe0 show for inet?
>
>
> --
> Larry Rosenman http://www.lerctr.org/~ler
> Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
>
> On 7/11/18, 5:35 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
>
> but:
>
> egress_int="nfe0"
>
> you mean to put this value?
>
> On Thu, Jul 12, 2018 at 12:30 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > $egress_int is NOT 127.0.0.1.
> >
> > Change roundcube to use the same address.
> >
> >
> > --
> > Larry Rosenman http://www.lerctr.org/~ler
> > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> >
> > On 7/11/18, 5:26 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> >
> > this is what I have now in my smptd conf file:
> >
> > listen on $egress_int pki server.pki tls-require hostname [domain]
> > listen on $egress_int pki server.pki port 587 tls-require auth hostname [domain]
> > listen on $egress_int pki server.pki smtps auth hostname [domain]
> >
> > but the problem is still there :(
> >
> > On Thu, Jul 12, 2018 at 12:04 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > ---
> > > /etc/smtpd/smtpd.conf
> > > pki mx.domain.tld certificate "/etc/smtpd/tls/smtpd.crt"
> > > pki mx.domain.tld key "/etc/smtpd/tls/smtpd.key"
> > >
> > > table creds "/etc/smtpd/creds"
> > > table vdoms "/etc/smtpd/vdoms"
> > > table vusers "/etc/smtpd/vusers"
> > >
> > > listen on eth0 tls pki mx.domain.tld
> > > listen on eth0 port 587 tls-require pki mx.domain.tld auth <creds>
> > >
> > > accept from any for domain <vdoms> virtual <vusers> deliver to mbox
> > > accept for any relay
> > > ----
> > > Add a:
> > > listen on lo port 587 tls-require pki mx.domain.tld auth <creds>
> > >
> > >
> > > --
> > > Larry Rosenman http://www.lerctr.org/~ler
> > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > >
> > > On 7/11/18, 5:00 PM, "dovecot on behalf of Teno Deuter" <dovecot-bounces@dovecot.org on behalf of gvgter@googlemail.com> wrote:
> > >
> > > produces an empty result!
> > >
> > > On Wed, Jul 11, 2018 at 11:57 PM, Richard
> > > <inbound-dovecot@listmail.innovate.net> wrote:
> > > > what does the output of:
> > > >
> > > > netstat -n | grep :587
> > > >
> > > > run as root, show you? the -p will give the program and pid.
> > > >
> > > >
> > > >
> > > >> Date: Wednesday, July 11, 2018 21:51:09 +0000
> > > >> From: Larry Rosenman <larryrtx@gmail.com>
> > > >>
> > > >> Yep, you (probably) need to configure openSMTPD to listen on 587
> > > >>
> > > >> (I run exim, so I can't help with that).
> > > >
> > > >
> > >
> >
>
actually I did define the staic IP address already and now I get the following in the roundcube error log:
STARTTLS failed () Invalid response code received from server (-1) Failed to write to socket: unknown error () SMTP Error: Authentication failure: STARTTLS failed (Code: )
On Thu, Jul 12, 2018 at 12:40 AM, Larry Rosenman larryrtx@gmail.com wrote:
Yes, or, add another block of lines with lo (or lo0) depending on what your kernel uses for loopback in place of the $egress_int parameter to get it to listen on 127.0.0.1 as well.
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 5:38 PM, "Teno Deuter" gvgter@googlemail.com wrote:
shows the static IP address of the box. You mean to put that address in the config file? On Thu, Jul 12, 2018 at 12:36 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > What does ifconfig nfe0 show for inet? > > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > On 7/11/18, 5:35 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > but: > > egress_int="nfe0" > > you mean to put this value? > > On Thu, Jul 12, 2018 at 12:30 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > $egress_int is NOT 127.0.0.1. > > > > Change roundcube to use the same address. > > > > > > -- > > Larry Rosenman http://www.lerctr.org/~ler > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > On 7/11/18, 5:26 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > this is what I have now in my smptd conf file: > > > > listen on $egress_int pki server.pki tls-require hostname [domain] > > listen on $egress_int pki server.pki port 587 tls-require auth hostname [domain] > > listen on $egress_int pki server.pki smtps auth hostname [domain] > > > > but the problem is still there :( > > > > On Thu, Jul 12, 2018 at 12:04 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > --- > > > /etc/smtpd/smtpd.conf > > > pki mx.domain.tld certificate "/etc/smtpd/tls/smtpd.crt" > > > pki mx.domain.tld key "/etc/smtpd/tls/smtpd.key" > > > > > > table creds "/etc/smtpd/creds" > > > table vdoms "/etc/smtpd/vdoms" > > > table vusers "/etc/smtpd/vusers" > > > > > > listen on eth0 tls pki mx.domain.tld > > > listen on eth0 port 587 tls-require pki mx.domain.tld auth <creds> > > > > > > accept from any for domain <vdoms> virtual <vusers> deliver to mbox > > > accept for any relay > > > ---- > > > Add a: > > > listen on lo port 587 tls-require pki mx.domain.tld auth <creds> > > > > > > > > > -- > > > Larry Rosenman http://www.lerctr.org/~ler > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > On 7/11/18, 5:00 PM, "dovecot on behalf of Teno Deuter" <dovecot-bounces@dovecot.org on behalf of gvgter@googlemail.com> wrote: > > > > > > produces an empty result! > > > > > > On Wed, Jul 11, 2018 at 11:57 PM, Richard > > > <inbound-dovecot@listmail.innovate.net> wrote: > > > > what does the output of: > > > > > > > > netstat -n | grep :587 > > > > > > > > run as root, show you? the -p will give the program and pid. > > > > > > > > > > > > > > > >> Date: Wednesday, July 11, 2018 21:51:09 +0000 > > > >> From: Larry Rosenman <larryrtx@gmail.com> > > > >> > > > >> Yep, you (probably) need to configure openSMTPD to listen on 587 > > > >> > > > >> (I run exim, so I can't help with that). > > > > > > > > > > > > > >
Then you need to look at the opensmtpd logs to figure out why the starttls is failing.
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 5:42 PM, "Teno Deuter" gvgter@googlemail.com wrote:
actually I did define the staic IP address already and now I get the
following in the roundcube error log:
STARTTLS failed ()
Invalid response code received from server (-1)
Failed to write to socket: unknown error ()
SMTP Error: Authentication failure: STARTTLS failed (Code: )
On Thu, Jul 12, 2018 at 12:40 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> Yes, or, add another block of lines with lo (or lo0) depending on what your kernel uses for loopback in place of the $egress_int parameter to get it to listen on 127.0.0.1 as well.
>
>
>
> --
> Larry Rosenman http://www.lerctr.org/~ler
> Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
>
> On 7/11/18, 5:38 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
>
> shows the static IP address of the box. You mean to put that address
> in the config file?
>
> On Thu, Jul 12, 2018 at 12:36 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > What does ifconfig nfe0 show for inet?
> >
> >
> > --
> > Larry Rosenman http://www.lerctr.org/~ler
> > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> >
> > On 7/11/18, 5:35 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> >
> > but:
> >
> > egress_int="nfe0"
> >
> > you mean to put this value?
> >
> > On Thu, Jul 12, 2018 at 12:30 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > $egress_int is NOT 127.0.0.1.
> > >
> > > Change roundcube to use the same address.
> > >
> > >
> > > --
> > > Larry Rosenman http://www.lerctr.org/~ler
> > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > >
> > > On 7/11/18, 5:26 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > >
> > > this is what I have now in my smptd conf file:
> > >
> > > listen on $egress_int pki server.pki tls-require hostname [domain]
> > > listen on $egress_int pki server.pki port 587 tls-require auth hostname [domain]
> > > listen on $egress_int pki server.pki smtps auth hostname [domain]
> > >
> > > but the problem is still there :(
> > >
> > > On Thu, Jul 12, 2018 at 12:04 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > ---
> > > > /etc/smtpd/smtpd.conf
> > > > pki mx.domain.tld certificate "/etc/smtpd/tls/smtpd.crt"
> > > > pki mx.domain.tld key "/etc/smtpd/tls/smtpd.key"
> > > >
> > > > table creds "/etc/smtpd/creds"
> > > > table vdoms "/etc/smtpd/vdoms"
> > > > table vusers "/etc/smtpd/vusers"
> > > >
> > > > listen on eth0 tls pki mx.domain.tld
> > > > listen on eth0 port 587 tls-require pki mx.domain.tld auth <creds>
> > > >
> > > > accept from any for domain <vdoms> virtual <vusers> deliver to mbox
> > > > accept for any relay
> > > > ----
> > > > Add a:
> > > > listen on lo port 587 tls-require pki mx.domain.tld auth <creds>
> > > >
> > > >
> > > > --
> > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > >
> > > > On 7/11/18, 5:00 PM, "dovecot on behalf of Teno Deuter" <dovecot-bounces@dovecot.org on behalf of gvgter@googlemail.com> wrote:
> > > >
> > > > produces an empty result!
> > > >
> > > > On Wed, Jul 11, 2018 at 11:57 PM, Richard
> > > > <inbound-dovecot@listmail.innovate.net> wrote:
> > > > > what does the output of:
> > > > >
> > > > > netstat -n | grep :587
> > > > >
> > > > > run as root, show you? the -p will give the program and pid.
> > > > >
> > > > >
> > > > >
> > > > >> Date: Wednesday, July 11, 2018 21:51:09 +0000
> > > > >> From: Larry Rosenman <larryrtx@gmail.com>
> > > > >>
> > > > >> Yep, you (probably) need to configure openSMTPD to listen on 587
> > > > >>
> > > > >> (I run exim, so I can't help with that).
> > > > >
> > > > >
> > > >
> > >
> >
>
the maillog shows:
reason="io-error: error:14037418:SSL routines:ACCEPT_SR_KEY_EXCH:tlsv1 alert unknown ca"
please note that I'm using a self-signed cert. Is that the reason?
On Thu, Jul 12, 2018 at 12:42 AM, Larry Rosenman larryrtx@gmail.com wrote:
Then you need to look at the opensmtpd logs to figure out why the starttls is failing.
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 5:42 PM, "Teno Deuter" gvgter@googlemail.com wrote:
actually I did define the staic IP address already and now I get the following in the roundcube error log: STARTTLS failed () Invalid response code received from server (-1) Failed to write to socket: unknown error () SMTP Error: Authentication failure: STARTTLS failed (Code: ) On Thu, Jul 12, 2018 at 12:40 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > Yes, or, add another block of lines with lo (or lo0) depending on what your kernel uses for loopback in place of the $egress_int parameter to get it to listen on 127.0.0.1 as well. > > > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > On 7/11/18, 5:38 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > shows the static IP address of the box. You mean to put that address > in the config file? > > On Thu, Jul 12, 2018 at 12:36 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > What does ifconfig nfe0 show for inet? > > > > > > -- > > Larry Rosenman http://www.lerctr.org/~ler > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > On 7/11/18, 5:35 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > but: > > > > egress_int="nfe0" > > > > you mean to put this value? > > > > On Thu, Jul 12, 2018 at 12:30 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > $egress_int is NOT 127.0.0.1. > > > > > > Change roundcube to use the same address. > > > > > > > > > -- > > > Larry Rosenman http://www.lerctr.org/~ler > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > On 7/11/18, 5:26 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > this is what I have now in my smptd conf file: > > > > > > listen on $egress_int pki server.pki tls-require hostname [domain] > > > listen on $egress_int pki server.pki port 587 tls-require auth hostname [domain] > > > listen on $egress_int pki server.pki smtps auth hostname [domain] > > > > > > but the problem is still there :( > > > > > > On Thu, Jul 12, 2018 at 12:04 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > --- > > > > /etc/smtpd/smtpd.conf > > > > pki mx.domain.tld certificate "/etc/smtpd/tls/smtpd.crt" > > > > pki mx.domain.tld key "/etc/smtpd/tls/smtpd.key" > > > > > > > > table creds "/etc/smtpd/creds" > > > > table vdoms "/etc/smtpd/vdoms" > > > > table vusers "/etc/smtpd/vusers" > > > > > > > > listen on eth0 tls pki mx.domain.tld > > > > listen on eth0 port 587 tls-require pki mx.domain.tld auth <creds> > > > > > > > > accept from any for domain <vdoms> virtual <vusers> deliver to mbox > > > > accept for any relay > > > > ---- > > > > Add a: > > > > listen on lo port 587 tls-require pki mx.domain.tld auth <creds> > > > > > > > > > > > > -- > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > On 7/11/18, 5:00 PM, "dovecot on behalf of Teno Deuter" <dovecot-bounces@dovecot.org on behalf of gvgter@googlemail.com> wrote: > > > > > > > > produces an empty result! > > > > > > > > On Wed, Jul 11, 2018 at 11:57 PM, Richard > > > > <inbound-dovecot@listmail.innovate.net> wrote: > > > > > what does the output of: > > > > > > > > > > netstat -n | grep :587 > > > > > > > > > > run as root, show you? the -p will give the program and pid. > > > > > > > > > > > > > > > > > > > >> Date: Wednesday, July 11, 2018 21:51:09 +0000 > > > > >> From: Larry Rosenman <larryrtx@gmail.com> > > > > >> > > > > >> Yep, you (probably) need to configure openSMTPD to listen on 587 > > > > >> > > > > >> (I run exim, so I can't help with that). > > > > > > > > > > > > > > > > > > > >
yep
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 5:46 PM, "Teno Deuter" gvgter@googlemail.com wrote:
the maillog shows:
reason="io-error: error:14037418:SSL routines:ACCEPT_SR_KEY_EXCH:tlsv1
alert unknown ca"
please note that I'm using a self-signed cert. Is that the reason?
On Thu, Jul 12, 2018 at 12:42 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> Then you need to look at the opensmtpd logs to figure out why the starttls is failing.
>
>
>
> --
> Larry Rosenman http://www.lerctr.org/~ler
> Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
>
> On 7/11/18, 5:42 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
>
> actually I did define the staic IP address already and now I get the
> following in the roundcube error log:
>
> STARTTLS failed ()
> Invalid response code received from server (-1)
> Failed to write to socket: unknown error ()
> SMTP Error: Authentication failure: STARTTLS failed (Code: )
>
>
>
> On Thu, Jul 12, 2018 at 12:40 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > Yes, or, add another block of lines with lo (or lo0) depending on what your kernel uses for loopback in place of the $egress_int parameter to get it to listen on 127.0.0.1 as well.
> >
> >
> >
> > --
> > Larry Rosenman http://www.lerctr.org/~ler
> > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> >
> > On 7/11/18, 5:38 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> >
> > shows the static IP address of the box. You mean to put that address
> > in the config file?
> >
> > On Thu, Jul 12, 2018 at 12:36 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > What does ifconfig nfe0 show for inet?
> > >
> > >
> > > --
> > > Larry Rosenman http://www.lerctr.org/~ler
> > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > >
> > > On 7/11/18, 5:35 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > >
> > > but:
> > >
> > > egress_int="nfe0"
> > >
> > > you mean to put this value?
> > >
> > > On Thu, Jul 12, 2018 at 12:30 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > $egress_int is NOT 127.0.0.1.
> > > >
> > > > Change roundcube to use the same address.
> > > >
> > > >
> > > > --
> > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > >
> > > > On 7/11/18, 5:26 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > >
> > > > this is what I have now in my smptd conf file:
> > > >
> > > > listen on $egress_int pki server.pki tls-require hostname [domain]
> > > > listen on $egress_int pki server.pki port 587 tls-require auth hostname [domain]
> > > > listen on $egress_int pki server.pki smtps auth hostname [domain]
> > > >
> > > > but the problem is still there :(
> > > >
> > > > On Thu, Jul 12, 2018 at 12:04 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > > ---
> > > > > /etc/smtpd/smtpd.conf
> > > > > pki mx.domain.tld certificate "/etc/smtpd/tls/smtpd.crt"
> > > > > pki mx.domain.tld key "/etc/smtpd/tls/smtpd.key"
> > > > >
> > > > > table creds "/etc/smtpd/creds"
> > > > > table vdoms "/etc/smtpd/vdoms"
> > > > > table vusers "/etc/smtpd/vusers"
> > > > >
> > > > > listen on eth0 tls pki mx.domain.tld
> > > > > listen on eth0 port 587 tls-require pki mx.domain.tld auth <creds>
> > > > >
> > > > > accept from any for domain <vdoms> virtual <vusers> deliver to mbox
> > > > > accept for any relay
> > > > > ----
> > > > > Add a:
> > > > > listen on lo port 587 tls-require pki mx.domain.tld auth <creds>
> > > > >
> > > > >
> > > > > --
> > > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > > >
> > > > > On 7/11/18, 5:00 PM, "dovecot on behalf of Teno Deuter" <dovecot-bounces@dovecot.org on behalf of gvgter@googlemail.com> wrote:
> > > > >
> > > > > produces an empty result!
> > > > >
> > > > > On Wed, Jul 11, 2018 at 11:57 PM, Richard
> > > > > <inbound-dovecot@listmail.innovate.net> wrote:
> > > > > > what does the output of:
> > > > > >
> > > > > > netstat -n | grep :587
> > > > > >
> > > > > > run as root, show you? the -p will give the program and pid.
> > > > > >
> > > > > >
> > > > > >
> > > > > >> Date: Wednesday, July 11, 2018 21:51:09 +0000
> > > > > >> From: Larry Rosenman <larryrtx@gmail.com>
> > > > > >>
> > > > > >> Yep, you (probably) need to configure openSMTPD to listen on 587
> > > > > >>
> > > > > >> (I run exim, so I can't help with that).
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
which means I can't use a self-signed cert at all? Or can I define this somewhere?
On Thu, Jul 12, 2018 at 12:46 AM, Larry Rosenman larryrtx@gmail.com wrote:
yep
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 5:46 PM, "Teno Deuter" gvgter@googlemail.com wrote:
the maillog shows: reason="io-error: error:14037418:SSL routines:ACCEPT_SR_KEY_EXCH:tlsv1 alert unknown ca" please note that I'm using a self-signed cert. Is that the reason? On Thu, Jul 12, 2018 at 12:42 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > Then you need to look at the opensmtpd logs to figure out why the starttls is failing. > > > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > On 7/11/18, 5:42 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > actually I did define the staic IP address already and now I get the > following in the roundcube error log: > > STARTTLS failed () > Invalid response code received from server (-1) > Failed to write to socket: unknown error () > SMTP Error: Authentication failure: STARTTLS failed (Code: ) > > > > On Thu, Jul 12, 2018 at 12:40 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > Yes, or, add another block of lines with lo (or lo0) depending on what your kernel uses for loopback in place of the $egress_int parameter to get it to listen on 127.0.0.1 as well. > > > > > > > > -- > > Larry Rosenman http://www.lerctr.org/~ler > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > On 7/11/18, 5:38 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > shows the static IP address of the box. You mean to put that address > > in the config file? > > > > On Thu, Jul 12, 2018 at 12:36 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > What does ifconfig nfe0 show for inet? > > > > > > > > > -- > > > Larry Rosenman http://www.lerctr.org/~ler > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > On 7/11/18, 5:35 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > but: > > > > > > egress_int="nfe0" > > > > > > you mean to put this value? > > > > > > On Thu, Jul 12, 2018 at 12:30 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > $egress_int is NOT 127.0.0.1. > > > > > > > > Change roundcube to use the same address. > > > > > > > > > > > > -- > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > On 7/11/18, 5:26 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > > > this is what I have now in my smptd conf file: > > > > > > > > listen on $egress_int pki server.pki tls-require hostname [domain] > > > > listen on $egress_int pki server.pki port 587 tls-require auth hostname [domain] > > > > listen on $egress_int pki server.pki smtps auth hostname [domain] > > > > > > > > but the problem is still there :( > > > > > > > > On Thu, Jul 12, 2018 at 12:04 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > > --- > > > > > /etc/smtpd/smtpd.conf > > > > > pki mx.domain.tld certificate "/etc/smtpd/tls/smtpd.crt" > > > > > pki mx.domain.tld key "/etc/smtpd/tls/smtpd.key" > > > > > > > > > > table creds "/etc/smtpd/creds" > > > > > table vdoms "/etc/smtpd/vdoms" > > > > > table vusers "/etc/smtpd/vusers" > > > > > > > > > > listen on eth0 tls pki mx.domain.tld > > > > > listen on eth0 port 587 tls-require pki mx.domain.tld auth <creds> > > > > > > > > > > accept from any for domain <vdoms> virtual <vusers> deliver to mbox > > > > > accept for any relay > > > > > ---- > > > > > Add a: > > > > > listen on lo port 587 tls-require pki mx.domain.tld auth <creds> > > > > > > > > > > > > > > > -- > > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > > > On 7/11/18, 5:00 PM, "dovecot on behalf of Teno Deuter" <dovecot-bounces@dovecot.org on behalf of gvgter@googlemail.com> wrote: > > > > > > > > > > produces an empty result! > > > > > > > > > > On Wed, Jul 11, 2018 at 11:57 PM, Richard > > > > > <inbound-dovecot@listmail.innovate.net> wrote: > > > > > > what does the output of: > > > > > > > > > > > > netstat -n | grep :587 > > > > > > > > > > > > run as root, show you? the -p will give the program and pid. > > > > > > > > > > > > > > > > > > > > > > > >> Date: Wednesday, July 11, 2018 21:51:09 +0000 > > > > > >> From: Larry Rosenman <larryrtx@gmail.com> > > > > > >> > > > > > >> Yep, you (probably) need to configure openSMTPD to listen on 587 > > > > > >> > > > > > >> (I run exim, so I can't help with that). > > > > > > > > > > > > > > > > > > > > > > > > > > >
Turn off TLS for webmail. It's not leaving the machine.
Or get a letsencrypt.org cert. (they are free) see acme.sh (https://github.com/Neilpang/acme.sh)
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 5:48 PM, "Teno Deuter" gvgter@googlemail.com wrote:
which means I can't use a self-signed cert at all? Or can I define
this somewhere?
On Thu, Jul 12, 2018 at 12:46 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> yep
>
> --
> Larry Rosenman http://www.lerctr.org/~ler
> Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
>
> On 7/11/18, 5:46 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
>
> the maillog shows:
>
> reason="io-error: error:14037418:SSL routines:ACCEPT_SR_KEY_EXCH:tlsv1
> alert unknown ca"
>
> please note that I'm using a self-signed cert. Is that the reason?
>
> On Thu, Jul 12, 2018 at 12:42 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > Then you need to look at the opensmtpd logs to figure out why the starttls is failing.
> >
> >
> >
> > --
> > Larry Rosenman http://www.lerctr.org/~ler
> > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> >
> > On 7/11/18, 5:42 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> >
> > actually I did define the staic IP address already and now I get the
> > following in the roundcube error log:
> >
> > STARTTLS failed ()
> > Invalid response code received from server (-1)
> > Failed to write to socket: unknown error ()
> > SMTP Error: Authentication failure: STARTTLS failed (Code: )
> >
> >
> >
> > On Thu, Jul 12, 2018 at 12:40 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > Yes, or, add another block of lines with lo (or lo0) depending on what your kernel uses for loopback in place of the $egress_int parameter to get it to listen on 127.0.0.1 as well.
> > >
> > >
> > >
> > > --
> > > Larry Rosenman http://www.lerctr.org/~ler
> > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > >
> > > On 7/11/18, 5:38 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > >
> > > shows the static IP address of the box. You mean to put that address
> > > in the config file?
> > >
> > > On Thu, Jul 12, 2018 at 12:36 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > What does ifconfig nfe0 show for inet?
> > > >
> > > >
> > > > --
> > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > >
> > > > On 7/11/18, 5:35 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > >
> > > > but:
> > > >
> > > > egress_int="nfe0"
> > > >
> > > > you mean to put this value?
> > > >
> > > > On Thu, Jul 12, 2018 at 12:30 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > > $egress_int is NOT 127.0.0.1.
> > > > >
> > > > > Change roundcube to use the same address.
> > > > >
> > > > >
> > > > > --
> > > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > > >
> > > > > On 7/11/18, 5:26 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > > >
> > > > > this is what I have now in my smptd conf file:
> > > > >
> > > > > listen on $egress_int pki server.pki tls-require hostname [domain]
> > > > > listen on $egress_int pki server.pki port 587 tls-require auth hostname [domain]
> > > > > listen on $egress_int pki server.pki smtps auth hostname [domain]
> > > > >
> > > > > but the problem is still there :(
> > > > >
> > > > > On Thu, Jul 12, 2018 at 12:04 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > > > ---
> > > > > > /etc/smtpd/smtpd.conf
> > > > > > pki mx.domain.tld certificate "/etc/smtpd/tls/smtpd.crt"
> > > > > > pki mx.domain.tld key "/etc/smtpd/tls/smtpd.key"
> > > > > >
> > > > > > table creds "/etc/smtpd/creds"
> > > > > > table vdoms "/etc/smtpd/vdoms"
> > > > > > table vusers "/etc/smtpd/vusers"
> > > > > >
> > > > > > listen on eth0 tls pki mx.domain.tld
> > > > > > listen on eth0 port 587 tls-require pki mx.domain.tld auth <creds>
> > > > > >
> > > > > > accept from any for domain <vdoms> virtual <vusers> deliver to mbox
> > > > > > accept for any relay
> > > > > > ----
> > > > > > Add a:
> > > > > > listen on lo port 587 tls-require pki mx.domain.tld auth <creds>
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > > > >
> > > > > > On 7/11/18, 5:00 PM, "dovecot on behalf of Teno Deuter" <dovecot-bounces@dovecot.org on behalf of gvgter@googlemail.com> wrote:
> > > > > >
> > > > > > produces an empty result!
> > > > > >
> > > > > > On Wed, Jul 11, 2018 at 11:57 PM, Richard
> > > > > > <inbound-dovecot@listmail.innovate.net> wrote:
> > > > > > > what does the output of:
> > > > > > >
> > > > > > > netstat -n | grep :587
> > > > > > >
> > > > > > > run as root, show you? the -p will give the program and pid.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >> Date: Wednesday, July 11, 2018 21:51:09 +0000
> > > > > > >> From: Larry Rosenman <larryrtx@gmail.com>
> > > > > > >>
> > > > > > >> Yep, you (probably) need to configure openSMTPD to listen on 587
> > > > > > >>
> > > > > > >> (I run exim, so I can't help with that).
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
you mean to turn off TLS in roundcube config file?
On Thu, Jul 12, 2018 at 12:51 AM, Larry Rosenman larryrtx@gmail.com wrote:
Turn off TLS for webmail. It's not leaving the machine.
Or get a letsencrypt.org cert. (they are free) see acme.sh (https://github.com/Neilpang/acme.sh)
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 5:48 PM, "Teno Deuter" gvgter@googlemail.com wrote:
which means I can't use a self-signed cert at all? Or can I define this somewhere? On Thu, Jul 12, 2018 at 12:46 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > yep > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > On 7/11/18, 5:46 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > the maillog shows: > > reason="io-error: error:14037418:SSL routines:ACCEPT_SR_KEY_EXCH:tlsv1 > alert unknown ca" > > please note that I'm using a self-signed cert. Is that the reason? > > On Thu, Jul 12, 2018 at 12:42 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > Then you need to look at the opensmtpd logs to figure out why the starttls is failing. > > > > > > > > -- > > Larry Rosenman http://www.lerctr.org/~ler > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > On 7/11/18, 5:42 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > actually I did define the staic IP address already and now I get the > > following in the roundcube error log: > > > > STARTTLS failed () > > Invalid response code received from server (-1) > > Failed to write to socket: unknown error () > > SMTP Error: Authentication failure: STARTTLS failed (Code: ) > > > > > > > > On Thu, Jul 12, 2018 at 12:40 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > Yes, or, add another block of lines with lo (or lo0) depending on what your kernel uses for loopback in place of the $egress_int parameter to get it to listen on 127.0.0.1 as well. > > > > > > > > > > > > -- > > > Larry Rosenman http://www.lerctr.org/~ler > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > On 7/11/18, 5:38 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > shows the static IP address of the box. You mean to put that address > > > in the config file? > > > > > > On Thu, Jul 12, 2018 at 12:36 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > What does ifconfig nfe0 show for inet? > > > > > > > > > > > > -- > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > On 7/11/18, 5:35 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > > > but: > > > > > > > > egress_int="nfe0" > > > > > > > > you mean to put this value? > > > > > > > > On Thu, Jul 12, 2018 at 12:30 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > > $egress_int is NOT 127.0.0.1. > > > > > > > > > > Change roundcube to use the same address. > > > > > > > > > > > > > > > -- > > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > > > On 7/11/18, 5:26 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > > > > > this is what I have now in my smptd conf file: > > > > > > > > > > listen on $egress_int pki server.pki tls-require hostname [domain] > > > > > listen on $egress_int pki server.pki port 587 tls-require auth hostname [domain] > > > > > listen on $egress_int pki server.pki smtps auth hostname [domain] > > > > > > > > > > but the problem is still there :( > > > > > > > > > > On Thu, Jul 12, 2018 at 12:04 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > > > --- > > > > > > /etc/smtpd/smtpd.conf > > > > > > pki mx.domain.tld certificate "/etc/smtpd/tls/smtpd.crt" > > > > > > pki mx.domain.tld key "/etc/smtpd/tls/smtpd.key" > > > > > > > > > > > > table creds "/etc/smtpd/creds" > > > > > > table vdoms "/etc/smtpd/vdoms" > > > > > > table vusers "/etc/smtpd/vusers" > > > > > > > > > > > > listen on eth0 tls pki mx.domain.tld > > > > > > listen on eth0 port 587 tls-require pki mx.domain.tld auth <creds> > > > > > > > > > > > > accept from any for domain <vdoms> virtual <vusers> deliver to mbox > > > > > > accept for any relay > > > > > > ---- > > > > > > Add a: > > > > > > listen on lo port 587 tls-require pki mx.domain.tld auth <creds> > > > > > > > > > > > > > > > > > > -- > > > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > > > > > On 7/11/18, 5:00 PM, "dovecot on behalf of Teno Deuter" <dovecot-bounces@dovecot.org on behalf of gvgter@googlemail.com> wrote: > > > > > > > > > > > > produces an empty result! > > > > > > > > > > > > On Wed, Jul 11, 2018 at 11:57 PM, Richard > > > > > > <inbound-dovecot@listmail.innovate.net> wrote: > > > > > > > what does the output of: > > > > > > > > > > > > > > netstat -n | grep :587 > > > > > > > > > > > > > > run as root, show you? the -p will give the program and pid. > > > > > > > > > > > > > > > > > > > > > > > > > > > >> Date: Wednesday, July 11, 2018 21:51:09 +0000 > > > > > > >> From: Larry Rosenman <larryrtx@gmail.com> > > > > > > >> > > > > > > >> Yep, you (probably) need to configure openSMTPD to listen on 587 > > > > > > >> > > > > > > >> (I run exim, so I can't help with that). > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
Yes.
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 6:02 PM, "Teno Deuter" gvgter@googlemail.com wrote:
you mean to turn off TLS in roundcube config file?
On Thu, Jul 12, 2018 at 12:51 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> Turn off TLS for webmail. It's not leaving the machine.
>
> Or get a letsencrypt.org cert. (they are free) see acme.sh (https://github.com/Neilpang/acme.sh)
>
>
> --
> Larry Rosenman http://www.lerctr.org/~ler
> Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
>
> On 7/11/18, 5:48 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
>
> which means I can't use a self-signed cert at all? Or can I define
> this somewhere?
>
> On Thu, Jul 12, 2018 at 12:46 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > yep
> >
> > --
> > Larry Rosenman http://www.lerctr.org/~ler
> > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> >
> > On 7/11/18, 5:46 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> >
> > the maillog shows:
> >
> > reason="io-error: error:14037418:SSL routines:ACCEPT_SR_KEY_EXCH:tlsv1
> > alert unknown ca"
> >
> > please note that I'm using a self-signed cert. Is that the reason?
> >
> > On Thu, Jul 12, 2018 at 12:42 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > Then you need to look at the opensmtpd logs to figure out why the starttls is failing.
> > >
> > >
> > >
> > > --
> > > Larry Rosenman http://www.lerctr.org/~ler
> > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > >
> > > On 7/11/18, 5:42 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > >
> > > actually I did define the staic IP address already and now I get the
> > > following in the roundcube error log:
> > >
> > > STARTTLS failed ()
> > > Invalid response code received from server (-1)
> > > Failed to write to socket: unknown error ()
> > > SMTP Error: Authentication failure: STARTTLS failed (Code: )
> > >
> > >
> > >
> > > On Thu, Jul 12, 2018 at 12:40 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > Yes, or, add another block of lines with lo (or lo0) depending on what your kernel uses for loopback in place of the $egress_int parameter to get it to listen on 127.0.0.1 as well.
> > > >
> > > >
> > > >
> > > > --
> > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > >
> > > > On 7/11/18, 5:38 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > >
> > > > shows the static IP address of the box. You mean to put that address
> > > > in the config file?
> > > >
> > > > On Thu, Jul 12, 2018 at 12:36 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > > What does ifconfig nfe0 show for inet?
> > > > >
> > > > >
> > > > > --
> > > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > > >
> > > > > On 7/11/18, 5:35 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > > >
> > > > > but:
> > > > >
> > > > > egress_int="nfe0"
> > > > >
> > > > > you mean to put this value?
> > > > >
> > > > > On Thu, Jul 12, 2018 at 12:30 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > > > $egress_int is NOT 127.0.0.1.
> > > > > >
> > > > > > Change roundcube to use the same address.
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > > > >
> > > > > > On 7/11/18, 5:26 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > > > >
> > > > > > this is what I have now in my smptd conf file:
> > > > > >
> > > > > > listen on $egress_int pki server.pki tls-require hostname [domain]
> > > > > > listen on $egress_int pki server.pki port 587 tls-require auth hostname [domain]
> > > > > > listen on $egress_int pki server.pki smtps auth hostname [domain]
> > > > > >
> > > > > > but the problem is still there :(
> > > > > >
> > > > > > On Thu, Jul 12, 2018 at 12:04 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > > > > ---
> > > > > > > /etc/smtpd/smtpd.conf
> > > > > > > pki mx.domain.tld certificate "/etc/smtpd/tls/smtpd.crt"
> > > > > > > pki mx.domain.tld key "/etc/smtpd/tls/smtpd.key"
> > > > > > >
> > > > > > > table creds "/etc/smtpd/creds"
> > > > > > > table vdoms "/etc/smtpd/vdoms"
> > > > > > > table vusers "/etc/smtpd/vusers"
> > > > > > >
> > > > > > > listen on eth0 tls pki mx.domain.tld
> > > > > > > listen on eth0 port 587 tls-require pki mx.domain.tld auth <creds>
> > > > > > >
> > > > > > > accept from any for domain <vdoms> virtual <vusers> deliver to mbox
> > > > > > > accept for any relay
> > > > > > > ----
> > > > > > > Add a:
> > > > > > > listen on lo port 587 tls-require pki mx.domain.tld auth <creds>
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > > > > >
> > > > > > > On 7/11/18, 5:00 PM, "dovecot on behalf of Teno Deuter" <dovecot-bounces@dovecot.org on behalf of gvgter@googlemail.com> wrote:
> > > > > > >
> > > > > > > produces an empty result!
> > > > > > >
> > > > > > > On Wed, Jul 11, 2018 at 11:57 PM, Richard
> > > > > > > <inbound-dovecot@listmail.innovate.net> wrote:
> > > > > > > > what does the output of:
> > > > > > > >
> > > > > > > > netstat -n | grep :587
> > > > > > > >
> > > > > > > > run as root, show you? the -p will give the program and pid.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >> Date: Wednesday, July 11, 2018 21:51:09 +0000
> > > > > > > >> From: Larry Rosenman <larryrtx@gmail.com>
> > > > > > > >>
> > > > > > > >> Yep, you (probably) need to configure openSMTPD to listen on 587
> > > > > > > >>
> > > > > > > >> (I run exim, so I can't help with that).
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
now in roundcube config I have the following:
$config['default_host'] = 'my static IP'; $config['smtp_server'] = 'my static IP'; $config['smtp_port'] = 25;
but I get the following:
SMTP server does not support authentication () SMTP Error: Authentication failure: SMTP server does not support authentication (Code: )
On Thu, Jul 12, 2018 at 1:02 AM, Larry Rosenman larryrtx@gmail.com wrote:
Yes.
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 6:02 PM, "Teno Deuter" gvgter@googlemail.com wrote:
you mean to turn off TLS in roundcube config file? On Thu, Jul 12, 2018 at 12:51 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > Turn off TLS for webmail. It's not leaving the machine. > > Or get a letsencrypt.org cert. (they are free) see acme.sh (https://github.com/Neilpang/acme.sh) > > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > On 7/11/18, 5:48 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > which means I can't use a self-signed cert at all? Or can I define > this somewhere? > > On Thu, Jul 12, 2018 at 12:46 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > yep > > > > -- > > Larry Rosenman http://www.lerctr.org/~ler > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > On 7/11/18, 5:46 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > the maillog shows: > > > > reason="io-error: error:14037418:SSL routines:ACCEPT_SR_KEY_EXCH:tlsv1 > > alert unknown ca" > > > > please note that I'm using a self-signed cert. Is that the reason? > > > > On Thu, Jul 12, 2018 at 12:42 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > Then you need to look at the opensmtpd logs to figure out why the starttls is failing. > > > > > > > > > > > > -- > > > Larry Rosenman http://www.lerctr.org/~ler > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > On 7/11/18, 5:42 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > actually I did define the staic IP address already and now I get the > > > following in the roundcube error log: > > > > > > STARTTLS failed () > > > Invalid response code received from server (-1) > > > Failed to write to socket: unknown error () > > > SMTP Error: Authentication failure: STARTTLS failed (Code: ) > > > > > > > > > > > > On Thu, Jul 12, 2018 at 12:40 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > Yes, or, add another block of lines with lo (or lo0) depending on what your kernel uses for loopback in place of the $egress_int parameter to get it to listen on 127.0.0.1 as well. > > > > > > > > > > > > > > > > -- > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > On 7/11/18, 5:38 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > > > shows the static IP address of the box. You mean to put that address > > > > in the config file? > > > > > > > > On Thu, Jul 12, 2018 at 12:36 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > > What does ifconfig nfe0 show for inet? > > > > > > > > > > > > > > > -- > > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > > > On 7/11/18, 5:35 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > > > > > but: > > > > > > > > > > egress_int="nfe0" > > > > > > > > > > you mean to put this value? > > > > > > > > > > On Thu, Jul 12, 2018 at 12:30 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > > > $egress_int is NOT 127.0.0.1. > > > > > > > > > > > > Change roundcube to use the same address. > > > > > > > > > > > > > > > > > > -- > > > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > > > > > On 7/11/18, 5:26 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > > > > > > > this is what I have now in my smptd conf file: > > > > > > > > > > > > listen on $egress_int pki server.pki tls-require hostname [domain] > > > > > > listen on $egress_int pki server.pki port 587 tls-require auth hostname [domain] > > > > > > listen on $egress_int pki server.pki smtps auth hostname [domain] > > > > > > > > > > > > but the problem is still there :( > > > > > > > > > > > > On Thu, Jul 12, 2018 at 12:04 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > > > > --- > > > > > > > /etc/smtpd/smtpd.conf > > > > > > > pki mx.domain.tld certificate "/etc/smtpd/tls/smtpd.crt" > > > > > > > pki mx.domain.tld key "/etc/smtpd/tls/smtpd.key" > > > > > > > > > > > > > > table creds "/etc/smtpd/creds" > > > > > > > table vdoms "/etc/smtpd/vdoms" > > > > > > > table vusers "/etc/smtpd/vusers" > > > > > > > > > > > > > > listen on eth0 tls pki mx.domain.tld > > > > > > > listen on eth0 port 587 tls-require pki mx.domain.tld auth <creds> > > > > > > > > > > > > > > accept from any for domain <vdoms> virtual <vusers> deliver to mbox > > > > > > > accept for any relay > > > > > > > ---- > > > > > > > Add a: > > > > > > > listen on lo port 587 tls-require pki mx.domain.tld auth <creds> > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > > > > > > > On 7/11/18, 5:00 PM, "dovecot on behalf of Teno Deuter" <dovecot-bounces@dovecot.org on behalf of gvgter@googlemail.com> wrote: > > > > > > > > > > > > > > produces an empty result! > > > > > > > > > > > > > > On Wed, Jul 11, 2018 at 11:57 PM, Richard > > > > > > > <inbound-dovecot@listmail.innovate.net> wrote: > > > > > > > > what does the output of: > > > > > > > > > > > > > > > > netstat -n | grep :587 > > > > > > > > > > > > > > > > run as root, show you? the -p will give the program and pid. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >> Date: Wednesday, July 11, 2018 21:51:09 +0000 > > > > > > > >> From: Larry Rosenman <larryrtx@gmail.com> > > > > > > > >> > > > > > > > >> Yep, you (probably) need to configure openSMTPD to listen on 587 > > > > > > > >> > > > > > > > >> (I run exim, so I can't help with that). > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
If you telnet to port 25, do an EHLO host, does the response include AUTH? If not, opensmtpd is not offering AUTH over unencrypted port 25 connections.
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 6:05 PM, "Teno Deuter" gvgter@googlemail.com wrote:
now in roundcube config I have the following:
$config['default_host'] = 'my static IP';
$config['smtp_server'] = 'my static IP';
$config['smtp_port'] = 25;
but I get the following:
SMTP server does not support authentication ()
SMTP Error: Authentication failure: SMTP server does not support
authentication (Code: )
On Thu, Jul 12, 2018 at 1:02 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> Yes.
>
> --
> Larry Rosenman http://www.lerctr.org/~ler
> Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
>
> On 7/11/18, 6:02 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
>
> you mean to turn off TLS in roundcube config file?
>
> On Thu, Jul 12, 2018 at 12:51 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > Turn off TLS for webmail. It's not leaving the machine.
> >
> > Or get a letsencrypt.org cert. (they are free) see acme.sh (https://github.com/Neilpang/acme.sh)
> >
> >
> > --
> > Larry Rosenman http://www.lerctr.org/~ler
> > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> >
> > On 7/11/18, 5:48 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> >
> > which means I can't use a self-signed cert at all? Or can I define
> > this somewhere?
> >
> > On Thu, Jul 12, 2018 at 12:46 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > yep
> > >
> > > --
> > > Larry Rosenman http://www.lerctr.org/~ler
> > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > >
> > > On 7/11/18, 5:46 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > >
> > > the maillog shows:
> > >
> > > reason="io-error: error:14037418:SSL routines:ACCEPT_SR_KEY_EXCH:tlsv1
> > > alert unknown ca"
> > >
> > > please note that I'm using a self-signed cert. Is that the reason?
> > >
> > > On Thu, Jul 12, 2018 at 12:42 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > Then you need to look at the opensmtpd logs to figure out why the starttls is failing.
> > > >
> > > >
> > > >
> > > > --
> > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > >
> > > > On 7/11/18, 5:42 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > >
> > > > actually I did define the staic IP address already and now I get the
> > > > following in the roundcube error log:
> > > >
> > > > STARTTLS failed ()
> > > > Invalid response code received from server (-1)
> > > > Failed to write to socket: unknown error ()
> > > > SMTP Error: Authentication failure: STARTTLS failed (Code: )
> > > >
> > > >
> > > >
> > > > On Thu, Jul 12, 2018 at 12:40 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > > Yes, or, add another block of lines with lo (or lo0) depending on what your kernel uses for loopback in place of the $egress_int parameter to get it to listen on 127.0.0.1 as well.
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > > >
> > > > > On 7/11/18, 5:38 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > > >
> > > > > shows the static IP address of the box. You mean to put that address
> > > > > in the config file?
> > > > >
> > > > > On Thu, Jul 12, 2018 at 12:36 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > > > What does ifconfig nfe0 show for inet?
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > > > >
> > > > > > On 7/11/18, 5:35 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > > > >
> > > > > > but:
> > > > > >
> > > > > > egress_int="nfe0"
> > > > > >
> > > > > > you mean to put this value?
> > > > > >
> > > > > > On Thu, Jul 12, 2018 at 12:30 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > > > > $egress_int is NOT 127.0.0.1.
> > > > > > >
> > > > > > > Change roundcube to use the same address.
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > > > > >
> > > > > > > On 7/11/18, 5:26 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > > > > >
> > > > > > > this is what I have now in my smptd conf file:
> > > > > > >
> > > > > > > listen on $egress_int pki server.pki tls-require hostname [domain]
> > > > > > > listen on $egress_int pki server.pki port 587 tls-require auth hostname [domain]
> > > > > > > listen on $egress_int pki server.pki smtps auth hostname [domain]
> > > > > > >
> > > > > > > but the problem is still there :(
> > > > > > >
> > > > > > > On Thu, Jul 12, 2018 at 12:04 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > > > > > ---
> > > > > > > > /etc/smtpd/smtpd.conf
> > > > > > > > pki mx.domain.tld certificate "/etc/smtpd/tls/smtpd.crt"
> > > > > > > > pki mx.domain.tld key "/etc/smtpd/tls/smtpd.key"
> > > > > > > >
> > > > > > > > table creds "/etc/smtpd/creds"
> > > > > > > > table vdoms "/etc/smtpd/vdoms"
> > > > > > > > table vusers "/etc/smtpd/vusers"
> > > > > > > >
> > > > > > > > listen on eth0 tls pki mx.domain.tld
> > > > > > > > listen on eth0 port 587 tls-require pki mx.domain.tld auth <creds>
> > > > > > > >
> > > > > > > > accept from any for domain <vdoms> virtual <vusers> deliver to mbox
> > > > > > > > accept for any relay
> > > > > > > > ----
> > > > > > > > Add a:
> > > > > > > > listen on lo port 587 tls-require pki mx.domain.tld auth <creds>
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > > > > > >
> > > > > > > > On 7/11/18, 5:00 PM, "dovecot on behalf of Teno Deuter" <dovecot-bounces@dovecot.org on behalf of gvgter@googlemail.com> wrote:
> > > > > > > >
> > > > > > > > produces an empty result!
> > > > > > > >
> > > > > > > > On Wed, Jul 11, 2018 at 11:57 PM, Richard
> > > > > > > > <inbound-dovecot@listmail.innovate.net> wrote:
> > > > > > > > > what does the output of:
> > > > > > > > >
> > > > > > > > > netstat -n | grep :587
> > > > > > > > >
> > > > > > > > > run as root, show you? the -p will give the program and pid.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >> Date: Wednesday, July 11, 2018 21:51:09 +0000
> > > > > > > > >> From: Larry Rosenman <larryrtx@gmail.com>
> > > > > > > > >>
> > > > > > > > >> Yep, you (probably) need to configure openSMTPD to listen on 587
> > > > > > > > >>
> > > > > > > > >> (I run exim, so I can't help with that).
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
this is the result:
250-8BITMIME 250-ENHANCEDSTATUSCODES 250-SIZE 209715200 250-DSN 250-STARTTLS 250 HELP
can I tell smtpd to to accept AUTH without encryption?
On Thu, Jul 12, 2018 at 1:07 AM, Larry Rosenman larryrtx@gmail.com wrote:
If you telnet to port 25, do an EHLO host, does the response include AUTH? If not, opensmtpd is not offering AUTH over unencrypted port 25 connections.
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 6:05 PM, "Teno Deuter" gvgter@googlemail.com wrote:
now in roundcube config I have the following: $config['default_host'] = 'my static IP'; $config['smtp_server'] = 'my static IP'; $config['smtp_port'] = 25; but I get the following: SMTP server does not support authentication () SMTP Error: Authentication failure: SMTP server does not support authentication (Code: ) On Thu, Jul 12, 2018 at 1:02 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > Yes. > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > On 7/11/18, 6:02 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > you mean to turn off TLS in roundcube config file? > > On Thu, Jul 12, 2018 at 12:51 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > Turn off TLS for webmail. It's not leaving the machine. > > > > Or get a letsencrypt.org cert. (they are free) see acme.sh (https://github.com/Neilpang/acme.sh) > > > > > > -- > > Larry Rosenman http://www.lerctr.org/~ler > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > On 7/11/18, 5:48 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > which means I can't use a self-signed cert at all? Or can I define > > this somewhere? > > > > On Thu, Jul 12, 2018 at 12:46 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > yep > > > > > > -- > > > Larry Rosenman http://www.lerctr.org/~ler > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > On 7/11/18, 5:46 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > the maillog shows: > > > > > > reason="io-error: error:14037418:SSL routines:ACCEPT_SR_KEY_EXCH:tlsv1 > > > alert unknown ca" > > > > > > please note that I'm using a self-signed cert. Is that the reason? > > > > > > On Thu, Jul 12, 2018 at 12:42 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > Then you need to look at the opensmtpd logs to figure out why the starttls is failing. > > > > > > > > > > > > > > > > -- > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > On 7/11/18, 5:42 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > > > actually I did define the staic IP address already and now I get the > > > > following in the roundcube error log: > > > > > > > > STARTTLS failed () > > > > Invalid response code received from server (-1) > > > > Failed to write to socket: unknown error () > > > > SMTP Error: Authentication failure: STARTTLS failed (Code: ) > > > > > > > > > > > > > > > > On Thu, Jul 12, 2018 at 12:40 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > > Yes, or, add another block of lines with lo (or lo0) depending on what your kernel uses for loopback in place of the $egress_int parameter to get it to listen on 127.0.0.1 as well. > > > > > > > > > > > > > > > > > > > > -- > > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > > > On 7/11/18, 5:38 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > > > > > shows the static IP address of the box. You mean to put that address > > > > > in the config file? > > > > > > > > > > On Thu, Jul 12, 2018 at 12:36 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > > > What does ifconfig nfe0 show for inet? > > > > > > > > > > > > > > > > > > -- > > > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > > > > > On 7/11/18, 5:35 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > > > > > > > but: > > > > > > > > > > > > egress_int="nfe0" > > > > > > > > > > > > you mean to put this value? > > > > > > > > > > > > On Thu, Jul 12, 2018 at 12:30 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > > > > $egress_int is NOT 127.0.0.1. > > > > > > > > > > > > > > Change roundcube to use the same address. > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > > > > > > > On 7/11/18, 5:26 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > > > > > > > > > this is what I have now in my smptd conf file: > > > > > > > > > > > > > > listen on $egress_int pki server.pki tls-require hostname [domain] > > > > > > > listen on $egress_int pki server.pki port 587 tls-require auth hostname [domain] > > > > > > > listen on $egress_int pki server.pki smtps auth hostname [domain] > > > > > > > > > > > > > > but the problem is still there :( > > > > > > > > > > > > > > On Thu, Jul 12, 2018 at 12:04 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > > > > > --- > > > > > > > > /etc/smtpd/smtpd.conf > > > > > > > > pki mx.domain.tld certificate "/etc/smtpd/tls/smtpd.crt" > > > > > > > > pki mx.domain.tld key "/etc/smtpd/tls/smtpd.key" > > > > > > > > > > > > > > > > table creds "/etc/smtpd/creds" > > > > > > > > table vdoms "/etc/smtpd/vdoms" > > > > > > > > table vusers "/etc/smtpd/vusers" > > > > > > > > > > > > > > > > listen on eth0 tls pki mx.domain.tld > > > > > > > > listen on eth0 port 587 tls-require pki mx.domain.tld auth <creds> > > > > > > > > > > > > > > > > accept from any for domain <vdoms> virtual <vusers> deliver to mbox > > > > > > > > accept for any relay > > > > > > > > ---- > > > > > > > > Add a: > > > > > > > > listen on lo port 587 tls-require pki mx.domain.tld auth <creds> > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > > > > > > > > > On 7/11/18, 5:00 PM, "dovecot on behalf of Teno Deuter" <dovecot-bounces@dovecot.org on behalf of gvgter@googlemail.com> wrote: > > > > > > > > > > > > > > > > produces an empty result! > > > > > > > > > > > > > > > > On Wed, Jul 11, 2018 at 11:57 PM, Richard > > > > > > > > <inbound-dovecot@listmail.innovate.net> wrote: > > > > > > > > > what does the output of: > > > > > > > > > > > > > > > > > > netstat -n | grep :587 > > > > > > > > > > > > > > > > > > run as root, show you? the -p will give the program and pid. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >> Date: Wednesday, July 11, 2018 21:51:09 +0000 > > > > > > > > >> From: Larry Rosenman <larryrtx@gmail.com> > > > > > > > > >> > > > > > > > > >> Yep, you (probably) need to configure openSMTPD to listen on 587 > > > > > > > > >> > > > > > > > > >> (I run exim, so I can't help with that). > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
Read the docs....
Or, as I said earlier, get a (free) letsencrypt certificate.
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 6:16 PM, "Teno Deuter" gvgter@googlemail.com wrote:
this is the result:
250-8BITMIME
250-ENHANCEDSTATUSCODES
250-SIZE 209715200
250-DSN
250-STARTTLS
250 HELP
can I tell smtpd to to accept AUTH without encryption?
On Thu, Jul 12, 2018 at 1:07 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> If you telnet to port 25, do an EHLO host, does the response include AUTH? If not, opensmtpd is not offering AUTH over unencrypted port 25 connections.
>
>
> --
> Larry Rosenman http://www.lerctr.org/~ler
> Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
>
> On 7/11/18, 6:05 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
>
> now in roundcube config I have the following:
>
> $config['default_host'] = 'my static IP';
> $config['smtp_server'] = 'my static IP';
> $config['smtp_port'] = 25;
>
> but I get the following:
>
> SMTP server does not support authentication ()
> SMTP Error: Authentication failure: SMTP server does not support
> authentication (Code: )
>
>
>
> On Thu, Jul 12, 2018 at 1:02 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > Yes.
> >
> > --
> > Larry Rosenman http://www.lerctr.org/~ler
> > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> >
> > On 7/11/18, 6:02 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> >
> > you mean to turn off TLS in roundcube config file?
> >
> > On Thu, Jul 12, 2018 at 12:51 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > Turn off TLS for webmail. It's not leaving the machine.
> > >
> > > Or get a letsencrypt.org cert. (they are free) see acme.sh (https://github.com/Neilpang/acme.sh)
> > >
> > >
> > > --
> > > Larry Rosenman http://www.lerctr.org/~ler
> > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > >
> > > On 7/11/18, 5:48 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > >
> > > which means I can't use a self-signed cert at all? Or can I define
> > > this somewhere?
> > >
> > > On Thu, Jul 12, 2018 at 12:46 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > yep
> > > >
> > > > --
> > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > >
> > > > On 7/11/18, 5:46 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > >
> > > > the maillog shows:
> > > >
> > > > reason="io-error: error:14037418:SSL routines:ACCEPT_SR_KEY_EXCH:tlsv1
> > > > alert unknown ca"
> > > >
> > > > please note that I'm using a self-signed cert. Is that the reason?
> > > >
> > > > On Thu, Jul 12, 2018 at 12:42 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > > Then you need to look at the opensmtpd logs to figure out why the starttls is failing.
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > > >
> > > > > On 7/11/18, 5:42 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > > >
> > > > > actually I did define the staic IP address already and now I get the
> > > > > following in the roundcube error log:
> > > > >
> > > > > STARTTLS failed ()
> > > > > Invalid response code received from server (-1)
> > > > > Failed to write to socket: unknown error ()
> > > > > SMTP Error: Authentication failure: STARTTLS failed (Code: )
> > > > >
> > > > >
> > > > >
> > > > > On Thu, Jul 12, 2018 at 12:40 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > > > Yes, or, add another block of lines with lo (or lo0) depending on what your kernel uses for loopback in place of the $egress_int parameter to get it to listen on 127.0.0.1 as well.
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > > > >
> > > > > > On 7/11/18, 5:38 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > > > >
> > > > > > shows the static IP address of the box. You mean to put that address
> > > > > > in the config file?
> > > > > >
> > > > > > On Thu, Jul 12, 2018 at 12:36 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > > > > What does ifconfig nfe0 show for inet?
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > > > > >
> > > > > > > On 7/11/18, 5:35 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > > > > >
> > > > > > > but:
> > > > > > >
> > > > > > > egress_int="nfe0"
> > > > > > >
> > > > > > > you mean to put this value?
> > > > > > >
> > > > > > > On Thu, Jul 12, 2018 at 12:30 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > > > > > $egress_int is NOT 127.0.0.1.
> > > > > > > >
> > > > > > > > Change roundcube to use the same address.
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > > > > > >
> > > > > > > > On 7/11/18, 5:26 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > > > > > >
> > > > > > > > this is what I have now in my smptd conf file:
> > > > > > > >
> > > > > > > > listen on $egress_int pki server.pki tls-require hostname [domain]
> > > > > > > > listen on $egress_int pki server.pki port 587 tls-require auth hostname [domain]
> > > > > > > > listen on $egress_int pki server.pki smtps auth hostname [domain]
> > > > > > > >
> > > > > > > > but the problem is still there :(
> > > > > > > >
> > > > > > > > On Thu, Jul 12, 2018 at 12:04 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > > > > > > ---
> > > > > > > > > /etc/smtpd/smtpd.conf
> > > > > > > > > pki mx.domain.tld certificate "/etc/smtpd/tls/smtpd.crt"
> > > > > > > > > pki mx.domain.tld key "/etc/smtpd/tls/smtpd.key"
> > > > > > > > >
> > > > > > > > > table creds "/etc/smtpd/creds"
> > > > > > > > > table vdoms "/etc/smtpd/vdoms"
> > > > > > > > > table vusers "/etc/smtpd/vusers"
> > > > > > > > >
> > > > > > > > > listen on eth0 tls pki mx.domain.tld
> > > > > > > > > listen on eth0 port 587 tls-require pki mx.domain.tld auth <creds>
> > > > > > > > >
> > > > > > > > > accept from any for domain <vdoms> virtual <vusers> deliver to mbox
> > > > > > > > > accept for any relay
> > > > > > > > > ----
> > > > > > > > > Add a:
> > > > > > > > > listen on lo port 587 tls-require pki mx.domain.tld auth <creds>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > > > > > > >
> > > > > > > > > On 7/11/18, 5:00 PM, "dovecot on behalf of Teno Deuter" <dovecot-bounces@dovecot.org on behalf of gvgter@googlemail.com> wrote:
> > > > > > > > >
> > > > > > > > > produces an empty result!
> > > > > > > > >
> > > > > > > > > On Wed, Jul 11, 2018 at 11:57 PM, Richard
> > > > > > > > > <inbound-dovecot@listmail.innovate.net> wrote:
> > > > > > > > > > what does the output of:
> > > > > > > > > >
> > > > > > > > > > netstat -n | grep :587
> > > > > > > > > >
> > > > > > > > > > run as root, show you? the -p will give the program and pid.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >> Date: Wednesday, July 11, 2018 21:51:09 +0000
> > > > > > > > > >> From: Larry Rosenman <larryrtx@gmail.com>
> > > > > > > > > >>
> > > > > > > > > >> Yep, you (probably) need to configure openSMTPD to listen on 587
> > > > > > > > > >>
> > > > > > > > > >> (I run exim, so I can't help with that).
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
Thank you very much for your help. Rally appreciated that
On Thu, Jul 12, 2018 at 1:17 AM, Larry Rosenman larryrtx@gmail.com wrote:
Read the docs....
Or, as I said earlier, get a (free) letsencrypt certificate.
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 6:16 PM, "Teno Deuter" gvgter@googlemail.com wrote:
this is the result: 250-8BITMIME 250-ENHANCEDSTATUSCODES 250-SIZE 209715200 250-DSN 250-STARTTLS 250 HELP can I tell smtpd to to accept AUTH without encryption? On Thu, Jul 12, 2018 at 1:07 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > If you telnet to port 25, do an EHLO host, does the response include AUTH? If not, opensmtpd is not offering AUTH over unencrypted port 25 connections. > > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > On 7/11/18, 6:05 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > now in roundcube config I have the following: > > $config['default_host'] = 'my static IP'; > $config['smtp_server'] = 'my static IP'; > $config['smtp_port'] = 25; > > but I get the following: > > SMTP server does not support authentication () > SMTP Error: Authentication failure: SMTP server does not support > authentication (Code: ) > > > > On Thu, Jul 12, 2018 at 1:02 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > Yes. > > > > -- > > Larry Rosenman http://www.lerctr.org/~ler > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > On 7/11/18, 6:02 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > you mean to turn off TLS in roundcube config file? > > > > On Thu, Jul 12, 2018 at 12:51 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > Turn off TLS for webmail. It's not leaving the machine. > > > > > > Or get a letsencrypt.org cert. (they are free) see acme.sh (https://github.com/Neilpang/acme.sh) > > > > > > > > > -- > > > Larry Rosenman http://www.lerctr.org/~ler > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > On 7/11/18, 5:48 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > which means I can't use a self-signed cert at all? Or can I define > > > this somewhere? > > > > > > On Thu, Jul 12, 2018 at 12:46 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > yep > > > > > > > > -- > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > On 7/11/18, 5:46 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > > > the maillog shows: > > > > > > > > reason="io-error: error:14037418:SSL routines:ACCEPT_SR_KEY_EXCH:tlsv1 > > > > alert unknown ca" > > > > > > > > please note that I'm using a self-signed cert. Is that the reason? > > > > > > > > On Thu, Jul 12, 2018 at 12:42 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > > Then you need to look at the opensmtpd logs to figure out why the starttls is failing. > > > > > > > > > > > > > > > > > > > > -- > > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > > > On 7/11/18, 5:42 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > > > > > actually I did define the staic IP address already and now I get the > > > > > following in the roundcube error log: > > > > > > > > > > STARTTLS failed () > > > > > Invalid response code received from server (-1) > > > > > Failed to write to socket: unknown error () > > > > > SMTP Error: Authentication failure: STARTTLS failed (Code: ) > > > > > > > > > > > > > > > > > > > > On Thu, Jul 12, 2018 at 12:40 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > > > Yes, or, add another block of lines with lo (or lo0) depending on what your kernel uses for loopback in place of the $egress_int parameter to get it to listen on 127.0.0.1 as well. > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > > > > > On 7/11/18, 5:38 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > > > > > > > shows the static IP address of the box. You mean to put that address > > > > > > in the config file? > > > > > > > > > > > > On Thu, Jul 12, 2018 at 12:36 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > > > > What does ifconfig nfe0 show for inet? > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > > > > > > > On 7/11/18, 5:35 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > > > > > > > > > but: > > > > > > > > > > > > > > egress_int="nfe0" > > > > > > > > > > > > > > you mean to put this value? > > > > > > > > > > > > > > On Thu, Jul 12, 2018 at 12:30 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > > > > > $egress_int is NOT 127.0.0.1. > > > > > > > > > > > > > > > > Change roundcube to use the same address. > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > > > > > > > > > On 7/11/18, 5:26 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > > > > > > > > > > > this is what I have now in my smptd conf file: > > > > > > > > > > > > > > > > listen on $egress_int pki server.pki tls-require hostname [domain] > > > > > > > > listen on $egress_int pki server.pki port 587 tls-require auth hostname [domain] > > > > > > > > listen on $egress_int pki server.pki smtps auth hostname [domain] > > > > > > > > > > > > > > > > but the problem is still there :( > > > > > > > > > > > > > > > > On Thu, Jul 12, 2018 at 12:04 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > > > > > > --- > > > > > > > > > /etc/smtpd/smtpd.conf > > > > > > > > > pki mx.domain.tld certificate "/etc/smtpd/tls/smtpd.crt" > > > > > > > > > pki mx.domain.tld key "/etc/smtpd/tls/smtpd.key" > > > > > > > > > > > > > > > > > > table creds "/etc/smtpd/creds" > > > > > > > > > table vdoms "/etc/smtpd/vdoms" > > > > > > > > > table vusers "/etc/smtpd/vusers" > > > > > > > > > > > > > > > > > > listen on eth0 tls pki mx.domain.tld > > > > > > > > > listen on eth0 port 587 tls-require pki mx.domain.tld auth <creds> > > > > > > > > > > > > > > > > > > accept from any for domain <vdoms> virtual <vusers> deliver to mbox > > > > > > > > > accept for any relay > > > > > > > > > ---- > > > > > > > > > Add a: > > > > > > > > > listen on lo port 587 tls-require pki mx.domain.tld auth <creds> > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > > > > > > > > > > > On 7/11/18, 5:00 PM, "dovecot on behalf of Teno Deuter" <dovecot-bounces@dovecot.org on behalf of gvgter@googlemail.com> wrote: > > > > > > > > > > > > > > > > > > produces an empty result! > > > > > > > > > > > > > > > > > > On Wed, Jul 11, 2018 at 11:57 PM, Richard > > > > > > > > > <inbound-dovecot@listmail.innovate.net> wrote: > > > > > > > > > > what does the output of: > > > > > > > > > > > > > > > > > > > > netstat -n | grep :587 > > > > > > > > > > > > > > > > > > > > run as root, show you? the -p will give the program and pid. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >> Date: Wednesday, July 11, 2018 21:51:09 +0000 > > > > > > > > > >> From: Larry Rosenman <larryrtx@gmail.com> > > > > > > > > > >> > > > > > > > > > >> Yep, you (probably) need to configure openSMTPD to listen on 587 > > > > > > > > > >> > > > > > > > > > >> (I run exim, so I can't help with that). > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
On Wed, 11 Jul 2018, Larry Rosenman wrote:
Read the docs.... Or, as I said earlier, get a (free) letsencrypt certificate.
Even with digest mode, this line by line back and forth chat-style exchange is starting to get long and tedious. Would you gents mind if you take it offline (since you're the only 2 now participating), then if need be, summarize it and put one final submission back to the list for those interested in this thread.
Thanks. Joseph Tam jtam.home@gmail.com
which confirms that dovecot (nor anything else) is listening on that port. the results from the roundcube test were misleading. always test deeper -- don't assume that client-based test are doing what you expect.
Date: Thursday, July 12, 2018 00:00:31 +0200 From: Teno Deuter gvgter@googlemail.com
produces an empty result!
On Wed, Jul 11, 2018 at 11:57 PM, Richard inbound-dovecot@listmail.innovate.net wrote:
what does the output of:
netstat -n | grep :587
run as root, show you? the -p will give the program and pid.
Date: Wednesday, July 11, 2018 21:51:09 +0000 From: Larry Rosenman larryrtx@gmail.com
Yep, you (probably) need to configure openSMTPD to listen on 587
(I run exim, so I can't help with that).
forgot to also ask about the maildir set up I have:
mail_location = maildir:~/var/mail/%u:LAYOUT=fs
for the following structure:
/var/mail/[user]/Drafts Inbox Sent Spam Trash
but should be wrong cause when I log in into roundcube I can't see the stored emails. If I completely skip 'mail_location' then it does show the mails which are already in!
Thank you
On Wed, Jul 11, 2018 at 11:51 PM, Larry Rosenman larryrtx@gmail.com wrote:
Yep, you (probably) need to configure openSMTPD to listen on 587
(I run exim, so I can't help with that).
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 4:50 PM, "Teno Deuter" gvgter@googlemail.com wrote:
I am using OpenSMTPD. The OpenBSD 6.3 default one. Also, when telnet to 127.0.0.1 25 I get a response! So must be something with 587? On Wed, Jul 11, 2018 at 11:47 PM, Larry Rosenman <larryrtx@gmail.com> wrote: > What's your neomutt connecting to? > > For smtp? > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > On 7/11/18, 4:47 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > when using neomutt for the same system user, I can send and receive > emails to everywhere > > Also, when installing roundcube, the test email function did succeed! > > So my SMTP server should be fine? > > > On Wed, Jul 11, 2018 at 11:45 PM, Larry Rosenman <larryrtx@gmail.com> wrote: > > Your smtp server isn't listening. > > > > Is it running, and binding to 127.0.0.1? > > > > > > -- > > Larry Rosenman http://www.lerctr.org/~ler > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > On 7/11/18, 4:44 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > connection refused! But why? > > > > On Wed, Jul 11, 2018 at 11:40 PM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > What happens if you telnet 127.0.0.1 587? > > > > > > -- > > > Larry Rosenman http://www.lerctr.org/~ler > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > On 7/11/18, 4:39 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > 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 <larryrtx@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: larryrtx@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-bounces@dovecot.org on behalf of gvgter@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 > > > > > > > > > >
What does an ls -lr of /var/mail/<user> look like?
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 4:58 PM, "Teno Deuter" gvgter@googlemail.com wrote:
forgot to also ask about the maildir set up I have:
mail_location = maildir:~/var/mail/%u:LAYOUT=fs
for the following structure:
/var/mail/[user]/Drafts
Inbox
Sent
Spam
Trash
but should be wrong cause when I log in into roundcube I can't see the
stored emails. If I completely skip 'mail_location' then it does show
the mails which are already in!
Thank you
On Wed, Jul 11, 2018 at 11:51 PM, Larry Rosenman <larryrtx@gmail.com> wrote:
> Yep, you (probably) need to configure openSMTPD to listen on 587
>
> (I run exim, so I can't help with that).
>
> --
> Larry Rosenman http://www.lerctr.org/~ler
> Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
>
> On 7/11/18, 4:50 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
>
> I am using OpenSMTPD. The OpenBSD 6.3 default one.
>
> Also, when telnet to 127.0.0.1 25 I get a response! So must be
> something with 587?
>
> On Wed, Jul 11, 2018 at 11:47 PM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > What's your neomutt connecting to?
> >
> > For smtp?
> >
> > --
> > Larry Rosenman http://www.lerctr.org/~ler
> > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> >
> > On 7/11/18, 4:47 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> >
> > when using neomutt for the same system user, I can send and receive
> > emails to everywhere
> >
> > Also, when installing roundcube, the test email function did succeed!
> >
> > So my SMTP server should be fine?
> >
> >
> > On Wed, Jul 11, 2018 at 11:45 PM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > Your smtp server isn't listening.
> > >
> > > Is it running, and binding to 127.0.0.1?
> > >
> > >
> > > --
> > > Larry Rosenman http://www.lerctr.org/~ler
> > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > >
> > > On 7/11/18, 4:44 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > >
> > > connection refused! But why?
> > >
> > > On Wed, Jul 11, 2018 at 11:40 PM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > What happens if you telnet 127.0.0.1 587?
> > > >
> > > > --
> > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > >
> > > > On 7/11/18, 4:39 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > >
> > > > 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 <larryrtx@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: larryrtx@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-bounces@dovecot.org on behalf of gvgter@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
> > > > >
> > > >
> > >
> >
>
drwxr-xr-x 5 512 Jun 26 21:41 Trash drwxr-xr-x 5 512 Jun 26 21:41 Spam drwxr-xr-x 5 512 Jun 26 21:41 Sent drwx------ 6 512 Jul 7 00:23 Inbox drwxr-xr-x 5 512 Jun 26 21:41 Drafts
On Thu, Jul 12, 2018 at 12:00 AM, Larry Rosenman larryrtx@gmail.com wrote:
What does an ls -lr of /var/mail/<user> look like?
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 4:58 PM, "Teno Deuter" gvgter@googlemail.com wrote:
forgot to also ask about the maildir set up I have: mail_location = maildir:~/var/mail/%u:LAYOUT=fs for the following structure: /var/mail/[user]/Drafts Inbox Sent Spam Trash but should be wrong cause when I log in into roundcube I can't see the stored emails. If I completely skip 'mail_location' then it does show the mails which are already in! Thank you On Wed, Jul 11, 2018 at 11:51 PM, Larry Rosenman <larryrtx@gmail.com> wrote: > Yep, you (probably) need to configure openSMTPD to listen on 587 > > (I run exim, so I can't help with that). > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > On 7/11/18, 4:50 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > I am using OpenSMTPD. The OpenBSD 6.3 default one. > > Also, when telnet to 127.0.0.1 25 I get a response! So must be > something with 587? > > On Wed, Jul 11, 2018 at 11:47 PM, Larry Rosenman <larryrtx@gmail.com> wrote: > > What's your neomutt connecting to? > > > > For smtp? > > > > -- > > Larry Rosenman http://www.lerctr.org/~ler > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > On 7/11/18, 4:47 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > when using neomutt for the same system user, I can send and receive > > emails to everywhere > > > > Also, when installing roundcube, the test email function did succeed! > > > > So my SMTP server should be fine? > > > > > > On Wed, Jul 11, 2018 at 11:45 PM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > Your smtp server isn't listening. > > > > > > Is it running, and binding to 127.0.0.1? > > > > > > > > > -- > > > Larry Rosenman http://www.lerctr.org/~ler > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > On 7/11/18, 4:44 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > connection refused! But why? > > > > > > On Wed, Jul 11, 2018 at 11:40 PM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > What happens if you telnet 127.0.0.1 587? > > > > > > > > -- > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > On 7/11/18, 4:39 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > > > 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 <larryrtx@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: larryrtx@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-bounces@dovecot.org on behalf of gvgter@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 > > > > > > > > > > > > > > >
I don't see the expected new / cur / tmp dirs.. Or that didn't do the recursive.
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 5:02 PM, "Teno Deuter" gvgter@googlemail.com wrote:
drwxr-xr-x 5 512 Jun 26 21:41 Trash
drwxr-xr-x 5 512 Jun 26 21:41 Spam
drwxr-xr-x 5 512 Jun 26 21:41 Sent
drwx------ 6 512 Jul 7 00:23 Inbox
drwxr-xr-x 5 512 Jun 26 21:41 Drafts
On Thu, Jul 12, 2018 at 12:00 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> What does an ls -lr of /var/mail/<user> look like?
>
>
> --
> Larry Rosenman http://www.lerctr.org/~ler
> Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
>
> On 7/11/18, 4:58 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
>
> forgot to also ask about the maildir set up I have:
>
> mail_location = maildir:~/var/mail/%u:LAYOUT=fs
>
> for the following structure:
>
> /var/mail/[user]/Drafts
> Inbox
> Sent
> Spam
> Trash
>
> but should be wrong cause when I log in into roundcube I can't see the
> stored emails. If I completely skip 'mail_location' then it does show
> the mails which are already in!
>
> Thank you
>
> On Wed, Jul 11, 2018 at 11:51 PM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > Yep, you (probably) need to configure openSMTPD to listen on 587
> >
> > (I run exim, so I can't help with that).
> >
> > --
> > Larry Rosenman http://www.lerctr.org/~ler
> > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> >
> > On 7/11/18, 4:50 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> >
> > I am using OpenSMTPD. The OpenBSD 6.3 default one.
> >
> > Also, when telnet to 127.0.0.1 25 I get a response! So must be
> > something with 587?
> >
> > On Wed, Jul 11, 2018 at 11:47 PM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > What's your neomutt connecting to?
> > >
> > > For smtp?
> > >
> > > --
> > > Larry Rosenman http://www.lerctr.org/~ler
> > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > >
> > > On 7/11/18, 4:47 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > >
> > > when using neomutt for the same system user, I can send and receive
> > > emails to everywhere
> > >
> > > Also, when installing roundcube, the test email function did succeed!
> > >
> > > So my SMTP server should be fine?
> > >
> > >
> > > On Wed, Jul 11, 2018 at 11:45 PM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > Your smtp server isn't listening.
> > > >
> > > > Is it running, and binding to 127.0.0.1?
> > > >
> > > >
> > > > --
> > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > >
> > > > On 7/11/18, 4:44 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > >
> > > > connection refused! But why?
> > > >
> > > > On Wed, Jul 11, 2018 at 11:40 PM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > > What happens if you telnet 127.0.0.1 587?
> > > > >
> > > > > --
> > > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > > >
> > > > > On 7/11/18, 4:39 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > > >
> > > > > 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 <larryrtx@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: larryrtx@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-bounces@dovecot.org on behalf of gvgter@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
> > > > > >
> > > > >
> > > >
> > >
> >
>
in:
/var/mail/[user]/Inbox
drwxr-xr-x 2 512 Jul 5 01:30 tmp -rw------- 1 5 Jul 7 00:00 subscriptions drwxr-xr-x 2 512 Jul 7 00:00 new -rw------- 1 24 Jul 7 00:00 dovecot.mailbox.log -rw------- 1 1988 Jul 7 00:22 dovecot.index.log -rw------- 1 4568 Jul 11 19:34 dovecot.index.cache -r--r--r-- 1 0 Jul 7 00:00 dovecot-uidvalidity.5b3fe690 -rw------- 1 8 Jul 7 00:01 dovecot-uidvalidity -rw------- 1 261 Jul 7 00:22 dovecot-uidlist drwxr-xr-x 2 512 Jul 7 00:22 cur drwx------ 5 512 Jul 7 00:01 .Sent
On Thu, Jul 12, 2018 at 12:03 AM, Larry Rosenman larryrtx@gmail.com wrote:
I don't see the expected new / cur / tmp dirs.. Or that didn't do the recursive.
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 5:02 PM, "Teno Deuter" gvgter@googlemail.com wrote:
drwxr-xr-x 5 512 Jun 26 21:41 Trash drwxr-xr-x 5 512 Jun 26 21:41 Spam drwxr-xr-x 5 512 Jun 26 21:41 Sent drwx------ 6 512 Jul 7 00:23 Inbox drwxr-xr-x 5 512 Jun 26 21:41 Drafts On Thu, Jul 12, 2018 at 12:00 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > What does an ls -lr of /var/mail/<user> look like? > > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > On 7/11/18, 4:58 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > forgot to also ask about the maildir set up I have: > > mail_location = maildir:~/var/mail/%u:LAYOUT=fs > > for the following structure: > > /var/mail/[user]/Drafts > Inbox > Sent > Spam > Trash > > but should be wrong cause when I log in into roundcube I can't see the > stored emails. If I completely skip 'mail_location' then it does show > the mails which are already in! > > Thank you > > On Wed, Jul 11, 2018 at 11:51 PM, Larry Rosenman <larryrtx@gmail.com> wrote: > > Yep, you (probably) need to configure openSMTPD to listen on 587 > > > > (I run exim, so I can't help with that). > > > > -- > > Larry Rosenman http://www.lerctr.org/~ler > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > On 7/11/18, 4:50 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > I am using OpenSMTPD. The OpenBSD 6.3 default one. > > > > Also, when telnet to 127.0.0.1 25 I get a response! So must be > > something with 587? > > > > On Wed, Jul 11, 2018 at 11:47 PM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > What's your neomutt connecting to? > > > > > > For smtp? > > > > > > -- > > > Larry Rosenman http://www.lerctr.org/~ler > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > On 7/11/18, 4:47 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > when using neomutt for the same system user, I can send and receive > > > emails to everywhere > > > > > > Also, when installing roundcube, the test email function did succeed! > > > > > > So my SMTP server should be fine? > > > > > > > > > On Wed, Jul 11, 2018 at 11:45 PM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > Your smtp server isn't listening. > > > > > > > > Is it running, and binding to 127.0.0.1? > > > > > > > > > > > > -- > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > On 7/11/18, 4:44 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > > > connection refused! But why? > > > > > > > > On Wed, Jul 11, 2018 at 11:40 PM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > > What happens if you telnet 127.0.0.1 587? > > > > > > > > > > -- > > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > > > On 7/11/18, 4:39 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > > > > > 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 <larryrtx@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: larryrtx@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-bounces@dovecot.org on behalf of gvgter@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 > > > > > > > > > > > > > > > > > > > > >
Can you see the mails with neomutt?
If so, the error is on the roundcube side.
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 5:09 PM, "Teno Deuter" gvgter@googlemail.com wrote:
in:
/var/mail/[user]/Inbox
drwxr-xr-x 2 512 Jul 5 01:30 tmp
-rw------- 1 5 Jul 7 00:00 subscriptions
drwxr-xr-x 2 512 Jul 7 00:00 new
-rw------- 1 24 Jul 7 00:00 dovecot.mailbox.log
-rw------- 1 1988 Jul 7 00:22 dovecot.index.log
-rw------- 1 4568 Jul 11 19:34 dovecot.index.cache
-r--r--r-- 1 0 Jul 7 00:00 dovecot-uidvalidity.5b3fe690
-rw------- 1 8 Jul 7 00:01 dovecot-uidvalidity
-rw------- 1 261 Jul 7 00:22 dovecot-uidlist
drwxr-xr-x 2 512 Jul 7 00:22 cur
drwx------ 5 512 Jul 7 00:01 .Sent
On Thu, Jul 12, 2018 at 12:03 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> I don't see the expected new / cur / tmp dirs..
> Or that didn't do the recursive.
>
>
>
> --
> Larry Rosenman http://www.lerctr.org/~ler
> Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
>
> On 7/11/18, 5:02 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
>
> drwxr-xr-x 5 512 Jun 26 21:41 Trash
> drwxr-xr-x 5 512 Jun 26 21:41 Spam
> drwxr-xr-x 5 512 Jun 26 21:41 Sent
> drwx------ 6 512 Jul 7 00:23 Inbox
> drwxr-xr-x 5 512 Jun 26 21:41 Drafts
>
> On Thu, Jul 12, 2018 at 12:00 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > What does an ls -lr of /var/mail/<user> look like?
> >
> >
> > --
> > Larry Rosenman http://www.lerctr.org/~ler
> > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> >
> > On 7/11/18, 4:58 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> >
> > forgot to also ask about the maildir set up I have:
> >
> > mail_location = maildir:~/var/mail/%u:LAYOUT=fs
> >
> > for the following structure:
> >
> > /var/mail/[user]/Drafts
> > Inbox
> > Sent
> > Spam
> > Trash
> >
> > but should be wrong cause when I log in into roundcube I can't see the
> > stored emails. If I completely skip 'mail_location' then it does show
> > the mails which are already in!
> >
> > Thank you
> >
> > On Wed, Jul 11, 2018 at 11:51 PM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > Yep, you (probably) need to configure openSMTPD to listen on 587
> > >
> > > (I run exim, so I can't help with that).
> > >
> > > --
> > > Larry Rosenman http://www.lerctr.org/~ler
> > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > >
> > > On 7/11/18, 4:50 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > >
> > > I am using OpenSMTPD. The OpenBSD 6.3 default one.
> > >
> > > Also, when telnet to 127.0.0.1 25 I get a response! So must be
> > > something with 587?
> > >
> > > On Wed, Jul 11, 2018 at 11:47 PM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > What's your neomutt connecting to?
> > > >
> > > > For smtp?
> > > >
> > > > --
> > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > >
> > > > On 7/11/18, 4:47 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > >
> > > > when using neomutt for the same system user, I can send and receive
> > > > emails to everywhere
> > > >
> > > > Also, when installing roundcube, the test email function did succeed!
> > > >
> > > > So my SMTP server should be fine?
> > > >
> > > >
> > > > On Wed, Jul 11, 2018 at 11:45 PM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > > Your smtp server isn't listening.
> > > > >
> > > > > Is it running, and binding to 127.0.0.1?
> > > > >
> > > > >
> > > > > --
> > > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > > >
> > > > > On 7/11/18, 4:44 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > > >
> > > > > connection refused! But why?
> > > > >
> > > > > On Wed, Jul 11, 2018 at 11:40 PM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > > > What happens if you telnet 127.0.0.1 587?
> > > > > >
> > > > > > --
> > > > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > > > >
> > > > > > On 7/11/18, 4:39 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > > > >
> > > > > > 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 <larryrtx@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: larryrtx@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-bounces@dovecot.org on behalf of gvgter@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
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
I can see the mails with neomutt
I can also see them with roundcube if I skip in dovecot the 'mail_location = maildir:~/var/mail/%u:LAYOUT=fs'
On Thu, Jul 12, 2018 at 12:11 AM, Larry Rosenman larryrtx@gmail.com wrote:
Can you see the mails with neomutt?
If so, the error is on the roundcube side.
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 5:09 PM, "Teno Deuter" gvgter@googlemail.com wrote:
in: /var/mail/[user]/Inbox drwxr-xr-x 2 512 Jul 5 01:30 tmp -rw------- 1 5 Jul 7 00:00 subscriptions drwxr-xr-x 2 512 Jul 7 00:00 new -rw------- 1 24 Jul 7 00:00 dovecot.mailbox.log -rw------- 1 1988 Jul 7 00:22 dovecot.index.log -rw------- 1 4568 Jul 11 19:34 dovecot.index.cache -r--r--r-- 1 0 Jul 7 00:00 dovecot-uidvalidity.5b3fe690 -rw------- 1 8 Jul 7 00:01 dovecot-uidvalidity -rw------- 1 261 Jul 7 00:22 dovecot-uidlist drwxr-xr-x 2 512 Jul 7 00:22 cur drwx------ 5 512 Jul 7 00:01 .Sent On Thu, Jul 12, 2018 at 12:03 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > I don't see the expected new / cur / tmp dirs.. > Or that didn't do the recursive. > > > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > On 7/11/18, 5:02 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > drwxr-xr-x 5 512 Jun 26 21:41 Trash > drwxr-xr-x 5 512 Jun 26 21:41 Spam > drwxr-xr-x 5 512 Jun 26 21:41 Sent > drwx------ 6 512 Jul 7 00:23 Inbox > drwxr-xr-x 5 512 Jun 26 21:41 Drafts > > On Thu, Jul 12, 2018 at 12:00 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > What does an ls -lr of /var/mail/<user> look like? > > > > > > -- > > Larry Rosenman http://www.lerctr.org/~ler > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > On 7/11/18, 4:58 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > forgot to also ask about the maildir set up I have: > > > > mail_location = maildir:~/var/mail/%u:LAYOUT=fs > > > > for the following structure: > > > > /var/mail/[user]/Drafts > > Inbox > > Sent > > Spam > > Trash > > > > but should be wrong cause when I log in into roundcube I can't see the > > stored emails. If I completely skip 'mail_location' then it does show > > the mails which are already in! > > > > Thank you > > > > On Wed, Jul 11, 2018 at 11:51 PM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > Yep, you (probably) need to configure openSMTPD to listen on 587 > > > > > > (I run exim, so I can't help with that). > > > > > > -- > > > Larry Rosenman http://www.lerctr.org/~ler > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > On 7/11/18, 4:50 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > I am using OpenSMTPD. The OpenBSD 6.3 default one. > > > > > > Also, when telnet to 127.0.0.1 25 I get a response! So must be > > > something with 587? > > > > > > On Wed, Jul 11, 2018 at 11:47 PM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > What's your neomutt connecting to? > > > > > > > > For smtp? > > > > > > > > -- > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > On 7/11/18, 4:47 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > > > when using neomutt for the same system user, I can send and receive > > > > emails to everywhere > > > > > > > > Also, when installing roundcube, the test email function did succeed! > > > > > > > > So my SMTP server should be fine? > > > > > > > > > > > > On Wed, Jul 11, 2018 at 11:45 PM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > > Your smtp server isn't listening. > > > > > > > > > > Is it running, and binding to 127.0.0.1? > > > > > > > > > > > > > > > -- > > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > > > On 7/11/18, 4:44 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > > > > > connection refused! But why? > > > > > > > > > > On Wed, Jul 11, 2018 at 11:40 PM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > > > What happens if you telnet 127.0.0.1 587? > > > > > > > > > > > > -- > > > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > > > > > On 7/11/18, 4:39 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > > > > > > > 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 <larryrtx@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: larryrtx@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-bounces@dovecot.org on behalf of gvgter@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 > > > > > > > > > > > > > > > > > > > > > > > > > > > >
Is the user subscribed to the mailboxes?
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 5:14 PM, "Teno Deuter" gvgter@googlemail.com wrote:
I can see the mails with neomutt
I can also see them with roundcube if I skip in dovecot the
'mail_location = maildir:~/var/mail/%u:LAYOUT=fs'
On Thu, Jul 12, 2018 at 12:11 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> Can you see the mails with neomutt?
>
> If so, the error is on the roundcube side.
>
>
> --
> Larry Rosenman http://www.lerctr.org/~ler
> Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
>
> On 7/11/18, 5:09 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
>
> in:
>
> /var/mail/[user]/Inbox
>
> drwxr-xr-x 2 512 Jul 5 01:30 tmp
> -rw------- 1 5 Jul 7 00:00 subscriptions
> drwxr-xr-x 2 512 Jul 7 00:00 new
> -rw------- 1 24 Jul 7 00:00 dovecot.mailbox.log
> -rw------- 1 1988 Jul 7 00:22 dovecot.index.log
> -rw------- 1 4568 Jul 11 19:34 dovecot.index.cache
> -r--r--r-- 1 0 Jul 7 00:00 dovecot-uidvalidity.5b3fe690
> -rw------- 1 8 Jul 7 00:01 dovecot-uidvalidity
> -rw------- 1 261 Jul 7 00:22 dovecot-uidlist
> drwxr-xr-x 2 512 Jul 7 00:22 cur
> drwx------ 5 512 Jul 7 00:01 .Sent
>
>
>
> On Thu, Jul 12, 2018 at 12:03 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > I don't see the expected new / cur / tmp dirs..
> > Or that didn't do the recursive.
> >
> >
> >
> > --
> > Larry Rosenman http://www.lerctr.org/~ler
> > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> >
> > On 7/11/18, 5:02 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> >
> > drwxr-xr-x 5 512 Jun 26 21:41 Trash
> > drwxr-xr-x 5 512 Jun 26 21:41 Spam
> > drwxr-xr-x 5 512 Jun 26 21:41 Sent
> > drwx------ 6 512 Jul 7 00:23 Inbox
> > drwxr-xr-x 5 512 Jun 26 21:41 Drafts
> >
> > On Thu, Jul 12, 2018 at 12:00 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > What does an ls -lr of /var/mail/<user> look like?
> > >
> > >
> > > --
> > > Larry Rosenman http://www.lerctr.org/~ler
> > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > >
> > > On 7/11/18, 4:58 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > >
> > > forgot to also ask about the maildir set up I have:
> > >
> > > mail_location = maildir:~/var/mail/%u:LAYOUT=fs
> > >
> > > for the following structure:
> > >
> > > /var/mail/[user]/Drafts
> > > Inbox
> > > Sent
> > > Spam
> > > Trash
> > >
> > > but should be wrong cause when I log in into roundcube I can't see the
> > > stored emails. If I completely skip 'mail_location' then it does show
> > > the mails which are already in!
> > >
> > > Thank you
> > >
> > > On Wed, Jul 11, 2018 at 11:51 PM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > Yep, you (probably) need to configure openSMTPD to listen on 587
> > > >
> > > > (I run exim, so I can't help with that).
> > > >
> > > > --
> > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > >
> > > > On 7/11/18, 4:50 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > >
> > > > I am using OpenSMTPD. The OpenBSD 6.3 default one.
> > > >
> > > > Also, when telnet to 127.0.0.1 25 I get a response! So must be
> > > > something with 587?
> > > >
> > > > On Wed, Jul 11, 2018 at 11:47 PM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > > What's your neomutt connecting to?
> > > > >
> > > > > For smtp?
> > > > >
> > > > > --
> > > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > > >
> > > > > On 7/11/18, 4:47 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > > >
> > > > > when using neomutt for the same system user, I can send and receive
> > > > > emails to everywhere
> > > > >
> > > > > Also, when installing roundcube, the test email function did succeed!
> > > > >
> > > > > So my SMTP server should be fine?
> > > > >
> > > > >
> > > > > On Wed, Jul 11, 2018 at 11:45 PM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > > > Your smtp server isn't listening.
> > > > > >
> > > > > > Is it running, and binding to 127.0.0.1?
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > > > >
> > > > > > On 7/11/18, 4:44 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > > > >
> > > > > > connection refused! But why?
> > > > > >
> > > > > > On Wed, Jul 11, 2018 at 11:40 PM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > > > > What happens if you telnet 127.0.0.1 587?
> > > > > > >
> > > > > > > --
> > > > > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > > > > >
> > > > > > > On 7/11/18, 4:39 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > > > > >
> > > > > > > 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 <larryrtx@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: larryrtx@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-bounces@dovecot.org on behalf of gvgter@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
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
what do you mean by 'suscribed'?
On Thu, Jul 12, 2018 at 12:21 AM, Larry Rosenman larryrtx@gmail.com wrote:
Is the user subscribed to the mailboxes?
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 5:14 PM, "Teno Deuter" gvgter@googlemail.com wrote:
I can see the mails with neomutt I can also see them with roundcube if I skip in dovecot the 'mail_location = maildir:~/var/mail/%u:LAYOUT=fs' On Thu, Jul 12, 2018 at 12:11 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > Can you see the mails with neomutt? > > If so, the error is on the roundcube side. > > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > On 7/11/18, 5:09 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > in: > > /var/mail/[user]/Inbox > > drwxr-xr-x 2 512 Jul 5 01:30 tmp > -rw------- 1 5 Jul 7 00:00 subscriptions > drwxr-xr-x 2 512 Jul 7 00:00 new > -rw------- 1 24 Jul 7 00:00 dovecot.mailbox.log > -rw------- 1 1988 Jul 7 00:22 dovecot.index.log > -rw------- 1 4568 Jul 11 19:34 dovecot.index.cache > -r--r--r-- 1 0 Jul 7 00:00 dovecot-uidvalidity.5b3fe690 > -rw------- 1 8 Jul 7 00:01 dovecot-uidvalidity > -rw------- 1 261 Jul 7 00:22 dovecot-uidlist > drwxr-xr-x 2 512 Jul 7 00:22 cur > drwx------ 5 512 Jul 7 00:01 .Sent > > > > On Thu, Jul 12, 2018 at 12:03 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > I don't see the expected new / cur / tmp dirs.. > > Or that didn't do the recursive. > > > > > > > > -- > > Larry Rosenman http://www.lerctr.org/~ler > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > On 7/11/18, 5:02 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > drwxr-xr-x 5 512 Jun 26 21:41 Trash > > drwxr-xr-x 5 512 Jun 26 21:41 Spam > > drwxr-xr-x 5 512 Jun 26 21:41 Sent > > drwx------ 6 512 Jul 7 00:23 Inbox > > drwxr-xr-x 5 512 Jun 26 21:41 Drafts > > > > On Thu, Jul 12, 2018 at 12:00 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > What does an ls -lr of /var/mail/<user> look like? > > > > > > > > > -- > > > Larry Rosenman http://www.lerctr.org/~ler > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > On 7/11/18, 4:58 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > forgot to also ask about the maildir set up I have: > > > > > > mail_location = maildir:~/var/mail/%u:LAYOUT=fs > > > > > > for the following structure: > > > > > > /var/mail/[user]/Drafts > > > Inbox > > > Sent > > > Spam > > > Trash > > > > > > but should be wrong cause when I log in into roundcube I can't see the > > > stored emails. If I completely skip 'mail_location' then it does show > > > the mails which are already in! > > > > > > Thank you > > > > > > On Wed, Jul 11, 2018 at 11:51 PM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > Yep, you (probably) need to configure openSMTPD to listen on 587 > > > > > > > > (I run exim, so I can't help with that). > > > > > > > > -- > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > On 7/11/18, 4:50 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > > > I am using OpenSMTPD. The OpenBSD 6.3 default one. > > > > > > > > Also, when telnet to 127.0.0.1 25 I get a response! So must be > > > > something with 587? > > > > > > > > On Wed, Jul 11, 2018 at 11:47 PM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > > What's your neomutt connecting to? > > > > > > > > > > For smtp? > > > > > > > > > > -- > > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > > > On 7/11/18, 4:47 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > > > > > when using neomutt for the same system user, I can send and receive > > > > > emails to everywhere > > > > > > > > > > Also, when installing roundcube, the test email function did succeed! > > > > > > > > > > So my SMTP server should be fine? > > > > > > > > > > > > > > > On Wed, Jul 11, 2018 at 11:45 PM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > > > Your smtp server isn't listening. > > > > > > > > > > > > Is it running, and binding to 127.0.0.1? > > > > > > > > > > > > > > > > > > -- > > > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > > > > > On 7/11/18, 4:44 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > > > > > > > connection refused! But why? > > > > > > > > > > > > On Wed, Jul 11, 2018 at 11:40 PM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > > > > What happens if you telnet 127.0.0.1 587? > > > > > > > > > > > > > > -- > > > > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > > > > > > > On 7/11/18, 4:39 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > > > > > > > > > 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 <larryrtx@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: larryrtx@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-bounces@dovecot.org on behalf of gvgter@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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
There is a concept in IMAP of mailbox subscription. This is the default list of mailboxes to be shown.
doveadm mailbox list -s
(full command syntax on the doveadm-mailbox manpage)
That will list the subscribed mailboxes for the logged in user.
There are command-line switches for which user to list, etc.
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 5:25 PM, "Teno Deuter" gvgter@googlemail.com wrote:
what do you mean by 'suscribed'?
On Thu, Jul 12, 2018 at 12:21 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> Is the user subscribed to the mailboxes?
>
> --
> Larry Rosenman http://www.lerctr.org/~ler
> Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
>
> On 7/11/18, 5:14 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
>
> I can see the mails with neomutt
>
> I can also see them with roundcube if I skip in dovecot the
> 'mail_location = maildir:~/var/mail/%u:LAYOUT=fs'
>
> On Thu, Jul 12, 2018 at 12:11 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > Can you see the mails with neomutt?
> >
> > If so, the error is on the roundcube side.
> >
> >
> > --
> > Larry Rosenman http://www.lerctr.org/~ler
> > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> >
> > On 7/11/18, 5:09 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> >
> > in:
> >
> > /var/mail/[user]/Inbox
> >
> > drwxr-xr-x 2 512 Jul 5 01:30 tmp
> > -rw------- 1 5 Jul 7 00:00 subscriptions
> > drwxr-xr-x 2 512 Jul 7 00:00 new
> > -rw------- 1 24 Jul 7 00:00 dovecot.mailbox.log
> > -rw------- 1 1988 Jul 7 00:22 dovecot.index.log
> > -rw------- 1 4568 Jul 11 19:34 dovecot.index.cache
> > -r--r--r-- 1 0 Jul 7 00:00 dovecot-uidvalidity.5b3fe690
> > -rw------- 1 8 Jul 7 00:01 dovecot-uidvalidity
> > -rw------- 1 261 Jul 7 00:22 dovecot-uidlist
> > drwxr-xr-x 2 512 Jul 7 00:22 cur
> > drwx------ 5 512 Jul 7 00:01 .Sent
> >
> >
> >
> > On Thu, Jul 12, 2018 at 12:03 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > I don't see the expected new / cur / tmp dirs..
> > > Or that didn't do the recursive.
> > >
> > >
> > >
> > > --
> > > Larry Rosenman http://www.lerctr.org/~ler
> > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > >
> > > On 7/11/18, 5:02 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > >
> > > drwxr-xr-x 5 512 Jun 26 21:41 Trash
> > > drwxr-xr-x 5 512 Jun 26 21:41 Spam
> > > drwxr-xr-x 5 512 Jun 26 21:41 Sent
> > > drwx------ 6 512 Jul 7 00:23 Inbox
> > > drwxr-xr-x 5 512 Jun 26 21:41 Drafts
> > >
> > > On Thu, Jul 12, 2018 at 12:00 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > What does an ls -lr of /var/mail/<user> look like?
> > > >
> > > >
> > > > --
> > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > >
> > > > On 7/11/18, 4:58 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > >
> > > > forgot to also ask about the maildir set up I have:
> > > >
> > > > mail_location = maildir:~/var/mail/%u:LAYOUT=fs
> > > >
> > > > for the following structure:
> > > >
> > > > /var/mail/[user]/Drafts
> > > > Inbox
> > > > Sent
> > > > Spam
> > > > Trash
> > > >
> > > > but should be wrong cause when I log in into roundcube I can't see the
> > > > stored emails. If I completely skip 'mail_location' then it does show
> > > > the mails which are already in!
> > > >
> > > > Thank you
> > > >
> > > > On Wed, Jul 11, 2018 at 11:51 PM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > > Yep, you (probably) need to configure openSMTPD to listen on 587
> > > > >
> > > > > (I run exim, so I can't help with that).
> > > > >
> > > > > --
> > > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > > >
> > > > > On 7/11/18, 4:50 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > > >
> > > > > I am using OpenSMTPD. The OpenBSD 6.3 default one.
> > > > >
> > > > > Also, when telnet to 127.0.0.1 25 I get a response! So must be
> > > > > something with 587?
> > > > >
> > > > > On Wed, Jul 11, 2018 at 11:47 PM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > > > What's your neomutt connecting to?
> > > > > >
> > > > > > For smtp?
> > > > > >
> > > > > > --
> > > > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > > > >
> > > > > > On 7/11/18, 4:47 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > > > >
> > > > > > when using neomutt for the same system user, I can send and receive
> > > > > > emails to everywhere
> > > > > >
> > > > > > Also, when installing roundcube, the test email function did succeed!
> > > > > >
> > > > > > So my SMTP server should be fine?
> > > > > >
> > > > > >
> > > > > > On Wed, Jul 11, 2018 at 11:45 PM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > > > > Your smtp server isn't listening.
> > > > > > >
> > > > > > > Is it running, and binding to 127.0.0.1?
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > > > > >
> > > > > > > On 7/11/18, 4:44 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > > > > >
> > > > > > > connection refused! But why?
> > > > > > >
> > > > > > > On Wed, Jul 11, 2018 at 11:40 PM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > > > > > What happens if you telnet 127.0.0.1 587?
> > > > > > > >
> > > > > > > > --
> > > > > > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > > > > > >
> > > > > > > > On 7/11/18, 4:39 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > > > > > >
> > > > > > > > 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 <larryrtx@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: larryrtx@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-bounces@dovecot.org on behalf of gvgter@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
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
this command produces:
Sent
only!
On Thu, Jul 12, 2018 at 12:29 AM, Larry Rosenman larryrtx@gmail.com wrote:
There is a concept in IMAP of mailbox subscription. This is the default list of mailboxes to be shown.
doveadm mailbox list -s
(full command syntax on the doveadm-mailbox manpage)
That will list the subscribed mailboxes for the logged in user.
There are command-line switches for which user to list, etc.
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 5:25 PM, "Teno Deuter" gvgter@googlemail.com wrote:
what do you mean by 'suscribed'? On Thu, Jul 12, 2018 at 12:21 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > Is the user subscribed to the mailboxes? > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > On 7/11/18, 5:14 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > I can see the mails with neomutt > > I can also see them with roundcube if I skip in dovecot the > 'mail_location = maildir:~/var/mail/%u:LAYOUT=fs' > > On Thu, Jul 12, 2018 at 12:11 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > Can you see the mails with neomutt? > > > > If so, the error is on the roundcube side. > > > > > > -- > > Larry Rosenman http://www.lerctr.org/~ler > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > On 7/11/18, 5:09 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > in: > > > > /var/mail/[user]/Inbox > > > > drwxr-xr-x 2 512 Jul 5 01:30 tmp > > -rw------- 1 5 Jul 7 00:00 subscriptions > > drwxr-xr-x 2 512 Jul 7 00:00 new > > -rw------- 1 24 Jul 7 00:00 dovecot.mailbox.log > > -rw------- 1 1988 Jul 7 00:22 dovecot.index.log > > -rw------- 1 4568 Jul 11 19:34 dovecot.index.cache > > -r--r--r-- 1 0 Jul 7 00:00 dovecot-uidvalidity.5b3fe690 > > -rw------- 1 8 Jul 7 00:01 dovecot-uidvalidity > > -rw------- 1 261 Jul 7 00:22 dovecot-uidlist > > drwxr-xr-x 2 512 Jul 7 00:22 cur > > drwx------ 5 512 Jul 7 00:01 .Sent > > > > > > > > On Thu, Jul 12, 2018 at 12:03 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > I don't see the expected new / cur / tmp dirs.. > > > Or that didn't do the recursive. > > > > > > > > > > > > -- > > > Larry Rosenman http://www.lerctr.org/~ler > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > On 7/11/18, 5:02 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > drwxr-xr-x 5 512 Jun 26 21:41 Trash > > > drwxr-xr-x 5 512 Jun 26 21:41 Spam > > > drwxr-xr-x 5 512 Jun 26 21:41 Sent > > > drwx------ 6 512 Jul 7 00:23 Inbox > > > drwxr-xr-x 5 512 Jun 26 21:41 Drafts > > > > > > On Thu, Jul 12, 2018 at 12:00 AM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > What does an ls -lr of /var/mail/<user> look like? > > > > > > > > > > > > -- > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > On 7/11/18, 4:58 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > > > forgot to also ask about the maildir set up I have: > > > > > > > > mail_location = maildir:~/var/mail/%u:LAYOUT=fs > > > > > > > > for the following structure: > > > > > > > > /var/mail/[user]/Drafts > > > > Inbox > > > > Sent > > > > Spam > > > > Trash > > > > > > > > but should be wrong cause when I log in into roundcube I can't see the > > > > stored emails. If I completely skip 'mail_location' then it does show > > > > the mails which are already in! > > > > > > > > Thank you > > > > > > > > On Wed, Jul 11, 2018 at 11:51 PM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > > Yep, you (probably) need to configure openSMTPD to listen on 587 > > > > > > > > > > (I run exim, so I can't help with that). > > > > > > > > > > -- > > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > > > On 7/11/18, 4:50 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > > > > > I am using OpenSMTPD. The OpenBSD 6.3 default one. > > > > > > > > > > Also, when telnet to 127.0.0.1 25 I get a response! So must be > > > > > something with 587? > > > > > > > > > > On Wed, Jul 11, 2018 at 11:47 PM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > > > What's your neomutt connecting to? > > > > > > > > > > > > For smtp? > > > > > > > > > > > > -- > > > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > > > > > On 7/11/18, 4:47 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > > > > > > > when using neomutt for the same system user, I can send and receive > > > > > > emails to everywhere > > > > > > > > > > > > Also, when installing roundcube, the test email function did succeed! > > > > > > > > > > > > So my SMTP server should be fine? > > > > > > > > > > > > > > > > > > On Wed, Jul 11, 2018 at 11:45 PM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > > > > Your smtp server isn't listening. > > > > > > > > > > > > > > Is it running, and binding to 127.0.0.1? > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > > > > > > > On 7/11/18, 4:44 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > > > > > > > > > connection refused! But why? > > > > > > > > > > > > > > On Wed, Jul 11, 2018 at 11:40 PM, Larry Rosenman <larryrtx@gmail.com> wrote: > > > > > > > > What happens if you telnet 127.0.0.1 587? > > > > > > > > > > > > > > > > -- > > > > > > > > Larry Rosenman http://www.lerctr.org/~ler > > > > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com > > > > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106 > > > > > > > > > > > > > > > > On 7/11/18, 4:39 PM, "Teno Deuter" <gvgter@googlemail.com> wrote: > > > > > > > > > > > > > > > > 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 <larryrtx@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: larryrtx@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-bounces@dovecot.org on behalf of gvgter@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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
So, issue doveadm mailbox -s <mailbox> for each mailbox you want them to see by default.
(roundcube has a way to do this as well, from the Star menu on the far left bottom, then manage folders).
-- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
On 7/11/18, 5:31 PM, "Teno Deuter" gvgter@googlemail.com wrote:
this command produces:
Sent
only!
On Thu, Jul 12, 2018 at 12:29 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> There is a concept in IMAP of mailbox subscription. This is the default list of mailboxes to be shown.
>
> doveadm mailbox list -s
>
> (full command syntax on the doveadm-mailbox manpage)
>
> That will list the subscribed mailboxes for the logged in user.
>
> There are command-line switches for which user to list, etc.
>
>
> --
> Larry Rosenman http://www.lerctr.org/~ler
> Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
>
> On 7/11/18, 5:25 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
>
> what do you mean by 'suscribed'?
>
> On Thu, Jul 12, 2018 at 12:21 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > Is the user subscribed to the mailboxes?
> >
> > --
> > Larry Rosenman http://www.lerctr.org/~ler
> > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> >
> > On 7/11/18, 5:14 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> >
> > I can see the mails with neomutt
> >
> > I can also see them with roundcube if I skip in dovecot the
> > 'mail_location = maildir:~/var/mail/%u:LAYOUT=fs'
> >
> > On Thu, Jul 12, 2018 at 12:11 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > Can you see the mails with neomutt?
> > >
> > > If so, the error is on the roundcube side.
> > >
> > >
> > > --
> > > Larry Rosenman http://www.lerctr.org/~ler
> > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > >
> > > On 7/11/18, 5:09 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > >
> > > in:
> > >
> > > /var/mail/[user]/Inbox
> > >
> > > drwxr-xr-x 2 512 Jul 5 01:30 tmp
> > > -rw------- 1 5 Jul 7 00:00 subscriptions
> > > drwxr-xr-x 2 512 Jul 7 00:00 new
> > > -rw------- 1 24 Jul 7 00:00 dovecot.mailbox.log
> > > -rw------- 1 1988 Jul 7 00:22 dovecot.index.log
> > > -rw------- 1 4568 Jul 11 19:34 dovecot.index.cache
> > > -r--r--r-- 1 0 Jul 7 00:00 dovecot-uidvalidity.5b3fe690
> > > -rw------- 1 8 Jul 7 00:01 dovecot-uidvalidity
> > > -rw------- 1 261 Jul 7 00:22 dovecot-uidlist
> > > drwxr-xr-x 2 512 Jul 7 00:22 cur
> > > drwx------ 5 512 Jul 7 00:01 .Sent
> > >
> > >
> > >
> > > On Thu, Jul 12, 2018 at 12:03 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > I don't see the expected new / cur / tmp dirs..
> > > > Or that didn't do the recursive.
> > > >
> > > >
> > > >
> > > > --
> > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > >
> > > > On 7/11/18, 5:02 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > >
> > > > drwxr-xr-x 5 512 Jun 26 21:41 Trash
> > > > drwxr-xr-x 5 512 Jun 26 21:41 Spam
> > > > drwxr-xr-x 5 512 Jun 26 21:41 Sent
> > > > drwx------ 6 512 Jul 7 00:23 Inbox
> > > > drwxr-xr-x 5 512 Jun 26 21:41 Drafts
> > > >
> > > > On Thu, Jul 12, 2018 at 12:00 AM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > > What does an ls -lr of /var/mail/<user> look like?
> > > > >
> > > > >
> > > > > --
> > > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > > >
> > > > > On 7/11/18, 4:58 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > > >
> > > > > forgot to also ask about the maildir set up I have:
> > > > >
> > > > > mail_location = maildir:~/var/mail/%u:LAYOUT=fs
> > > > >
> > > > > for the following structure:
> > > > >
> > > > > /var/mail/[user]/Drafts
> > > > > Inbox
> > > > > Sent
> > > > > Spam
> > > > > Trash
> > > > >
> > > > > but should be wrong cause when I log in into roundcube I can't see the
> > > > > stored emails. If I completely skip 'mail_location' then it does show
> > > > > the mails which are already in!
> > > > >
> > > > > Thank you
> > > > >
> > > > > On Wed, Jul 11, 2018 at 11:51 PM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > > > Yep, you (probably) need to configure openSMTPD to listen on 587
> > > > > >
> > > > > > (I run exim, so I can't help with that).
> > > > > >
> > > > > > --
> > > > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > > > >
> > > > > > On 7/11/18, 4:50 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > > > >
> > > > > > I am using OpenSMTPD. The OpenBSD 6.3 default one.
> > > > > >
> > > > > > Also, when telnet to 127.0.0.1 25 I get a response! So must be
> > > > > > something with 587?
> > > > > >
> > > > > > On Wed, Jul 11, 2018 at 11:47 PM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > > > > What's your neomutt connecting to?
> > > > > > >
> > > > > > > For smtp?
> > > > > > >
> > > > > > > --
> > > > > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > > > > >
> > > > > > > On 7/11/18, 4:47 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > > > > >
> > > > > > > when using neomutt for the same system user, I can send and receive
> > > > > > > emails to everywhere
> > > > > > >
> > > > > > > Also, when installing roundcube, the test email function did succeed!
> > > > > > >
> > > > > > > So my SMTP server should be fine?
> > > > > > >
> > > > > > >
> > > > > > > On Wed, Jul 11, 2018 at 11:45 PM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > > > > > Your smtp server isn't listening.
> > > > > > > >
> > > > > > > > Is it running, and binding to 127.0.0.1?
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > > > > > >
> > > > > > > > On 7/11/18, 4:44 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > > > > > >
> > > > > > > > connection refused! But why?
> > > > > > > >
> > > > > > > > On Wed, Jul 11, 2018 at 11:40 PM, Larry Rosenman <larryrtx@gmail.com> wrote:
> > > > > > > > > What happens if you telnet 127.0.0.1 587?
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Larry Rosenman http://www.lerctr.org/~ler
> > > > > > > > > Phone: +1 214-642-9640 E-Mail: larryrtx@gmail.com
> > > > > > > > > US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106
> > > > > > > > >
> > > > > > > > > On 7/11/18, 4:39 PM, "Teno Deuter" <gvgter@googlemail.com> wrote:
> > > > > > > > >
> > > > > > > > > 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 <larryrtx@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: larryrtx@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-bounces@dovecot.org on behalf of gvgter@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
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
participants (4)
-
Joseph Tam
-
Larry Rosenman
-
Richard
-
Teno Deuter