You need to set up smtpd to listen on the submission port on localhost.
listen on lo port submission auth <someauthtable> On Jul 12, 2018 7:23 AM, Teno Deuter <[email protected]> wrote: > > you mean the following from roundcube? > > $config['default_host'] = '127.0.0.1'; > $config['smtp_server'] = '127.0.0.1'; > > On Thu, Jul 12, 2018 at 2:21 PM, Vijay Sankar <[email protected]> wrote: > > > > > >> On Jul 12, 2018, at 07:03, Teno Deuter <[email protected]> wrote: > >> > >> if I declare > >> > >> $config['smtp_port'] = 587; > >> > >> when trying to send an email from roundcube I get: > >> > >> ERROR: Connection refused (61) > >> > >> ERROR: Failed to connect socket: Connection refused () > >> > >> Connection failed: Failed to connect socket: Connection refused > >> > >>> On Thu, Jul 12, 2018 at 1:36 PM, Reio Remma <[email protected]> wrote: > >>> Hello! > >>> > >>> Did you try using the submission port (587) in Roundcube? > >>> > >>> You probably won't want to enforce auth on port 25 because that's used > >>> mostly for incoming mail. > >>> > >>> Good luck, > >>> Reio > >>> > >>>> On 12.07.2018 10:52, Teno Deuter wrote: > >>>> > >>>> Dear all, > >>>> > >>>> I have following configuration: > >>>> > >>>> openbsd 6.3 > >>>> opensmtpd > >>>> dovecot 2.2.34 > >>>> roundcubemail 1.3.5 > >>>> httpd web server > >>>> > >>>> here is my roundcube config file: > >>>> > >>>> $config['default_host'] = '127.0.0.1'; > >>>> $config['smtp_server'] = '127.0.0.1'; > >>>> $config['smtp_port'] = 25; > >>>> $config['smtp_user'] = '%u'; > >>>> $config['smtp_pass'] = '%p'; > >>>> > >>>> my opensmtpd.conf file has following settings: > >>>> > >>>> listen on $egress_int pki server.pki tls-require auth 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] > >>>> > >>>> when trying to send an email from roundcube I get: > >>>> > >>>> ERROR: SMTP server does not support authentication () > >>>> > >>>> How can I enable AUTH? > >>>> > >>>> Thank you > >>>> > >>> > >>> > >>> -- > >>> You received this mail because you are subscribed to [email protected] > >>> To unsubscribe, send a mail to: [email protected] > >>> > >> > >> -- > >> You received this mail because you are subscribed to [email protected] > >> To unsubscribe, send a mail to: [email protected] > > > > Are you listening on local host? > > -- > You received this mail because you are subscribed to [email protected] > To unsubscribe, send a mail to: [email protected] >
