POP3/IMAP4 mail retriever with Maildir and command delivery (python3 fork).
Summary of features:
- Retrieve mail from an unlimited number of POP3/IMAP4 mailboxes and servers.
- Support for POP3-over-SSL and IMAP-over-SSL, as well as SDPS
WARNING: even with SSL, "no certificate or key validation is done." so
that getmail does not detect or protect from man-in-the-middle attacks.
- Support for multidrop or domain mailboxes.
- Safe and reliable delivery to qmail-style Maildirs, as well as program
(pipe) delivery for use with arbitrary external MDAs. Includes an MDA
for mbox files that supports mboxrd format and fcntl-type flock locking.
- Does not destroy information by rewriting mail headers.
- Does not cause mail loops by doing SMTP injection, and therefore does
not require that you run an MTA (like qmail or sendmail) on your host.
- Can remember which mail it has already retrieved, and can be set to
only download new messages.
- Written in Python, and therefore easy to extend or customize.
- Simple to install, configure, and use.
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-getmail6 listed in the above command, you can pick from the names under the Packages section.
===> The following configuration options are available for py312-getmail6-6.20.02:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
This fork of getmail 5.14 was modified to work with python3. It is work in
progress, and bugs should be reported at:
https://github.com/getmail6/getmail6/issues
mail/getmail6: Update 6.20.01 => 6.20.02
This release brings some bug fixes and new features.
Changelog:
- new MDA_smtp destination for SMTP delivery.
- fix: --idle exits 127 on untagged response before IDLE, as suggested,
by looping untagged responses.
- fix: make malformed POP3 UIDL/LIST abort only the affected account.
- fix: crash when unsolicited IMAP FLAGS response precedes FETCH body.
https://github.com/getmail6/getmail6/releases/tag/v6.20.02
PR: 299860
Approved by: osa, vvd (Mentors, implicit)
MFH: 2026Q4
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.
Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
mail/getmail6: Update to upstream 6.18.1 release
This release includes a few more changes beyond the last commit, which
was version 6.18 plus one commit.
https://github.com/getmail6/getmail6/releases/tag/v6.18.1
Reported by: Michael Büker <freebsd@michael-bueker.de> (maintainer)
Approved by: Michael Büker <freebsd@michael-bueker.de> (maintainer)
mail/getmail6: emergency hotfix for 6.18
A feature added in 6.18 causes problems. When trying to use all files in
--getmaildir, getmail will choke on oldmail-* files, which are likely to be
present. Since this is the new default behaviour for running getmail without
any arguments, this change is very likely to break many installations.
PR: 257024
Reported by: Michael Büker <freebsd@michael-bueker.de> (maintainer)
mail/getmail6: Update to version 6.8
This update fixes:
- slow mail retrieval (up to 1s per message)
- an uncaught exception on socket error
https://github.com/getmail6/getmail6/releases/tag/v6.8
PR: 250188
Submitted by: m.bueker@berlin.de (maintainer)
mail/getmail6: fix build errors on package-as-user
This build fails as user, because in python3 __pycache__ files are always
created with root as owner. Therefore, the @${CHMOD} command in
post-install: fails when run as user. Upon closer inspection, the
@${CHMOD} operation is superfluous. File permissions in the final package
are fine without it.
PR: 249175
Submitted by: m.bueker@berlin.de (maintainer)