---------- Forwarded message ---------
Da: Marco Fioretti <marco.fiore...@gmail.com>
Date: mar 21 gen 2025 alle ore 19:27
Subject: Re: connection refused, no error anywhere
To: Marc <m...@f1-outsourcing.eu>


Hi Marc,

this is the output of netstat -tanp (I only removed the line showing the
details of my ssh connection):

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
    PID/Program name
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN
     516/systemd-resolve
tcp        0      0 127.0.0.54:53           0.0.0.0:*               LISTEN
     516/systemd-resolve
tcp        0      0 127.0.0.1:10023         0.0.0.0:*               LISTEN
     28575/postgrey --in
tcp6       0      0 :::80                   :::*                    LISTEN
     26990/apache2
tcp6       0      0 ::1:10023               :::*                    LISTEN
     28575/postgrey --in

and indeed it there is no tracce of dovecot there, but what should I do
then? "service dovecot status" says the service IS active...

Thanks!

Il giorno mar 21 gen 2025 alle ore 19:00 Marc <m...@f1-outsourcing.eu> ha
scritto:

> You are sure dovecot is running on the ports (netstat -tanp). You are sure
> this firewall is ok? Maybe flush it, just to be sure.
>
> > Greetings,
> >
> > I was just tasked with rebuilding from scratch the mail server of an
> > NGO,
> > on a brand new Ubuntu 24.04 LTS VPS.
> >
> > I have copied the whole dovecot configuration to the new server, and now
> > am
> > stuck because:
> >
> > - dovecot IS running, dovecot service status shows no errors, but:
> >
> > - if I try to connect with mutt from my desktop I get "connection
> > refused"
> >
> > - the ufw firewall does allow imap/imaps connections, and there are no
> > errors in its log
> >
> > - even "telnet localhost 143" fails:
> > Trying ::1...
> > Connection failed: Connection refused
> > Trying 127.0.0.1...
> > telnet: Unable to connect to remote host: Connection refused
> >
> > - I see no related errors in /var/log/mail.log or /var/log/syslog.
> >
> >
> > output of dovecot -n is pasted below, I only changed the actual domain
> > name
> > to "example.com"
> >
> > TIA for any pointer, I really need to get this server back online as
> > soon
> > as possible...
> >
> > Marco
> >
> > # 2.3.21 (47349e2482): /etc/dovecot/dovecot.conf
> > # Pigeonhole version 0.5.21 (f6cd4b8e)
> > doveconf: Warning: NOTE: You can get a new clean config file with:
> > doveconf
> > -Pn > dovecot-new.conf
> > doveconf: Warning: Obsolete setting in /etc/dovecot/conf.d/10-
> > ssl.conf:9:
> > ssl_dh_parameters_length is no longer needed
> > # OS: Linux 6.8.0-51-generic x86_64 Ubuntu 24.04.1 LTS ext4
> > # Hostname: example.com
> > auth_debug = yes
> > auth_verbose = yes
> > auth_verbose_passwords = plain
> > mail_location = maildir:/var/mail/mymail_storage/base/
> > mbox_write_locks = fcntl
> > passdb {
> >   args = /etc/imap.v_users
> >   driver = passwd-file
> > }
> > passdb {
> >   driver = pam
> > }
> > service auth {
> >   unix_listener /var/spool/postfix/private/auth {
> >     group = postfix
> >     mode = 0660
> >     user = postfix
> >   }
> > }
> > service imap-login {
> >   inet_listener imap {
> >     port = 0
> >   }
> > }
> > ssl_cert = </etc/letsencrypt/live/example.com/fullchain.pem
> > ssl_cipher_list = ALL
> > ssl_key = # hidden, use -P to show it
> > ssl_prefer_server_ciphers = yes
> > userdb {
> >   args = /etc/imap.v_users
> >   driver = passwd-file
> > }
> > userdb {
> >   driver = passwd
> > }
> > verbose_ssl = yes
>
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to