roehling / postsrsd

Postfix Sender Rewriting Scheme daemon
325 stars 39 forks source link

Update postsrsd.c #117

Closed spzeidler closed 3 years ago

spzeidler commented 3 years ago

Some OSes like e.g. the BSDs have the connection inherit O_NONBLOCK. The result does not prevent postsrsd from working, but causes a syslogged error for roughly every other connection from cleanup. Removing the flag is a NOP if it's not set, so this change doesn't require an OS-dependent ifdef.

roehling commented 3 years ago

Thank you for the pull request!