Package Details: postfix-mta-sts-resolver 1.3.0-1

Git Clone URL: https://aur.archlinux.org/postfix-mta-sts-resolver.git (read-only, click to copy)
Package Base: postfix-mta-sts-resolver
Description: Daemon for MTA-STS policy enforcement for postfix
Upstream URL: https://github.com/Snawoot/postfix-mta-sts-resolver
Licenses: MIT
Submitter: tohojo
Maintainer: tohojo
Last Packager: tohojo
Votes: 3
Popularity: 0.000002
First Submitted: 2018-10-05 14:56 (UTC)
Last Updated: 2023-03-26 20:21 (UTC)

Latest Comments

frittentheke commented on 2023-03-26 19:22 (UTC) (edited on 2023-03-26 19:25 (UTC) by frittentheke)

Thanks for adding a systemd service unit with the recent release! There is a little bug in there though:

  • install -m0644 "$srcdir/mta-sts-daemon.service" \
  • "$pkgdir/usr/lib/systemd/system/mta-sts-daemon.system"

You are using the ".system" extention for the destination file, it should be ".service" though.

And if I may suggest to rename the unit to: "postfix-mta-sts-resolver.service" to align with how the software itself is called.

kseistrup commented on 2023-03-06 20:33 (UTC)

Re: postfix-mta-sts-resolver.install: fgrep is deprecated, please use grep -F instead.

frittentheke commented on 2023-02-27 22:20 (UTC) (edited on 2023-02-27 22:22 (UTC) by frittentheke)

It would be nice to provide a systemd unit (and to create a user) with this package to allow starting and running it as daemon right away.

See the Debian package (https://packages.debian.org/sid/postfix-mta-sts-resolver) for reference of such a unit: https://salsa.debian.org/debian/postfix-mta-sts-resolver/-/blob/debian/master/debian/postfix-mta-sts-resolver.service

gothmog.todi commented on 2022-12-01 07:13 (UTC)

There is already a bug open about this (https://bugs.archlinux.org/task/76326). In the meantime you can change /usr/lib/python3.10/site-packages/aiohttp-3.8.3.dist.info/METADATA per hand.

cassowarry commented on 2022-12-01 00:32 (UTC) (edited on 2022-12-01 00:33 (UTC) by cassowarry)

Just updated on my server now I get:

    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 583, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 596, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 795, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'charset-normalizer<3.0,>=2.0' distribution was not found and is required by aiohttp

When I interpret that right then charset-normalizer has a version number too high (3.0 > 2.0). I couldn't figure out where the requirement is defined, maybe aoihttp?

tohojo commented on 2021-08-18 12:26 (UTC)

Note that the Redis cache backend doesn't work with this package since upstream is not compatible with aioredis-2.0.0.

tohojo commented on 2019-05-23 14:40 (UTC)

Ah, right, this was actually a bug in the package. Should be fixed in the -3 rev

tohojo commented on 2019-05-22 17:36 (UTC)

Hmm, what config are you using? python-aioredis is an optdepend. Do you get this error even with a config that doesn't use the redis cache?

chrbayer commented on 2019-05-22 17:29 (UTC) (edited on 2019-05-22 17:30 (UTC) by chrbayer)

Missing dependency in version 0.4.5-1:

Mai 22 19:23:11 beta.local mta-sts-daemon[29101]:     working_set = WorkingSet._build_master()
Mai 22 19:23:11 beta.local mta-sts-daemon[29101]:   File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 583, in _build_master
Mai 22 19:23:11 beta.local mta-sts-daemon[29101]:     ws.require(__requires__)
Mai 22 19:23:11 beta.local mta-sts-daemon[29101]:   File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 900, in require
Mai 22 19:23:11 beta.local mta-sts-daemon[29101]:     needed = self.resolve(parse_requirements(requirements))
Mai 22 19:23:11 beta.local mta-sts-daemon[29101]:   File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 786, in resolve
Mai 22 19:23:11 beta.local mta-sts-daemon[29101]:     raise DistributionNotFound(req, requirers)
Mai 22 19:23:11 beta.local mta-sts-daemon[29101]: pkg_resources.DistributionNotFound: The 'aioredis>=1.2.0' distribution was not found and is required by postfix-mta-sts-resolver
Mai 22 19:23:11 beta.local systemd[1]: postfix-mta-sts.service: Main process exited, code=exited, status=1/FAILURE
Mai 22 19:23:11 beta.local systemd[1]: postfix-mta-sts.service: Failed with result 'exit-code'.