1

Topic: Impossible to configure email account

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.0
- Deployed with iRedMail Easy or the downloadable installer? Downloadable Installer
- Linux/BSD distribution name and version: Debian 11
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

When i try to configure one account on Spark iOS application (outlook Ios same problem) i have this error :

Aug 23 07:28:51 mx postfix/submission/smtpd[322416]: warning: hostname 37-166-27-132.coucou-networks.fr does not resolve to address 37.166.27.132: Name or service not known
Aug 23 07:28:51 mx postfix/submission/smtpd[322416]: connect from unknown[37.166.27.132]
Aug 23 07:28:51 mx postfix/submission/smtpd[322416]: Anonymous TLS connection established from unknown[37.166.27.132]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Aug 23 07:28:53 mx postfix/submission/smtpd[322416]: warning: unknown[37.166.27.132]: SASL PLAIN authentication failed: 
Aug 23 07:28:53 mx postfix/submission/smtpd[322417]: warning: hostname 37-166-27-132.coucou-networks.fr does not resolve to address 37.166.27.132: Name or service not known
Aug 23 07:28:53 mx postfix/submission/smtpd[322417]: connect from unknown[37.166.27.132]
Aug 23 07:28:53 mx postfix/submission/smtpd[322418]: warning: hostname 37-166-27-132.coucou-networks.fr does not resolve to address 37.166.27.132: Name or service not known
Aug 23 07:28:53 mx postfix/submission/smtpd[322418]: connect from unknown[37.166.27.132]
Aug 23 07:28:53 mx postfix/submission/smtpd[322419]: warning: hostname 37-166-27-132.coucou-networks.fr does not resolve to address 37.166.27.132: Name or service not known
Aug 23 07:28:53 mx postfix/submission/smtpd[322419]: connect from unknown[37.166.27.132]
Aug 23 07:28:53 mx postfix/submission/smtpd[322420]: warning: hostname 37-166-27-132.coucou-networks.fr does not resolve to address 37.166.27.132: Name or service not known
Aug 23 07:28:53 mx postfix/submission/smtpd[322420]: connect from unknown[37.166.27.132]
Aug 23 07:28:53 mx postfix/submission/smtpd[322421]: warning: hostname 37-166-27-132.coucou-networks.fr does not resolve to address 37.166.27.132: Name or service not known
Aug 23 07:28:53 mx postfix/submission/smtpd[322421]: connect from unknown[37.166.27.132]
Aug 23 07:28:53 mx postfix/submission/smtpd[322422]: warning: hostname 37-166-27-132.coucou-networks.fr does not resolve to address 37.166.27.132: Name or service not known
Aug 23 07:28:53 mx postfix/submission/smtpd[322422]: connect from unknown[37.166.27.132]
Aug 23 07:28:53 mx postfix/submission/smtpd[322423]: warning: hostname 37-166-27-132.coucou-networks.fr does not resolve to address 37.166.27.132: Name or service not known
Aug 23 07:28:53 mx postfix/submission/smtpd[322423]: connect from unknown[37.166.27.132]
Aug 23 07:28:53 mx postfix/submission/smtpd[322424]: warning: hostname 37-166-27-132.coucou-networks.fr does not resolve to address 37.166.27.132: Name or service not known
Aug 23 07:28:53 mx postfix/submission/smtpd[322424]: connect from unknown[37.166.27.132]
Aug 23 07:28:53 mx postfix/submission/smtpd[322417]: Anonymous TLS connection established from unknown[37.166.27.132]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Aug 23 07:28:53 mx postfix/submission/smtpd[322418]: Anonymous TLS connection established from unknown[37.166.27.132]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Aug 23 07:28:53 mx postfix/submission/smtpd[322419]: Anonymous TLS connection established from unknown[37.166.27.132]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Aug 23 07:28:53 mx postfix/submission/smtpd[322420]: Anonymous TLS connection established from unknown[37.166.27.132]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Aug 23 07:28:53 mx postfix/submission/smtpd[322419]: warning: unknown[37.166.27.132]: SASL CRAM-MD5 authentication failed: Invalid authentication mechanism
Aug 23 07:28:53 mx postfix/submission/smtpd[322421]: Anonymous TLS connection established from unknown[37.166.27.132]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Aug 23 07:28:53 mx postfix/submission/smtpd[322422]: Anonymous TLS connection established from unknown[37.166.27.132]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Aug 23 07:28:53 mx postfix/submission/smtpd[322421]: warning: unknown[37.166.27.132]: SASL CRAM-MD5 authentication failed: Invalid authentication mechanism
Aug 23 07:28:53 mx postfix/submission/smtpd[322423]: Anonymous TLS connection established from unknown[37.166.27.132]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Aug 23 07:28:53 mx postfix/submission/smtpd[322424]: Anonymous TLS connection established from unknown[37.166.27.132]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Aug 23 07:28:59 mx postfix/smtps/smtpd[322384]: warning: unknown[103.237.21.84]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Aug 23 07:28:59 mx postfix/submission/smtpd[322417]: warning: unknown[37.166.27.132]: SASL PLAIN authentication failed: 
Aug 23 07:28:59 mx postfix/submission/smtpd[322418]: warning: unknown[37.166.27.132]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Aug 23 07:28:59 mx postfix/submission/smtpd[322424]: warning: unknown[37.166.27.132]: SASL PLAIN authentication failed: 
Aug 23 07:29:00 mx postfix/submission/smtpd[322423]: warning: unknown[37.166.27.132]: SASL LOGIN authentication failed: UGFzc3dvcmQ6

On Mail iOS i have one error message who said my password is empty...

how to solve this ?

Thank you.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Impossible to configure email account

Seems your DNS server(s) used by this iRedMail server is broken.
Please check the DNS server addresses in files listed below:

- /etc/resolv.conf
- /etc/systemd/resolved.conf
- /var/spool/postfix/etc/resolv.conf

3 (edited by Ange7 2022-08-23 18:15:52)

Re: Impossible to configure email account

cat /etc/resolv.conf 
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "resolvectl status" to see details about the actual nameservers.

nameserver 213.186.33.99
search openstacklocal
cat /etc/systemd/resolved.conf 
#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See resolved.conf(5) for details

[Resolve]
# Some examples of DNS servers which may be used for DNS= and FallbackDNS=:
# Cloudflare: 1.1.1.1 1.0.0.1 2606:4700:4700::1111 2606:4700:4700::1001
# Google:     8.8.8.8 8.8.4.4 2001:4860:4860::8888 2001:4860:4860::8844
# Quad9:      9.9.9.9 2620:fe::fe
#DNS=
#FallbackDNS=
#Domains=
#DNSSEC=no
#DNSOverTLS=no
#MulticastDNS=yes
#LLMNR=yes
#Cache=yes
#DNSStubListener=yes
#DNSStubListenerExtra=
#ReadEtcHosts=yes
#ResolveUnicastSingleLabel=no
cat /var/spool/postfix/etc/resolv.conf 
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "resolvectl status" to see details about the actual nameservers.

nameserver 213.186.33.99
search openstacklocal

i don't know what i need to set as nameserver here ?

Which file i need to update ?

just set DNS or FallbackDNS too ? Other ?

Thank you

4 (edited by Ange7 2022-08-23 23:54:02)

Re: Impossible to configure email account

I just edit files to add google DNS manually but not working... same problem.

5

Re: Impossible to configure email account

i did this :

1.

sudo nano /etc/resolvconf/resolv.conf.d/head

added

nameserver 8.8.8.8
nameserver 8.8.4.4

and :

2. sudo resolvconf --enable-updates
3. sudo resolvconf -u

I checked in

- /etc/resolv.conf
- /etc/systemd/resolved.conf
- /var/spool/postfix/etc/resolv.conf

now i have :

# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "resolvectl status" to see details about the actual nameservers.

nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 213.186.33.99
search openstacklocal

But i have the same problem

