milter-greylist

maintainer amish · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
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-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 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