Mail Server

Discussion in 'General' started by Eleinbra, Jan 31, 2023.

  1. Eleinbra

    Eleinbra New Member

    Hello!

    I have a problem, but I dont understand what happening, I have a Debian 11 and a ISPConfig 3. My server have a dynamic ipv4 and a static ipv6 (tunnelbroker). When I try telnet in the port 25 occurred a error. The server mail send and receive don't work, but in the logs don't have any error. When I try connect to email with Thunderbird, he find the server but dont pass of the password checker, don't occur a error, only try the connection endlessly.
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Maybe the IP changed? Check if DNS is OK.
     
  3. Eleinbra

    Eleinbra New Member

    Ok, I checked, but is Ok, both the website is working perfectly. I figure that the error could be the ISP, but before the last formatting he worked with success, I received the email.


    Today have these messages in the logs:

    Code:
    Feb  1 14:03:47 mail dovecot: master: Dovecot v2.3.13 (89f716dc2) starting up for imap, pop3, lmtp, sieve (core dumps disabled)
    Feb  1 14:04:20 mail postgrey[855]: Process Backgrounded
    Feb  1 14:04:20 mail postgrey[855]: 2023/02/01-14:04:20 postgrey (type Net::Server::Multiplex) starting! pid(855)
    Feb  1 14:04:21 mail postgrey[855]: Resolved [localhost]:10023 to [::1]:10023, IPv6
    Feb  1 14:04:21 mail postgrey[855]: Resolved [localhost]:10023 to [127.0.0.1]:10023, IPv4
    Feb  1 14:04:21 mail postgrey[855]: Binding to TCP port 10023 on host ::1 with IPv6
    Feb  1 14:04:21 mail postgrey[855]: Binding to TCP port 10023 on host 127.0.0.1 with IPv4
    Feb  1 14:04:21 mail postgrey[855]: Setting gid to "123 123"
    Feb  1 14:04:21 mail postgrey[855]: Setting uid to "115"
    Feb  1 14:04:49 mail postfix/postfix-script[1763]: warning: symlink leaves directory: /etc/postfix/./smtpd.cert-.bak
    Feb  1 14:04:49 mail postfix/postfix-script[1766]: warning: symlink leaves directory: /etc/postfix/./smtpd.key-230130172827.bak
    Feb  1 14:04:49 mail postfix/postfix-script[1769]: warning: symlink leaves directory: /etc/postfix/./smtpd.cert
    Feb  1 14:04:49 mail postfix/postfix-script[1772]: warning: symlink leaves directory: /etc/postfix/./smtpd.key
    Feb  1 14:04:50 mail postfix/postfix-script[1989]: starting the Postfix mail system
    Feb  1 14:04:51 mail postfix/master[1991]: daemon started -- version 3.5.17, configuration /etc/postfix
    Feb  1 14:04:52 mail postfix/qmgr[1994]: 2FF071088: from=<[email protected]>, size=14473, nrcpt=1 (queue active)
    Feb  1 14:05:43 mail postfix/smtp[2078]: connect to gmail-smtp-in.l.google.com[2800:3f0:4003:c00::1a]:25: Connection timed out
    Feb  1 14:06:13 mail postfix/smtp[2078]: connect to alt1.gmail-smtp-in.l.google.com[2a00:1450:400c:c0b::1b]:25: Connection timed out
    Feb  1 14:06:43 mail postfix/smtp[2078]: connect to alt2.gmail-smtp-in.l.google.com[2a00:1450:4025:401::1b]:25: Connection timed out
    Feb  1 14:07:13 mail postfix/smtp[2078]: connect to alt3.gmail-smtp-in.l.google.com[2a00:1450:4013:c16::1a]:25: Connection timed out
    Feb  1 14:07:43 mail postfix/smtp[2078]: connect to alt4.gmail-smtp-in.l.google.com[2a00:1450:4025:c03::1a]:25: Connection timed out
    Feb  1 14:07:43 mail postfix/smtp[2078]: 2FF071088: to=<[email protected]>, relay=none, delay=80152, delays=79980/13/158/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[2a00:1450:4025:c03::1a]:25: Connection timed out)
    Feb  1 14:13:14 mail dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<TbRFkKbzrKgAAAAAAAAAAAAAAAAAAAAB>
    Feb  1 14:13:14 mail dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<culFkKbzuKoAAAAAAAAAAAAAAAAAAAAB>
    Feb  1 14:13:14 mail postfix/smtpd[128628]: connect from localhost[::1]
    Feb  1 14:13:14 mail postfix/smtpd[128628]: lost connection after CONNECT from localhost[::1]
    Feb  1 14:13:14 mail postfix/smtpd[128628]: disconnect from localhost[::1] commands=0/0
    Feb  1 14:15:03 mail dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<0VvQlqbzlM0AAAAAAAAAAAAAAAAAAAAB>
    Feb  1 14:15:03 mail dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<YG/Qlqbz4oIAAAAAAAAAAAAAAAAAAAAB>
    Feb  1 14:15:03 mail postfix/smtpd[129433]: connect from localhost[::1]
    Feb  1 14:15:03 mail postfix/smtpd[129433]: lost connection after CONNECT from localhost[::1]
    Feb  1 14:15:03 mail postfix/smtpd[129433]: disconnect from localhost[::1] commands=0/0
    Feb  1 14:20:03 mail dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session=<lNqtqKbz9tgAAAAAAAAAAAAAAAAAAAAB>
    Feb  1 14:20:03 mail dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<GXuuqKbzjscAAAAAAAAAAAAAAAAAAAAB>
    Feb  1 14:20:03 mail postfix/smtpd[129605]: connect from localhost[::1]
    Feb  1 14:20:03 mail postfix/smtpd[129605]: lost connection after CONNECT from localhost[::1]
    Feb  1 14:20:03 mail postfix/smtpd[129605]: disconnect from localhost[::1] commands=0/0
    Only theses.

    according to ipvoid portscan the port 25 is open, but it are filtered, I don't find a form to insert a image, so if you want to seen, my ip is 2001:470:1f07:3d4::2.
     
    Last edited: Feb 1, 2023
  4. Eleinbra

    Eleinbra New Member

    Last log:
    Code:
    Feb  2 15:20:45 mail dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<9K6Rn7vzIKEAAAAAAAAAAAAAAAAAAAAB>
    Feb  2 15:20:45 mail dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<ObKRn7vzSNsAAAAAAAAAAAAAAAAAAAAB>
    Feb  2 15:20:45 mail postfix/smtpd[310699]: connect from localhost[::1]
    Feb  2 15:20:45 mail postfix/smtpd[310699]: lost connection after CONNECT from localhost[::1]
    Feb  2 15:20:45 mail postfix/smtpd[310699]: disconnect from localhost[::1] commands=0/0
    Feb  2 15:25:03 mail dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session=<G07/rrvzHuwAAAAAAAAAAAAAAAAAAAAB>
    Feb  2 15:25:03 mail postfix/smtpd[314245]: connect from localhost[::1]
    Feb  2 15:25:03 mail postfix/smtpd[314245]: lost connection after CONNECT from localhost[::1]
    Feb  2 15:25:03 mail postfix/smtpd[314245]: disconnect from localhost[::1] commands=0/0
    Feb  2 15:25:03 mail dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<6cL/rrvzvuEAAAAAAAAAAAAAAAAAAAAB>
    Feb  2 15:25:40 mail dovecot: imap-login: Disconnected (no auth attempts in 2 secs): user=<>, rip=162.142.125.222, lip=192.168.1.210, TLS: Connection closed, session=<z44osbvzaoaijn3e>
    Feb  2 15:30:03 mail dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<KZ7gwLvzlqkAAAAAAAAAAAAAAAAAAAAB>
    Feb  2 15:30:03 mail dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<3bfgwLvzptMAAAAAAAAAAAAAAAAAAAAB>
    Feb  2 15:30:03 mail postfix/smtpd[314480]: warning: cannot get RSA certificate from file "/etc/postfix/smtpd.cert": disabling TLS support
    Feb  2 15:30:03 mail postfix/smtpd[314480]: warning: TLS library problem: error:02001002:system library:fopen:No such file or directory:../crypto/bio/bss_file.c:288:fopen('/etc/postfix/smtpd.cert','r'):
    Feb  2 15:30:03 mail postfix/smtpd[314480]: warning: TLS library problem: error:20074002:BIO routines:file_ctrl:system lib:../crypto/bio/bss_file.c:290:
    Feb  2 15:30:03 mail postfix/smtpd[314480]: warning: TLS library problem: error:140DC002:SSL routines:use_certificate_chain_file:system lib:../ssl/ssl_rsa.c:596:
    Feb  2 15:30:03 mail postfix/smtpd[314480]: connect from localhost[::1]
    Feb  2 15:30:03 mail postfix/smtpd[314480]: lost connection after CONNECT from localhost[::1]
    Feb  2 15:30:03 mail postfix/smtpd[314480]: disconnect from localhost[::1] commands=0/0
    Feb  2 15:34:30 mail dovecot: pop3-login: Disconnected (no auth attempts in 1 secs): user=<>, rip=36.156.28.131, lip=192.168.1.210, TLS handshaking: SSL_accept() failed: error:14094412:SSL routines:ssl3_read_bytes:sslv3 alert bad certificate: SSL alert number 42, session=<VSnB0LvzCKsknByD>
    Feb  2 15:34:32 mail dovecot: pop3-login: Disconnected (no auth attempts in 1 secs): user=<>, rip=36.156.28.131, lip=192.168.1.210, TLS handshaking: read(size=599) failed: Connection reset by peer, session=<Y23b0LvzkqwknByD>
    Feb  2 15:34:32 mail dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=36.156.28.131, lip=192.168.1.210, TLS handshaking: read(size=599) failed: Connection reset by peer, session=<T7vn0LvzrqwknByD>
    Feb  2 15:34:33 mail dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=36.156.28.131, lip=192.168.1.210, TLS handshaking: Connection closed, session=<8gz10Lvz1KwknByD>
    Feb  2 15:34:34 mail dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=36.156.28.131, lip=192.168.1.210, TLS handshaking: read(size=692) failed: Connection reset by peer, session=<MLYB0bvz+qwknByD>
    Feb  2 15:34:35 mail dovecot: pop3-login: Disconnected (no auth attempts in 1 secs): user=<>, rip=36.156.28.131, lip=192.168.1.210, TLS handshaking: read(size=611) failed: Connection reset by peer, session=<UpMO0bvzIK0knByD>
    Feb  2 15:34:35 mail dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=36.156.28.131, lip=192.168.1.210, TLS handshaking: SSL_accept() failed: error:14209102:SSL routines:tls_early_post_process_client_hello:unsupported protocol, session=<18QU0bvzQK0knByD>
    Feb  2 15:34:36 mail dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=36.156.28.131, lip=192.168.1.210, TLS handshaking: read(size=597) failed: Connection reset by peer, session=<IdIm0bvzZK0knByD>
    Feb  2 15:34:37 mail dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=36.156.28.131, lip=192.168.1.210, TLS handshaking: read(size=597) failed: Connection reset by peer, session=<rEs00bvziq0knByD>
    Feb  2 15:34:38 mail dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=36.156.28.131, lip=192.168.1.210, TLS handshaking: SSL_accept() failed: error:142090C1:SSL routines:tls_early_post_process_client_hello:no shared cipher, session=<Hzg60bvztq0knByD>
    Feb  2 15:34:39 mail dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=36.156.28.131, lip=192.168.1.210, TLS handshaking: SSL_accept() failed: error:141CF06C:SSL routines:tls_parse_ctos_key_share:bad key share, session=<3dhF0bvz1q0knByD>
    Feb  2 15:34:39 mail dovecot: pop3-login: Disconnected: Too many bad commands (no auth attempts in 9 secs): user=<>, rip=36.156.28.131, lip=192.168.1.210, TLS, session=<+41L0bvzXKwknByD>
    Feb  2 15:35:03 mail dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<+yC60rvz9MoAAAAAAAAAAAAAAAAAAAAB>
    Feb  2 15:35:03 mail dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<ojq60rvzoqsAAAAAAAAAAAAAAAAAAAAB>
    Feb  2 15:35:03 mail postfix/smtpd[314669]: warning: cannot get RSA certificate from file "/etc/postfix/smtpd.cert": disabling TLS support
    Feb  2 15:35:03 mail postfix/smtpd[314669]: warning: TLS library problem: error:02001028:system library:fopen:Too many levels of symbolic links:../crypto/bio/bss_file.c:288:fopen('/etc/postfix/smtpd.cert','r'):
    Feb  2 15:35:03 mail postfix/smtpd[314669]: warning: TLS library problem: error:20074002:BIO routines:file_ctrl:system lib:../crypto/bio/bss_file.c:290:
    Feb  2 15:35:03 mail postfix/smtpd[314669]: warning: TLS library problem: error:140DC002:SSL routines:use_certificate_chain_file:system lib:../ssl/ssl_rsa.c:596:
    Feb  2 15:35:03 mail postfix/smtpd[314669]: connect from localhost[::1]
    Feb  2 15:35:03 mail postfix/smtpd[314669]: lost connection after CONNECT from localhost[::1]
    Feb  2 15:35:03 mail postfix/smtpd[314669]: disconnect from localhost[::1] commands=0/0
    Feb  2 15:40:02 mail dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session=<aLCR5Lvz4tYAAAAAAAAAAAAAAAAAAAAB>
    Feb  2 15:40:02 mail postfix/smtpd[315220]: warning: cannot get RSA certificate from file "/etc/postfix/smtpd.cert": disabling TLS support
    Feb  2 15:40:02 mail postfix/smtpd[315220]: warning: TLS library problem: error:02001028:system library:fopen:Too many levels of symbolic links:../crypto/bio/bss_file.c:288:fopen('/etc/postfix/smtpd.cert','r'):
    Feb  2 15:40:02 mail postfix/smtpd[315220]: warning: TLS library problem: error:20074002:BIO routines:file_ctrl:system lib:../crypto/bio/bss_file.c:290:
    Feb  2 15:40:02 mail postfix/smtpd[315220]: warning: TLS library problem: error:140DC002:SSL routines:use_certificate_chain_file:system lib:../ssl/ssl_rsa.c:596:
    Feb  2 15:40:02 mail postfix/smtpd[315220]: connect from localhost[::1]
    Feb  2 15:40:02 mail postfix/smtpd[315220]: lost connection after CONNECT from localhost[::1]
    Feb  2 15:40:02 mail postfix/smtpd[315220]: disconnect from localhost[::1] commands=0/0
    Feb  2 15:40:02 mail dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<QVOS5LvzOt0AAAAAAAAAAAAAAAAAAAAB>
    Feb  2 15:45:03 mail dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<AEOA9rvzqtYAAAAAAAAAAAAAAAAAAAAB>
    Feb  2 15:45:03 mail dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<CEiA9rvzUskAAAAAAAAAAAAAAAAAAAAB>
    Feb  2 15:45:03 mail postfix/smtpd[316052]: warning: cannot get RSA certificate from file "/etc/postfix/smtpd.cert": disabling TLS support
    Feb  2 15:45:03 mail postfix/smtpd[316052]: warning: TLS library problem: error:02001028:system library:fopen:Too many levels of symbolic links:../crypto/bio/bss_file.c:288:fopen('/etc/postfix/smtpd.cert','r'):
    Feb  2 15:45:03 mail postfix/smtpd[316052]: warning: TLS library problem: error:20074002:BIO routines:file_ctrl:system lib:../crypto/bio/bss_file.c:290:
    Feb  2 15:45:03 mail postfix/smtpd[316052]: warning: TLS library problem: error:140DC002:SSL routines:use_certificate_chain_file:system lib:../ssl/ssl_rsa.c:596:
    Feb  2 15:45:03 mail postfix/smtpd[316052]: connect from localhost[::1]
    Feb  2 15:45:03 mail postfix/smtpd[316052]: lost connection after CONNECT from localhost[::1]
    Feb  2 15:45:03 mail postfix/smtpd[316052]: disconnect from localhost[::1] commands=0/0
    Feb  2 15:50:02 mail dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<lkxYCLzzxIgAAAAAAAAAAAAAAAAAAAAB>
    Feb  2 15:50:02 mail dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session=<Q1dYCLzzMrkAAAAAAAAAAAAAAAAAAAAB>
    Feb  2 15:50:03 mail postfix/smtpd[316572]: warning: cannot get RSA certificate from file "/etc/postfix/smtpd.cert": disabling TLS support
    Feb  2 15:50:03 mail postfix/smtpd[316572]: warning: TLS library problem: error:02001028:system library:fopen:Too many levels of symbolic links:../crypto/bio/bss_file.c:288:fopen('/etc/postfix/smtpd.cert','r'):
    Feb  2 15:50:03 mail postfix/smtpd[316572]: warning: TLS library problem: error:20074002:BIO routines:file_ctrl:system lib:../crypto/bio/bss_file.c:290:
    Feb  2 15:50:03 mail postfix/smtpd[316572]: warning: TLS library problem: error:140DC002:SSL routines:use_certificate_chain_file:system lib:../ssl/ssl_rsa.c:596:
    Feb  2 15:50:03 mail postfix/smtpd[316572]: connect from localhost[::1]
    Feb  2 15:50:03 mail postfix/smtpd[316572]: lost connection after CONNECT from localhost[::1]
    Feb  2 15:50:03 mail postfix/smtpd[316572]: disconnect from localhost[::1] commands=0/0
    Feb  2 15:55:03 mail dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session=<WQFEGrzz+oUAAAAAAAAAAAAAAAAAAAAB>
    Feb  2 15:55:03 mail postfix/smtpd[317087]: warning: cannot get RSA certificate from file "/etc/postfix/smtpd.cert": disabling TLS support
    Feb  2 15:55:03 mail postfix/smtpd[317087]: warning: TLS library problem: error:02001028:system library:fopen:Too many levels of symbolic links:../crypto/bio/bss_file.c:288:fopen('/etc/postfix/smtpd.cert','r'):
    Feb  2 15:55:03 mail postfix/smtpd[317087]: warning: TLS library problem: error:20074002:BIO routines:file_ctrl:system lib:../crypto/bio/bss_file.c:290:
    Feb  2 15:55:03 mail postfix/smtpd[317087]: warning: TLS library problem: error:140DC002:SSL routines:use_certificate_chain_file:system lib:../ssl/ssl_rsa.c:596:
    Feb  2 15:55:03 mail postfix/smtpd[317087]: connect from localhost[::1]
    Feb  2 15:55:03 mail postfix/smtpd[317087]: lost connection after CONNECT from localhost[::1]
    Feb  2 15:55:03 mail postfix/smtpd[317087]: disconnect from localhost[::1] commands=0/0
    Feb  2 15:55:03 mail dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<IZlEGrzzZIMAAAAAAAAAAAAAAAAAAAAB>
    Feb  2 16:00:03 mail dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<MEUnLLzzopAAAAAAAAAAAAAAAAAAAAAB>
    Feb  2 16:00:03 mail dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<+lknLLzzGOEAAAAAAAAAAAAAAAAAAAAB>
    Feb  2 16:00:03 mail postfix/smtpd[317957]: warning: cannot get RSA certificate from file "/etc/postfix/smtpd.cert": disabling TLS support
    Feb  2 16:00:03 mail postfix/smtpd[317957]: warning: TLS library problem: error:02001002:system library:fopen:No such file or directory:../crypto/bio/bss_file.c:288:fopen('/etc/postfix/smtpd.cert','r'):
    Feb  2 16:00:03 mail postfix/smtpd[317957]: warning: TLS library problem: error:20074002:BIO routines:file_ctrl:system lib:../crypto/bio/bss_file.c:290:
    Feb  2 16:00:03 mail postfix/smtpd[317957]: warning: TLS library problem: error:140DC002:SSL routines:use_certificate_chain_file:system lib:../ssl/ssl_rsa.c:596:
    Feb  2 16:00:03 mail postfix/smtpd[317957]: connect from localhost[::1]
    Feb  2 16:00:03 mail postfix/smtpd[317957]: lost connection after CONNECT from localhost[::1]
    Feb  2 16:00:03 mail postfix/smtpd[317957]: disconnect from localhost[::1] commands=0/0
    Feb  2 16:05:01 mail postfix/postfix-script[318563]: stopping the Postfix mail system
    Feb  2 16:05:01 mail postfix/master[188777]: terminating on signal 15
    Feb  2 16:05:03 mail postfix/postqueue[318779]: warning: Mail system is down -- accessing queue directly
    Feb  2 16:05:03 mail dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session=<aHMIPrzzeqwAAAAAAAAAAAAAAAAAAAAB>
    Feb  2 16:05:03 mail dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<PeYIPrzzLtIAAAAAAAAAAAAAAAAAAAAB>
    Feb  2 16:05:06 mail postfix/postfix-script[319067]: warning: symlink leaves directory: /etc/postfix/./smtpd.cert
    Feb  2 16:05:06 mail postfix/postfix-script[319070]: warning: symlink leaves directory: /etc/postfix/./smtpd.cert-230202160500.bak
    Feb  2 16:05:06 mail postfix/postfix-script[319073]: warning: symlink leaves directory: /etc/postfix/./smtpd.key-230202160500.bak
    Feb  2 16:05:06 mail postfix/postfix-script[319076]: warning: symlink leaves directory: /etc/postfix/./smtpd.key
    Feb  2 16:05:07 mail postfix/postfix-script[319242]: starting the Postfix mail system
    Feb  2 16:05:07 mail postfix/master[319244]: daemon started -- version 3.5.17, configuration /etc/postfix
    Feb  2 16:05:07 mail dovecot: master: Warning: Killed with signal 15 (by pid=319253 uid=0 code=kill)
    Feb  2 16:05:08 mail dovecot: master: Dovecot v2.3.13 (89f716dc2) starting up for imap, pop3, lmtp, sieve (core dumps disabled)
    Feb  2 16:06:50 mail postfix/postfix-script[319690]: stopping the Postfix mail system
    Feb  2 16:06:50 mail postfix/master[319244]: terminating on signal 15
    Feb  2 16:06:55 mail postfix/postfix-script[320087]: warning: symlink leaves directory: /etc/postfix/./smtpd.cert
    Feb  2 16:06:55 mail postfix/postfix-script[320090]: warning: symlink leaves directory: /etc/postfix/./smtpd.key-230202160650.bak
    Feb  2 16:06:55 mail postfix/postfix-script[320093]: warning: symlink leaves directory: /etc/postfix/./smtpd.cert-230202160500.bak
    Feb  2 16:06:55 mail postfix/postfix-script[320096]: warning: symlink leaves directory: /etc/postfix/./smtpd.key-230202160500.bak
    Feb  2 16:06:55 mail postfix/postfix-script[320099]: warning: symlink leaves directory: /etc/postfix/./smtpd.key
    Feb  2 16:06:55 mail postfix/postfix-script[320102]: warning: symlink leaves directory: /etc/postfix/./smtpd.cert-230202160650.bak
    Feb  2 16:06:55 mail postfix/postfix-script[320268]: starting the Postfix mail system
    Feb  2 16:06:55 mail postfix/master[320270]: daemon started -- version 3.5.17, configuration /etc/postfix
    Feb  2 16:06:55 mail dovecot: master: Warning: Killed with signal 15 (by pid=320279 uid=0 code=kill)
    Feb  2 16:06:57 mail dovecot: master: Dovecot v2.3.13 (89f716dc2) starting up for imap, pop3, lmtp, sieve (core dumps disabled)
    Feb  2 16:10:03 mail dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session=<afXtT7zzDqIAAAAAAAAAAAAAAAAAAAAB>
    Feb  2 16:10:04 mail dovecot: pop3-login: Disconnected (no auth attempts in 1 secs): user=<>, rip=::1, lip=::1, secured, session=<xmbwT7zzHp8AAAAAAAAAAAAAAAAAAAAB>
    Feb  2 16:10:04 mail postfix/smtpd[320850]: connect from localhost[::1]
    Feb  2 16:10:04 mail postfix/smtpd[320850]: lost connection after CONNECT from localhost[::1]
    Feb  2 16:10:04 mail postfix/smtpd[320850]: disconnect from localhost[::1] commands=0/0
    Feb  2 16:15:03 mail dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<7ofKYbzzIO4AAAAAAAAAAAAAAAAAAAAB>
    Feb  2 16:15:03 mail dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<p7TKYbzzpscAAAAAAAAAAAAAAAAAAAAB>
    Feb  2 16:15:03 mail postfix/smtpd[321092]: connect from localhost[::1]
    Feb  2 16:15:03 mail postfix/smtpd[321092]: lost connection after CONNECT from localhost[::1]
    Feb  2 16:15:03 mail postfix/smtpd[321092]: disconnect from localhost[::1] commands=0/0
    Feb  2 16:20:03 mail dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session=<3faoc7zz8ooAAAAAAAAAAAAAAAAAAAAB>
    Feb  2 16:20:03 mail dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<XYCpc7zzWqEAAAAAAAAAAAAAAAAAAAAB>
    Feb  2 16:20:03 mail postfix/smtpd[321281]: connect from localhost[::1]
    Feb  2 16:20:03 mail postfix/smtpd[321281]: lost connection after CONNECT from localhost[::1]
    Feb  2 16:20:03 mail postfix/smtpd[321281]: disconnect from localhost[::1] commands=0/0
     
  5. Eleinbra

    Eleinbra New Member

    Now I receive these errors:
    Code:
    Feb  2 17:19:00 mail postfix/smtps/smtpd[325986]: fatal: cannot handle socket type AF_INET with "inet_protocols = ipv6"
    Feb  2 17:19:14 mail postfix/submission/smtpd[326019]: fatal: cannot handle socket type AF_INET with "inet_protocols = ipv6"
    Feb  2 17:19:56 mail postfix/smtpd[326020]: fatal: cannot handle socket type AF_INET with "inet_protocols = ipv6"
    Feb  2 17:19:56 mail postfix/smtpd[326021]: fatal: cannot handle socket type AF_INET with "inet_protocols = ipv6"
     
  6. pyte

    pyte Well-Known Member HowtoForge Supporter

    Sounds about right. postfix can't handle a IPv4 Socket "AF_INET" (Note the missing 6), when you only enable ipv6 in inet_protocols.
     
    ahrasis likes this.
  7. Eleinbra

    Eleinbra New Member

    I try put all again, this solved the problem, now my server is working and the other servers discovered my server. But the problem is, I can't use ipv4 for the mail server, because he have not a PTR. How to I change my mail server to only IPV6 in the ISPConfig?

    And other thing is, when my server is descovered, the other servers find my domain without hostname (eletroinformaticabrasil.com and not mail.eletroinformaticabrasil.com). I think that the problem is the DNS, because I not give a IPV4 for the A record of mail.eletroinformaticabrasil.com, for not find the incorrect ip...
     
  8. pyte

    pyte Well-Known Member HowtoForge Supporter

    It makes no sense operating a mailserver with IPv6 only, as alot of mailserver will not be able to interact with your mailserver because they are IPv4 only.

    What do you mean by "when my server is discovered"?
     
    ahrasis likes this.
  9. Eleinbra

    Eleinbra New Member

    The more famous like gmail and outlook accept these emails, so for me its good. My ISP don't provide IPV4 static only IPV6, so I don't have choise.

    When I put my email in Thunderbird, he enconter the server and auto-configure, when I put ip_protocol = ipv6, Thunderbird don't discover my server, is the same thing when I try scan my server with network-tools of webwiz.
     
    ahrasis likes this.
  10. pyte

    pyte Well-Known Member HowtoForge Supporter

    Are the DNS Records correctly set? Does your client on which you have thunderbird installed even support IPv6?
     
  11. Eleinbra

    Eleinbra New Member

    Yes, I know because I already installed a Postfix and Dovecot in this server, and the thunderbird discovered, the problem was a power fall that occurred, and I needed to format the server. So I thing that the problem is any configuration...
     
  12. pyte

    pyte Well-Known Member HowtoForge Supporter

    Debug the connection with telnet or nc and see if a basic connect works. If you don't know how, there are plenty of guides out there.
     
  13. Eleinbra

    Eleinbra New Member

    Realy no, only thing functioning with the IPV6 Address is the website... But in the port scan the ports are open
     
  14. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  15. Eleinbra

    Eleinbra New Member

    Ok, from what I saw, the only error is the DMARC, but I don't know how I set up the dmarkserver on ISPConfig... is with opendmarc yet?

    These days I format again with another HDD and I'm doing mail server test at every step to seen when the problem will start, now I only install ISPConfig, don't choise only ipv6, not install softacullous or the ssl certificate in the dashboard, I'll seen step by step and will edit this message with the updates.

    --EDITED-- 02/09/2023 - 5:58 pm

    Ok, I do the softaculous install and add two sites to give me a SSL certificate (eletroinformaticabrasil.com to dashboard and mail.eletroinformaticabrasil.com to the mail server). Yet the mail works and the mail server check don't give me a error (besides dmarc).
     
    Last edited: Feb 9, 2023
  16. till

    till Super Moderator Staff Member ISPConfig Developer

    If you want to use DMARC then all you have to do is to add a DMARC record in the DNS zone of the domain you want to get it published for. There is no such thing as a dmarcserver needed. DMARC records are simple TXT DNS records.
     
    ahrasis likes this.
  17. Eleinbra

    Eleinbra New Member

    Ok, now when I start the system, shot this error:

    Code:
    [Failed] failed to start Raise network interfaces.
    Started after the instalation of ISPConfig... Every that start the system the resolv.conf is removed and the bind9 shot this error:

    Code:
    named[1873]: no valid RRSIG resolving './DNSKEY/IN': x.x.x.x#53
    The something I do different of the last installation of the system is that I install the netplan and net-tools before the ISPConfig to set up the IPV6.

    --EDITED-- 02/10/2023 1:06pm

    I tried to install the ssl certificate and change de postfix .key and .cert. Now it yet works the server with IPv6. I'll try to change the ISPConfig server configurations to use the SSL.

    --EDITED--02/10/2023 1:42pm

    Works! I don't know what I really do that make work, but the important is are working! I send message to gmail, and no error occurred, the opposity is true.
     
    Last edited: Feb 10, 2023
    ahrasis likes this.

Share This Page