Aug 23 18:00:40 mx postfix/submission/smtpd[3515]: warning: hostname 37-166-5-194.coucou-networks.fr does not resolve to address 37.166.5.194: Name or service not known
Aug 23 18:00:40 mx postfix/submission/smtpd[3515]: connect from unknown[37.166.5.194]
Aug 23 18:00:40 mx postfix/submission/smtpd[3515]: Anonymous TLS connection established from unknown[37.166.5.194]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Aug 23 18:00:42 mx postfix/submission/smtpd[3515]: warning: unknown[37.166.5.194]: SASL PLAIN authentication failed: 
Aug 23 18:00:42 mx postfix/submission/smtpd[3579]: warning: hostname 37-166-5-194.coucou-networks.fr does not resolve to address 37.166.5.194: Name or service not known
Aug 23 18:00:42 mx postfix/submission/smtpd[3579]: connect from unknown[37.166.5.194]
Aug 23 18:00:42 mx postfix/submission/smtpd[3576]: warning: hostname 37-166-5-194.coucou-networks.fr does not resolve to address 37.166.5.194: Name or service not known
Aug 23 18:00:42 mx postfix/submission/smtpd[3576]: connect from unknown[37.166.5.194]
Aug 23 18:00:42 mx postfix/submission/smtpd[3573]: warning: hostname 37-166-5-194.coucou-networks.fr does not resolve to address 37.166.5.194: Name or service not known
Aug 23 18:00:42 mx postfix/submission/smtpd[3573]: connect from unknown[37.166.5.194]
Aug 23 18:00:42 mx postfix/submission/smtpd[3574]: warning: hostname 37-166-5-194.coucou-networks.fr does not resolve to address 37.166.5.194: Name or service not known
Aug 23 18:00:42 mx postfix/submission/smtpd[3574]: connect from unknown[37.166.5.194]
Aug 23 18:00:42 mx postfix/submission/smtpd[3683]: warning: hostname 37-166-5-194.coucou-networks.fr does not resolve to address 37.166.5.194: Name or service not known
Aug 23 18:00:42 mx postfix/submission/smtpd[3683]: connect from unknown[37.166.5.194]
Aug 23 18:00:42 mx postfix/submission/smtpd[3684]: warning: hostname 37-166-5-194.coucou-networks.fr does not resolve to address 37.166.5.194: Name or service not known
Aug 23 18:00:42 mx postfix/submission/smtpd[3684]: connect from unknown[37.166.5.194]
Aug 23 18:00:42 mx postfix/submission/smtpd[3685]: warning: hostname 37-166-5-194.coucou-networks.fr does not resolve to address 37.166.5.194: Name or service not known
Aug 23 18:00:42 mx postfix/submission/smtpd[3685]: connect from unknown[37.166.5.194]
Aug 23 18:00:42 mx postfix/submission/smtpd[3686]: warning: hostname 37-166-5-194.coucou-networks.fr does not resolve to address 37.166.5.194: Name or service not known
Aug 23 18:00:42 mx postfix/submission/smtpd[3686]: connect from unknown[37.166.5.194]
Aug 23 18:00:42 mx postfix/submission/smtpd[3579]: Anonymous TLS connection established from unknown[37.166.5.194]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Aug 23 18:00:42 mx postfix/submission/smtpd[3576]: Anonymous TLS connection established from unknown[37.166.5.194]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Aug 23 18:00:42 mx postfix/submission/smtpd[3573]: Anonymous TLS connection established from unknown[37.166.5.194]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Aug 23 18:00:42 mx postfix/submission/smtpd[3574]: Anonymous TLS connection established from unknown[37.166.5.194]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Aug 23 18:00:42 mx postfix/submission/smtpd[3684]: Anonymous TLS connection established from unknown[37.166.5.194]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Aug 23 18:00:42 mx postfix/submission/smtpd[3683]: Anonymous TLS connection established from unknown[37.166.5.194]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Aug 23 18:00:42 mx postfix/submission/smtpd[3576]: warning: unknown[37.166.5.194]: SASL CRAM-MD5 authentication failed: Invalid authentication mechanism
Aug 23 18:00:42 mx postfix/submission/smtpd[3685]: Anonymous TLS connection established from unknown[37.166.5.194]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Aug 23 18:00:42 mx postfix/submission/smtpd[3686]: Anonymous TLS connection established from unknown[37.166.5.194]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)

6

Re: Impossible to configure email account

Ange7 wrote:
Aug 23 18:00:40 mx postfix/submission/smtpd[3515]: warning: hostname 37-166-5-194.coucou-networks.fr does not resolve to address 37.166.5.194: Name or service not known

Your ISP does not resolve the domain name 37-166-5-194.coucou-networks.fr to an IP address:

$ host 37-166-5-194.coucou-networks.fr ns2.proxad.net.
Using domain server:
Name: ns2.proxad.net.
Address: 213.228.58.41#53
Aliases: 

Host 37-166-5-194.coucou-networks.fr not found: 3(NXDOMAIN)