do not use SOCK_DGRAM but SOCK_STREAM in getaddrinfo() otherwise some strange
interfaces may cause smtp process to fail at startup