Package Details: imapfilter 2.8.2-1

Git Clone URL: https://aur.archlinux.org/imapfilter.git (read-only, click to copy)
Package Base: imapfilter
Description: A mail filtering utility for processing IMAP mailboxes
Upstream URL: https://github.com/lefcha/imapfilter
Licenses: MIT
Submitter: Snowman
Maintainer: buzo
Last Packager: buzo
Votes: 51
Popularity: 0.006187
First Submitted: 2007-03-31 22:38 (UTC)
Last Updated: 2023-12-29 22:42 (UTC)

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

1 2 3 4 Next › Last »

hcartiaux commented on 2022-10-27 13:57 (UTC)

Updated, thanks for the reminder, I missed your initial comment @Freso.

Freso commented on 2022-10-26 20:55 (UTC)

Just a repeat of my comment from >1 year ago, quoting the wiki directly: “Warning: The downloaded source filename must be unique because the SRCDEST directory can be the same for all packages. For instance, using the version number of the project as a filename potentially conflicts with other projects with the same version number. In this case, the alternative unique filename to be used is provided with the syntax source=('unique_package_name::file_uri'); e.g. source=("$pkgname-$pkgver.tar.gz::https://github.com/coder/program/archive/v$pkgver.tar.gz").”

Freso commented on 2021-06-17 09:57 (UTC)

Please rename the source file so that it is unique. See the warning at https://wiki.archlinux.org/title/PKGBUILD#source for details.

muhaha commented on 2020-10-02 09:18 (UTC) (edited on 2020-10-06 14:07 (UTC) by muhaha)

Update: It turns out that the time on my server had gotten badly out of sync because I for some reason didn't have the systemd-timesyncd.service enabled, but after enabling it everything worked like a charm :D

Old problem
I am not able to make imapfilter work with imap.fastmail.com

imapfilter: initiating SSL connection to imap.fastmail.com; error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
imapfilter: login request to muhaha@fastmail.com@imap.fastmail.com failed
stack traceback:
        [C]: in ?
        [C]: in function 'error'
        /usr/share/imapfilter/account.lua:81: in field '_check_result'
        /usr/share/imapfilter/account.lua:100: in field '_login_user'
        /usr/share/imapfilter/account.lua:59: in global 'IMAP'
        ./accounts.lua:3: in main chunk
        [C]: in function 'require'
        /home/services/.imapfilter/config.lua:198: in main chunk

It used to work, but for some reason it stopped. However, it looks like it works with imap.gmail.com
Does anyone have an idea to was coursing the problem?

I am not able to make imapfilter work with imap.fastmail.com

imapfilter: initiating SSL connection to imap.fastmail.com; error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
imapfilter: login request to muhaha@fastmail.com@imap.fastmail.com failed
stack traceback:
        [C]: in ?
        [C]: in function 'error'
        /usr/share/imapfilter/account.lua:81: in field '_check_result'
        /usr/share/imapfilter/account.lua:100: in field '_login_user'
        /usr/share/imapfilter/account.lua:59: in global 'IMAP'
        ./accounts.lua:3: in main chunk
        [C]: in function 'require'
        /home/services/.imapfilter/config.lua:198: in main chunk

It used to work, but for some reason it stopped. However, it looks like it works with imap.gmail.com
Does anyone have an idea to was coursing the problem?

mathieu.clabaut commented on 2020-06-08 19:52 (UTC)

Hello, The build failed because I'm using a not default buildir which then generate a CFLAGS containing /, which in turns makes sed fail.

Replacing / with # in the sed expression solves the problem:

   sed -i "s#MYCFLAGS =#MYCFLAGS=${CFLAGS}#" src/Makefile                                                
   sed -i "s#MYLDFLAGS =#MYLDFLAGS=${LDFLAGS}#" src/Makefile  

hcartiaux commented on 2020-01-22 11:57 (UTC)

My bad, it's fixed

rahix commented on 2020-01-20 08:24 (UTC) (edited on 2020-01-20 08:26 (UTC) by rahix)

Sorry, I should have clarified it better: It needs to be added to the make all in line 28 for the CA file path to be picked up correctly. Like this:

make PREFIX=/usr SSLCAFILE=/etc/ssl/certs/ca-certificates.crt all

rahix commented on 2020-01-15 23:17 (UTC)

The certificate validation issue was fixed upstream but it seems the CA file path is not correct for Archlinux. Adding the following setting to the make invokation in PKGBUILD seems to fix the issue:

SSLCAFILE=/etc/ssl/certs/ca-certificates.crt

hiq commented on 2019-09-07 21:27 (UTC)

imapfilter currently does not validate the host when it checks the certificate of a server, meaning that as long as the certificate returned is valid (for any host), imapfilter will proceed.

More details here:

https://github.com/lefcha/imapfilter/issues/142 (2016!)

Holzhaus commented on 2018-10-03 15:03 (UTC)

v2.6.12 should fix the SNI issue when connecting to Google's servers.