This bug was reported automaticaly in connection with IPv6 project.
Our aim is to support IPv6 in all Fedora Core packages so FC6 and RHEL5 will be ready for IPv6.
This package seems to lack IPv6 support as is illustrated in attached log.
Here follows part of scanning log (grep -r F_INET *)/up to 30 lines:
/procmail-3.22/src/network.h:3:#include <sys/socket.h> /* socket() sendto() AF_INET
Created attachment 132366 [details]
Patch to remove IPv4 specific code, replacing with getaddrinfo
Please note that the code will only use the first record returned by
getaddrinfo. So if the subsequent socket fails, we do not retry. This is not
worse than it was in the original code with getservbyname, so not a big
problem, IMHO. Should all records be tries, bigger changes to the logic of the
code would be needed.
The code was not tested beyond compile.
Patch accepted with some modifications. Thanks.