Topic: error creating a DNS resolver socket
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.0
- Deployed with iRedMail Easy or the downloadable installer? Installer
- Linux/BSD distribution name and version: Linux Ubuntu 18.04 LTS
- 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.
====
Hello.
I been receiving this email
error creating a DNS resolver socket: Address family for hostname not supported at /usr/share/perl5/Mail/SpamAssassin/DnsResolver.pm line 434.
dns: unable to connect to [127.0.0.53]:53, no more alternatives
I haven't been able to find out the issue or solution.
Thanks for the time.
LOG - Rest in attached file.
Jan 19 21:07:51 mail amavis[9215]: logging initialized, log level 5, syslog: amavis.mail
Jan 19 21:07:51 mail amavis[9215]: sd_notify (no socket): STATUS=Config files have been read, modules loaded.
Jan 19 21:07:51 mail amavis[9215]: starting. /usr/sbin/amavisd-new at mail.ensenadabc.com amavisd-new-2.11.0 (20160426), Unicode aware, LC_ALL="C", LANG="C.UTF-8"
Jan 19 21:07:51 mail amavis[9215]: perl=5.026001, user=, EUID: 118 (118); group=, EGID: 124 124 (124 124)
Jan 19 21:07:51 mail amavis[9215]: INFO: no optional modules: unicore::lib::Nt::De.pl Unix::Getrusage
Jan 19 21:07:51 mail amavis[9215]: SpamControl: attempting to load scanner SpamAssassin, module Amavis::SpamControl::SpamAssassin
Jan 19 21:07:51 mail amavis[9215]: SpamControl: scanner SpamAssassin, module Amavis::SpamControl::SpamAssassin
Jan 19 21:07:51 mail amavis[9215]: INFO: SA version: 3.4.2, 3.004002, no optional modules: Encode::Detect Razor2::Client::Agent Image::Info Image::Info::GIF Image::Info::JPEG Image::Info::PNG Image::Info::BMP Image::Info::TIFF
Jan 19 21:07:51 mail amavis[9215]: SpamControl: init_pre_chroot on SpamAssassin done
Jan 19 21:07:51 mail amavis[9215]: socket module IO::Socket::IP, protocol families available: INET, INET6
Jan 19 21:07:51 mail amavis[9215]: will bind to /var/run/amavis/amavisd.socket|unix, 127.0.0.1:10024/tcp, 127.0.0.1:10026/tcp, 127.0.0.1:10027/tcp, 127.0.0.1:9998/tcp
Jan 19 21:07:51 mail amavis[9215]: sd_notify (no socket): STATUS=Transferring control to Net::Server.
Jan 19 21:07:51 mail amavis[9224]: Net::Server: Process Backgrounded
Jan 19 21:07:51 mail amavis[9224]: sd_notify (no socket): MAINPID=9224\nSTATUS=Daemonized, preparing to bind sockets.
Jan 19 21:07:51 mail amavis[9224]: Net::Server: 2020/01/19-21:07:51 Amavis (type Net::Server::PreForkSimple) starting! pid(9224)
Jan 19 21:07:51 mail amavis[9224]: Net::Server: Binding to UNIX socket file "/var/run/amavis/amavisd.socket"
Jan 19 21:07:51 mail amavis[9224]: Net::Server: Binding to TCP port 10024 on host 127.0.0.1 with IPv4
Jan 19 21:07:51 mail amavis[9224]: Net::Server: Binding to TCP port 10026 on host 127.0.0.1 with IPv4
Jan 19 21:07:51 mail amavis[9224]: Net::Server: Binding to TCP port 10027 on host 127.0.0.1 with IPv4
Jan 19 21:07:51 mail amavis[9224]: Net::Server: Binding to TCP port 9998 on host 127.0.0.1 with IPv4
Jan 19 21:07:51 mail amavis[9224]: sd_notify (no socket): STATUS=Sockets bound, checking user and group.
Jan 19 21:07:51 mail amavis[9224]: Net::Server: Group Not Defined. Defaulting to EGID '124 124'
Jan 19 21:07:51 mail amavis[9224]: Net::Server: User Not Defined. Defaulting to EUID '118'
Jan 19 21:07:51 mail amavis[9224]: Net::Server: Setting up serialization via flock
Jan 19 21:07:51 mail amavis[9224]: sd_notify (no socket): STATUS=The rest of pre-fork init, finding helper programs.
Jan 19 21:07:51 mail amavis[9224]: after_chroot_init: EUID: 118 (118); EGID: 124 124 (124 124)
Jan 19 21:07:51 mail amavis[9224]: config files read: /usr/share/amavis/conf.d/10-debian_scripts, /usr/share/amavis/conf.d/20-package, /etc/amavis/conf.d/01-debian, /etc/amavis/conf.d/05-domain_id, /etc/amavis/conf.d/05-node_id, /etc/amavis/conf.d/15-av_scanners, /etc/amavis/conf.d/15-content_filter_mode, /etc/amavis/conf.d/20-debian_defaults, /etc/amavis/conf.d/21-ubuntu_defaults, /etc/amavis/conf.d/25-amavis_helpers, /etc/amavis/conf.d/30-template_localization, /etc/amavis/conf.d/40-policy_banks, /etc/amavis/conf.d/50-user
Jan 19 21:07:51 mail amavis[9224]: Module Amavis::Conf 2.412
Jan 19 21:07:51 mail amavis[9224]: Module Archive::Zip 1.60
Jan 19 21:07:51 mail amavis[9224]: Module Compress::Raw::Zlib 2.074
Jan 19 21:07:51 mail amavis[9224]: Module Compress::Zlib 2.074
Jan 19 21:07:51 mail amavis[9224]: Module Crypt::OpenSSL::RSA 0.28
Jan 19 21:07:51 mail amavis[9224]: Module DBD::mysql 4.046
Jan 19 21:07:51 mail amavis[9224]: Module DBI 1.64
Jan 19 21:07:51 mail amavis[9224]: Module DB_File 1.84
Jan 19 21:07:51 mail amavis[9224]: Module Digest::MD5 2.55
Jan 19 21:07:51 mail amavis[9224]: Module Digest::SHA 5.96
Jan 19 21:07:51 mail amavis[9224]: Module Encode 2.88
Jan 19 21:07:51 mail amavis[9224]: Module File::Temp 0.2304
Jan 19 21:07:51 mail amavis[9224]: Module IO::Socket::INET6 2.72
Jan 19 21:07:51 mail amavis[9224]: Module IO::Socket::IP 0.38
Jan 19 21:07:51 mail amavis[9224]: Module MIME::Entity 5.509
Jan 19 21:07:51 mail amavis[9224]: Module MIME::Parser 5.509
Jan 19 21:07:51 mail amavis[9224]: Module MIME::Tools 5.509
Jan 19 21:07:51 mail amavis[9224]: Module Mail::DKIM::Signer 0.44
Jan 19 21:07:51 mail amavis[9224]: Module Mail::DKIM::Verifier 0.44
Jan 19 21:07:51 mail amavis[9224]: Module Mail::Header 2.18
Jan 19 21:07:51 mail amavis[9224]: Module Mail::Internet 2.18
Jan 19 21:07:51 mail amavis[9224]: Module Mail::SPF v2.009
Jan 19 21:07:51 mail amavis[9224]: Module Mail::SpamAssassin 3.004002
Jan 19 21:07:51 mail amavis[9224]: Module Net::DNS 1.1
Jan 19 21:07:51 mail amavis[9224]: Module Net::LibIDN 0.12
Jan 19 21:07:51 mail amavis[9224]: Module Net::Patricia 1.22
Jan 19 21:07:51 mail amavis[9224]: Module Net::Server 2.009
Jan 19 21:07:51 mail amavis[9224]: Module NetAddr::IP 4.079
Jan 19 21:07:51 mail amavis[9224]: Module Scalar::Util 1.4602
Jan 19 21:07:51 mail amavis[9224]: Module Socket 2.020_03
Jan 19 21:07:51 mail amavis[9224]: Module Socket6 0.27
Jan 19 21:07:51 mail amavis[9224]: Module Time::HiRes 1.9741
Jan 19 21:07:51 mail amavis[9224]: Module URI 1.73
Jan 19 21:07:51 mail amavis[9224]: Module Unix::Syslog 1.1
Jan 19 21:07:51 mail amavis[9224]: Amavis::ZMQ code NOT loaded
Jan 19 21:07:51 mail amavis[9224]: Amavis::DB code NOT loaded
Jan 19 21:07:51 mail amavis[9224]: SQL base code loaded
Jan 19 21:07:51 mail amavis[9224]: SQL::Log code loaded
Jan 19 21:07:51 mail amavis[9224]: SQL::Quarantine loaded
Jan 19 21:07:51 mail amavis[9224]: Lookup::SQL code loaded
Jan 19 21:07:51 mail amavis[9224]: Lookup::LDAP code NOT loaded
Jan 19 21:07:51 mail amavis[9224]: AM.PDP-in proto code loaded
Jan 19 21:07:51 mail amavis[9224]: SMTP-in proto code loaded
Jan 19 21:07:51 mail amavis[9224]: Courier proto code NOT loaded
Jan 19 21:07:51 mail amavis[9224]: SMTP-out proto code loaded
Jan 19 21:07:51 mail amavis[9224]: Pipe-out proto code NOT loaded
Jan 19 21:07:51 mail amavis[9224]: BSMTP-out proto code NOT loaded
Jan 19 21:07:51 mail amavis[9224]: Local-out proto code NOT loaded
Jan 19 21:07:51 mail amavis[9224]: OS_Fingerprint code NOT loaded
Jan 19 21:07:51 mail amavis[9224]: ANTI-VIRUS code loaded
Jan 19 21:07:51 mail amavis[9224]: ANTI-SPAM code loaded
Jan 19 21:07:51 mail amavis[9224]: ANTI-SPAM-EXT code NOT loaded
Jan 19 21:07:51 mail amavis[9224]: ANTI-SPAM-C code NOT loaded
Jan 19 21:07:51 mail amavis[9224]: ANTI-SPAM-SA code loaded
Jan 19 21:07:51 mail amavis[9224]: Unpackers code loaded
Jan 19 21:07:51 mail amavis[9224]: DKIM code loaded
Jan 19 21:07:51 mail amavis[9224]: Tools code NOT loaded
Jan 19 21:07:51 mail amavis[9224]: Found $file at /usr/bin/file
Jan 19 21:07:51 mail amavis[9224]: Found $altermime at /usr/bin/altermime
Jan 19 21:07:51 mail amavis[9224]: Internal decoder for .mail
Jan 19 21:07:51 mail amavis[9224]: No ext program for .F, tried: unfreeze, freeze -d, melt, fcat
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .Z at /bin/uncompress
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .gz at /bin/gzip -d
Jan 19 21:07:51 mail amavis[9224]: Internal decoder for .gz (backup, not used)
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .bz2 at /bin/bzip2 -d
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .xz at /usr/bin/xz -dc
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .lzma at /usr/bin/xz -dc --format=lzma
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .lrz at /usr/bin/lrzip -q -k -d -o -
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .lzo at /usr/bin/lzop -d
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .lz4 at /usr/bin/lz4c -d
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .rpm at /usr/bin/rpm2cpio
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .cpio at /bin/pax
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .tar at /bin/pax
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .deb at /usr/bin/ar
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .rar at /usr/bin/unrar
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .arj at /usr/bin/arj
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .arc at /usr/bin/nomarch
Jan 19 21:07:51 mail amavis[9224]: No ext program for .zoo, tried: zoo, unzoo
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .cab at /usr/bin/cabextract
Jan 19 21:07:51 mail amavis[9224]: Internal decoder for .tnef
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .zip at /usr/bin/7za
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .kmz at /usr/bin/7za
Jan 19 21:07:51 mail amavis[9224]: Internal decoder for .zip (backup, not used)
Jan 19 21:07:51 mail amavis[9224]: Internal decoder for .kmz (backup, not used)
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .7z at /usr/bin/7zr
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .gz at /usr/bin/7za (backup, not used)
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .bz2 at /usr/bin/7za (backup, not used)
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .Z at /usr/bin/7za (backup, not used)
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .tar at /usr/bin/7za (backup, not used)
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .xz at /usr/bin/7z (backup, not used)
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .lzma at /usr/bin/7z (backup, not used)
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .jar at /usr/bin/7z
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .cpio at /usr/bin/7z (backup, not used)
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .arj at /usr/bin/7z (backup, not used)
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .rar at /usr/bin/7z (backup, not used)
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .swf at /usr/bin/7z
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .lha at /usr/bin/7z
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .iso at /usr/bin/7z
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .cab at /usr/bin/7z (backup, not used)
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .deb at /usr/bin/7z (backup, not used)
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .rpm at /usr/bin/7z (backup, not used)
Jan 19 21:07:51 mail amavis[9224]: Found decoder for .exe at /usr/bin/unrar; /usr/bin/arj
Jan 19 21:07:51 mail amavis[9224]: No decoder for .F
Jan 19 21:07:51 mail amavis[9224]: No decoder for .zoo
Jan 19 21:07:51 mail amavis[9224]: Using primary internal av scanner code for clamav-socket
Jan 19 21:07:51 mail amavis[9224]: Found secondary av scanner clamav-clamscan at /usr/bin/clamscan
Jan 19 21:07:51 mail amavis[9224]: Using internal spam scanner code for SpamAssassin
Jan 19 21:07:51 mail amavis[9224]: initializing Mail::SpamAssassin (0)
Jan 19 21:07:51 mail amavis[9224]: SpamAssassin debug facilities: info,all
Jan 19 21:07:51 mail amavis[9224]: SA dbg: logger: adding facilities: info, all
Jan 19 21:07:51 mail amavis[9224]: SA dbg: logger: logging level is DBG
Jan 19 21:07:51 mail amavis[9224]: SA dbg: generic: SpamAssassin version 3.4.2
Jan 19 21:07:51 mail amavis[9224]: SA dbg: generic: Perl 5.026001, PREFIX=/usr, DEF_RULES_DIR=/usr/share/spamassassin, LOCAL_RULES_DIR=/etc/spamassassin, LOCAL_STATE_DIR=/var/lib/spamassassin
Jan 19 21:07:51 mail amavis[9224]: SA dbg: config: timing enabled
Jan 19 21:07:51 mail amavis[9224]: SA dbg: config: score set 0 chosen.
Jan 19 21:07:51 mail amavis[9224]: SA dbg: util: running in taint mode? yes
Jan 19 21:07:51 mail amavis[9224]: SA dbg: util: taint mode: deleting unsafe environment variables, resetting PATH
Jan 19 21:07:51 mail amavis[9224]: SA dbg: util: PATH included '/usr/local/sbin', keeping
Jan 19 21:07:51 mail amavis[9224]: SA dbg: util: PATH included '/usr/local/bin', keeping
Jan 19 21:07:51 mail amavis[9224]: SA dbg: util: PATH included '/usr/sbin', keeping
Jan 19 21:07:51 mail amavis[9224]: SA dbg: util: PATH included '/sbin', keeping
Jan 19 21:07:51 mail amavis[9224]: SA dbg: util: PATH included '/usr/bin', keeping
Jan 19 21:07:51 mail amavis[9224]: SA dbg: util: PATH included '/bin', keeping
Jan 19 21:07:51 mail amavis[9224]: SA dbg: util: final PATH set to: /usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/bin
Jan 19 21:07:51 mail amavis[9224]: SA dbg: config: using "/etc/spamassassin" for site rules pre files
Jan 19 21:07:51 mail amavis[9224]: SA dbg: config: read file /etc/spamassassin/init.pre
Jan 19 21:07:51 mail amavis[9224]: SA dbg: config: read file /etc/spamassassin/sa-compile.pre
Jan 19 21:07:51 mail amavis[9224]: SA dbg: config: read file /etc/spamassassin/v310.pre
Jan 19 21:07:51 mail amavis[9224]: SA dbg: config: read file /etc/spamassassin/v312.pre
Jan 19 21:07:51 mail amavis[9224]: SA dbg: config: read file /etc/spamassassin/v320.pre
Jan 19 21:07:51 mail amavis[9224]: SA dbg: config: read file /etc/spamassassin/v330.pre
Jan 19 21:07:51 mail amavis[9224]: SA dbg: config: read file /etc/spamassassin/v340.pre
Jan 19 21:07:51 mail amavis[9224]: SA dbg: config: read file /etc/spamassassin/v341.pre
Jan 19 21:07:51 mail amavis[9224]: SA dbg: config: read file /etc/spamassassin/v342.pre
Jan 19 21:07:51 mail amavis[9224]: SA dbg: config: using "/var/lib/spamassassin/3.004002" for sys rules pre files
Jan 19 21:07:51 mail amavis[9224]: SA dbg: config: using "/var/lib/spamassassin/3.004002" for default rules dir
Jan 19 21:07:51 mail amavis[9224]: SA dbg: config: read file /var/lib/spamassassin/3.004002/updates_spamassassin_org.cf
Jan 19 21:07:51 mail amavis[9224]: SA dbg: config: using "/etc/spamassassin" for site rules dir
Jan 19 21:07:51 mail amavis[9224]: SA dbg: config: read file /etc/spamassassin/65_debian.cf
Jan 19 21:07:51 mail amavis[9224]: SA dbg: config: read file /etc/spamassassin/local.cf
Jan 19 21:07:51 mail amavis[9224]: SA dbg: config: using "/var/lib/amavis/.spamassassin/user_prefs" for user prefs file
Jan 19 21:07:51 mail amavis[9224]: SA dbg: config: read file /var/lib/amavis/.spamassassin/user_prefs
Jan 19 21:07:51 mail amavis[9224]: SA dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC
Jan 19 21:07:51 mail amavis[9224]: SA dbg: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC
Jan 19 21:07:51 mail amavis[9224]: SA dbg: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
Jan 19 21:07:51 mail amavis[9224]: SA dbg: plugin: loading Mail::SpamAssassin::Plugin::Rule2XSBody from @INC
Jan 19 21:07:51 mail amavis[9224]: SA dbg: plugin: loading Mail::SpamAssassin::Plugin::Pyzor from @INC
Jan 19 21:07:51 mail amavis[9224]: SA dbg: pyzor: network tests on, attempting Pyzor
Jan 19 21:07:51 mail amavis[9224]: SA dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC
Jan 19 21:07:51 mail amavis[9224]: SA dbg: razor2: razor2 is not available
Jan 19 21:07:51 mail amavis[9224]: SA dbg: plugin: loading Mail::SpamAssassin::Plugin::SpamCop from @INC
Jan 19 21:07:51 mail amavis[9224]: SA dbg: reporter: network tests on, attempting SpamCop
Jan 19 21:07:51 mail amavis[9224]: SA dbg: plugin: loading Mail::SpamAssassin::Plugin::AutoLearnThreshold from @INC
Jan 19 21:07:51 mail amavis[9224]: SA dbg: plugin: loading Mail::SpamAssassin::Plugin::WhiteListSubject from @INC
Jan 19 21:07:51 mail amavis[9224]: SA dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEHeader from @INC
Jan 19 21:07:51 mail amavis[9224]: SA dbg: plugin: loading Mail::SpamAssassin::Plugin::ReplaceTags from @INC
Jan 19 21:07:51 mail amavis[9224]: SA dbg: plugin: loading Mail::SpamAssassin::Plugin::DKIM from @INC
Jan 19 21:07:51 mail amavis[9224]: SA dbg: plugin: loading Mail::SpamAssassin::Plugin::Check from @INC
Jan 19 21:07:51 mail amavis[9224]: SA dbg: plugin: loading Mail::SpamAssassin::Plugin::HTTPSMismatch from @INC
Jan 19 21:07:51 mail amavis[9224]: SA dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDetail from @INC
Jan 19 21:07:51 mail amavis[9224]: SA dbg: plugin: loading Mail::SpamAssassin::Plugin::Bayes from @INC
Jan 19 21:07:51 mail amavis[9224]: SA dbg: plugin: loading Mail::SpamAssassin::Plugin::BodyEval from @INC
Jan 19 21:07:51 mail amavis[9224]: SA dbg: plugin: loading Mail::SpamAssassin::Plugin::DNSEval from @INC
Jan 19 21:07:51 mail amavis[9224]: SA dbg: plugin: loading Mail::SpamAssassin::Plugin::HTMLEval from @INC
Jan 19 21:07:51 mail amavis[9224]: SA dbg: plugin: loading Mail::SpamAssassin::Plugin::HeaderEval from @INC
Jan 19 21:07:51 mail amavis[9224]: SA dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEEval from @INC
Jan 19 21:07:51 mail amavis[9224]: SA dbg: plugin: loading Mail::SpamAssassin::Plugin::RelayEval from @INC
Jan 19 21:07:51 mail amavis[9224]: SA dbg: plugin: loading Mail::SpamAssassin::Plugin::URIEval from @INC
Jan 19 21:07:51 mail amavis[9224]: SA dbg: plugin: loading Mail::SpamAssassin::Plugin::WLBLEval from @INC
Jan 19 21:07:51 mail amavis[9224]: SA dbg: plugin: loading Mail::SpamAssassin::Plugin::VBounce from @INC
Jan 19 21:07:51 mail amavis[9224]: SA dbg: plugin: loading Mail::SpamAssassin::Plugin::ImageInfo from @INC
Jan 19 21:07:51 mail amavis[9224]: SA dbg: plugin: loading Mail::SpamAssassin::Plugin::FreeMail from @INC
Jan 19 21:07:51 mail amavis[9224]: SA dbg: plugin: loading Mail::SpamAssassin::Plugin::AskDNS from @INC
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.