Bug#365928: grep on inetd.conf only considers numeric addresses

Mike debian at good-with-numbers.com
Wed May 3 19:23:45 UTC 2006


Package: exim4-base
Version: 4.61-1

/etc/init.d/exim4 uses

 grep -E -q "^ *([0-9.]+:)?smtp" /etc/inetd.conf

to find an inetd line.  But openbsd-inetd also allows hostnames before
the service name, so something more like

 grep -E -q '^[[:space:]]*((\*|[[:alnum:].-]+):)?smtp' /etc/inetd.conf

is required.


openbsd-inetd  0.20050402-1




More information about the Pkg-exim4-maintainers mailing list