Ahoj, Dňa Fri, 20 Dec 2024 10:50:09 -0500 haines--- via Exim-users <[email protected]> napísal:
> New installation of Debian Bookworm. For mail using mutt and exim4. > No problem receiving mail, but cannot send it (disappears). So I am > sending this message with mail. > > $ swaks > To: [email protected] > === Trying postoffice.omnis.com:25... > *** Error connecting to postoffice.omnis.com:25: > *** IO::Socket::INET6: connect: timeout Note INET6, do you have IPv6 configured properly? > $ telnet localhost 127.0.0.1 > Invalid port name '127.0.0.1'. telnet expects port number as second argument. But anyway, use some form of netcat (nc, ncat), forgot about telnet... > $ wget localhost > --2024-12-19 08:14:27-- http://localhost/ > Resolving localhost (localhost)... ::1, 127.0.0.1 > Connecting to localhost (localhost)|::1|:80... failed: Connection > refused. Connecting to localhost (localhost)|127.0.0.1|:80... failed: Note again IPv6, but anyway, wget is HTTP tool, not related to SMTP. > $ nano /etc/hostname > iskra It has near nothing with localhost. It seems that in your case, the localhost is resolved to both, the IPv4 and IPv6 address (127.0.0.1/::1), and most nowadays hosts will prefer IPv6, if can. Common mistake in dual stack (IPv4/IPv6) hosts is misconfigured firewall, in many cases blocked ICMPv6 (NDP) messages. You can workaround (temporary) it by setting exact family (swaks -4 ...) or use exact IP address. But nowadays, you have to fix your IPv6 stack. regards -- Slavko https://www.slavino.sk -- ## subscription configuration (requires account): ## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/ ## unsubscribe (doesn't require an account): ## [email protected] ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
