milter-greylist

LOW
maintainer amish 1 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The source is a standard tarball from a plausible project mirror (ftp.espci.fr), building the project's own C code, which is normal for AUR packages; the non-whitelisted host is not inherently dangerous as it hosts the official source.

Triggered rules

Low AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a standard tarball from a plausible project mirror (ftp.espci.fr), building the project's own C code, which is normal for AUR packages; the non-whitelisted host is not inherently dangerous as it hosts the official source.

1 higher static finding superseded - not the current verdict (shown for transparency)
Medium source=() URL on a non-standard host source_untrusted_domain

One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).

  • PKGBUILD:13 source=("http://ftp.espci.fr/pub/${pkgname}/${pkgname}-${pkgver}.tgz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Amish <contact at via dot aur>
2# Contributor: Steven Hiscocks <steven[at]hiscocks[dot]me[dot]uk>
3pkgname=milter-greylist
4pkgver=4.6.4
5pkgrel=3
6pkgdesc="A stand-alone milter written in C that implements the greylist filtering method."
7url="http://hcpnet.free.fr/milter-greylist/"
8arch=('x86_64' 'i686')
9license=('BSD')
10depends=('libspf2' 'opendkim')
11makedepends=('libmilter')
12backup=('etc/mail/greylist.conf')
13source=("http://ftp.espci.fr/pub/${pkgname}/${pkgname}-${pkgver}.tgz"
14 'milter-greylist-4.5.11-warning.patch'
15 "${pkgname}.service")
16md5sums=('def021c0ff43e4c3f1ae2f8bb997ceac'
17 '0901deb488277f8fed50158cffb726a2'
18 '51665e97390bf7df11bb509bfb57544b')
19
20prepare() {
21 cd "${srcdir}/${pkgname}-${pkgver}"
22 patch -p0 < ../milter-greylist-4.5.11-warning.patch
23}
24
25build() {
26 cd "${srcdir}/${pkgname}-${pkgver}"
27 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib --with-libspf2=/usr --with-libopendkim=/usr --enable-dnsrbl --enable-postfix
28 make
29}
30
31package() {
32 cd "${srcdir}/${pkgname}-${pkgver}"
33 make DESTDIR="${pkgdir}" install
34 install -m0644 greylist2.conf "${pkgdir}/etc/mail/greylist.conf"
35 sed -i -e 's,#dumpfile .*,dumpfile "/var/lib/milter-greylist/greylist.db",g' \
36 -e 's,#socket .*,socket "/var/lib/milter-greylist/greylist.sock",g' \
37 -e 's,#user .*,user "milt-gl:milt-gl",g' \
38 "${pkgdir}/etc/mail/greylist.conf"
39 install -Dm0644 "${srcdir}/${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
40 echo "u milt-gl - - /var/lib/milter-greylist" | install -Dm644 /dev/stdin "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
41 echo "d /var/lib/milter-greylist 0750 milt-gl milt-gl" | install -Dm644 /dev/stdin "${pkgdir}/usr/lib/tmpfiles.d/${pkgname}.conf"
42 sed -ne '/This software is available under/,$ p' README | install -Dm644 /dev/stdin "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
43 rmdir "${pkgdir}"/var{/lib{/milter-greylist,},}
44}
45
46# vim:set ts=2 sw=2 et:
47

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 Low 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion