Package Details: fetchmail 6.4.4-1

Git Clone URL: https://aur.archlinux.org/fetchmail.git (read-only, click to copy)
Package Base: fetchmail
Description: A remote-mail retrieval utility
Upstream URL: http://www.fetchmail.info
Licenses: GPL
Submitter: arojas
Maintainer: amish
Last Packager: amish
Votes: 7
Popularity: 0.63
First Submitted: 2019-04-03 06:19
Last Updated: 2020-04-27 04:30

Latest Comments

IdleGandalf commented on 2020-02-21 00:15

It should be also possible to use python3 now.

fetchmail-6.4.2 (released 2020-02-14, 27473 LoC):

<h2>BREAKING CHANGES:</h2>

haawda commented on 2020-01-21 17:39

Sorry for flagging this. It was a prerelease that came out.

haawda commented on 2019-10-13 16:47

pkgname=fetchmail
pkgver=6.4.1
_majver=6.4
pkgrel=1
pkgdesc="A remote-mail retrieval utility"
arch=('x86_64')
url="http://www.fetchmail.info"
license=('GPL')
depends=('openssl')
makedepends=('python2')
optdepends=('tk: for using fetchmailconf'
            'python2: for using fetchmailconf')
options=('!makeflags')
source=("https://sourceforge.net/projects/fetchmail/files/branch_${_majver}/${pkgname}-${pkgver}.tar.xz"
         'fetchmail.tmpfiles' 'fetchmail.sysusers' 'fetchmail.service')
sha1sums=('1aadf078ed8fb1b6c93e9126cc0375b1f740301a'
          '199ba749c829f22286c34aabcf8b7dd5bbd7c0e6'
          'b113cb61a866eff53cd8f113d084a99f01bf5d77'
          '0fc1870a33d1e0efb70169ddf1b6adc9d253e076')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  sed -i 's|/usr/bin/env python|/usr/bin/env python2|' fetchmailconf.py
  PYTHON=python2 ./configure --prefix=/usr --with-ssl=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -d -o 90 -g nobody "${pkgdir}/var/lib/fetchmail"
  cd -
  install -D -m644 fetchmail.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/fetchmail.conf
  install -D -m644 fetchmail.sysusers "$pkgdir"/usr/lib/sysusers.d/fetchmail.conf
  install -D -m644 fetchmail.service "$pkgdir"/usr/lib/systemd/system/fetchmail.service
}

eimis commented on 2019-05-13 18:29

hey why not add --syslog fetchmail arg to the .service ExecStart, so that journald logs it?

Also, how about omit the -d 900 arg, and instead have set daemon 900 in /etc/fetchmailrc, so that people can change the polling interval without overriding the .service file?

Lastly, could chown fetchmail.fetchmail /var/lib/fetchmail /etc/fetchmailrc; chmod 600 /etc/fetchmailrc be done on install? Otherwise fetchmail refuses to start saying the executing user must own the config file and the .pid file can't be created

And thanks for maintaining this!!