Re: python/smtplib fails on rebuilt system
Florian has written:
Check if exim is really listening on port 25:
# netstat -plant | grep ':25 '
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 3271/exim4
to see if the problem is related to resolving "localhost".
Very good and thanks, Florian! Though I have tried various ways to incorporate
localhost into my exim4 config, it is _not_ listening on 127.0.0.1.
netstat only shows the host IP address for port 25. Furthermore
the SMTP call works for the host IP address.
I'll clearly have to get the exim4 config sorted out.
Thanks again, Florian!