Package Details: opensmtpd-extras 5.7.1-5

Git Clone URL: https://aur-dev.archlinux.org/opensmtpd-extras.git (read-only)
Package Base: opensmtpd-extras
Description: EXPERIMENTAL filters, tables, queues, etc. for OpenSMTPd
Upstream URL: https://opensmtpd.org
Keywords: daemon mail mta smtpd
Licenses: custom:opensmtpd
Submitter: wlhlm
Maintainer: wlhlm
Last Packager: wlhlm
Votes: 2
Popularity: 0.004701
First Submitted: 2015-10-27 19:32
Last Updated: 2016-06-24 13:32

Dependencies (19)

Required by (0)

Sources (2)

Pinned Comments

wlhlm commented on 2016-06-24 13:28

Please note that the filters provided by this package are highly experimental and are not ready for a production environment. For more info please read http://article.gmane.org/gmane.mail.opensmtpd.general/3696

Latest Comments

wlhlm commented on 2016-06-24 13:28

Please note that the filters provided by this package are highly experimental and are not ready for a production environment. For more info please read http://article.gmane.org/gmane.mail.opensmtpd.general/3696

wlhlm commented on 2016-04-26 20:04

@BertVoegele Thanks for providing a patch and thanks for using this package!

I had to manually apply the changes since the patch wasn't compatible with the 5.7.1 sources.

BTW, please try to use a pastebin when posting a patch, because the AUR comments seem to break the whitespace resulting in b0rked patches. See https://unix.stackexchange.com/questions/29127/malformed-patch-error-while-applying-the-diff-to-wget-source-with-patch#29130

Please try and see if the problem is fixed now.

(It looks like the OpenSMTPD team will soon release the portable 5.9 release, which I'm hoping to have a ton more (sorely needed) fixes for the -extras package…)

BertVoegele commented on 2016-04-26 07:00

Hi,

filter-dnsbl does use getaddrinfo, but somehow the check against "EAI_NODATA" (usually defined as -5) fails, because of some mess (for details see: http://permalink.gmane.org/gmane.mail.opensmtpd.general/3439 ). The patch below is used against opensmtpd-extras-201602042118 and provides a quick and dirty workaround:

-- extras/wip/filters/filter-dnsbl/filter_dnsbl.c.orig 2016-02-02 22:24:41.000000000 +0000
+++ extras/wip/filters/filter-dnsbl/filter_dnsbl.c 2016-04-26 06:23:29.789999991 +0000
@@ -41,7 +41,11 @@
if (ar->ar_addrinfo)
freeaddrinfo(ar->ar_addrinfo);

- if (ar->ar_gai_errno != EAI_NODATA) {
+/*
+ There seems to be a dispute about defining EAI_NONAME and EAI_NODATA properly in glibc and relatives.
+ Thus, the constants were replaced by their values.
+*/
+ if (ar->ar_gai_errno != -5 && ar->ar_gai_errno != -2) {
log_warnx("warn: session %016"PRIx64": event_dispatch: REJECT address", *q);
filter_api_reject_code(*q, FILTER_CLOSE, 554, "5.7.1 Address in DNSBL");
} else