getmail_fetch(1)
π getmail_fetch β the manual page, bestie edition
okay so hi!! you found getmail_fetch(1), which lives in the User Commands section of the manual. this is the tea: it grabs your mail for you. no config file drama, no state, just vibes and messages. let's get into it π
β¨ NAME β¨
getmail_fetch β pull messages out of one or more POP3 or POP3-over-SSL mailboxes and drop them into a maildir, an mboxrd-format mbox file, or hand them off to an external MDA π«Ά
πΈ SYNOPSIS πΈ
getmail_fetch [OPTIONS] SERVER USERNAME PASSWORD DESTINATION
that's it. four little arguments and a bag of options. iconic honestly.
π¦ DESCRIPTION π¦
getmail_fetch goes and fetches your messages from POP3 or POP3-over-SSL mailboxes, then delivers them to a maildir, an mboxrd, or an external MDA. slay.
This command is intended primarily for scripting, which is why it's so chill about everything β it does not require a client-side configuration file, and it does not record any state. no memory, no baggage, main character energy fr fr. β¨
Now, the way it reads the DESTINATION argument is honestly giving choose-your-own-adventure:
- If it starts with a dot or a slash and ends with a slash, it's treated as a path to a maildir. π
- If it starts with a dot or a slash and does not end with a slash, it's treated as a path to an mboxrd file. π
- If it starts with a pipe, it's treated as a path to an external MDA command. π¬
β οΈ bestie, listen: for that pipe case β you can include arguments in the string by separating them with whitespace, but untrusted data must not be used in constructing this string. like, do not do that. that's the whole warning. π
π OPTIONS π
--versionβ shows the program's version number and dips. π-h,--helpβ shows a short usage summary and exits. quick lil recap, no notes.-v,--verboseβ outputs information messages while it's running, so you can watch the whole thing go down. π-q,--quietβ only speaks up on error. silent but deadly (affectionate). π€«-mFILE,--message=FILEβ reads a well-formatted RFC822 message fromFILEand delivers it prior to connecting to the POP server. early bird behavior. π¦-pPORT,--port=PORTβ use portPORTinstead of the default. the defaults are POP3:110, POP3-over-SSL:995. π-d,--deleteβ deletes messages from the server after delivery. gone, deleted, no trace. πβ¨-tTIMEOUT,--timeout=TIMEOUTβ use a timeout ofTIMEOUTseconds instead of the default180. patience is a virtue but it has a limit. β³-a,--apopβ uses APOP authentication. π-s,--sslβ uses POP3-over-SSL. secure queen behavior. ππ
π AUTHOR π
Written by Charles Cazabon and others. we stan. π
π REPORTING BUGS π
Found a bug? Report it to <https://github.com/getmail6/getmail6/issues> β go go go.
π¨ IMPORTANT: include the output of getmail [options] --dump with any bug report. like actually. they need it. it's giving "required", because it is. π
π COPYRIGHT π
Copyright Β© 1998-2026 Charles Cazabon and others.
This is free software; see the file COPYING for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. fr fr, no warranty at all. π
β SEE ALSO β
The full documentation for getmail is maintained in HTML and plaintext formats. See the included files for details. iykyk π¦
and that's the whole page, bestie!! this was getmail 6, dated 2026, and it's the getmail_fetch(1) manual page. go forth and fetch responsibly. mwah πβ¨π«Ά
π¦ where this page comes from
- epel 10: getmail6 6.20.0-2.el10_3 Β· GPL-2.0-only and Apache-2.0
- fedora 43: getmail6 6.20.0-1.fc43
- fedora 43: getmail6 6.20.2-1.fc43 Β· GPL-2.0-only and Apache-2.0
- fedora 44: getmail6 6.20.0-1.fc44
- fedora 44: getmail6 6.20.2-1.fc44 Β· GPL-2.0-only and Apache-2.0
- nixos 26.05: getmail6 6.19.12
- nixpkgs unstable: getmail6 6.21.00
- ubuntu resolute: getmail6 6.19.12-1 Β· GPL-2.0-only
- ubuntu stonking: getmail6 6.19.12-1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms