pop3browser(1)

πŸ’– pop3browser β€” the manual, bestie edition πŸ’–

okay so welcome to pop3browser(1), the teeniest little manual page in the whole pop3browser cinematic universe 🌈


✨ NAME ✨

pop3browser β€” a small perl script to access POP3 mail accounts 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

pop3browser is a perl script that uses libnet-perl to give you access to POP3 mail accounts without fetching the messages. like, you get to peek behind the curtain without taking the whole curtain home πŸŽ€

so here's the slay: you can use pop3browser to delete unwanted mails (SPAM πŸ’€), especially when they come with huge attachments, before you download them over your sad little low-bandwidth connection. the --limit option of fetchmail is lowkey perfect for filtering out those giant mails, which you can then go inspect with pop3browser. iconique teamwork fr fr ✨

the program supports normal POP3 authentication and APOP. both. she does both. πŸ’…


🌸 USAGE 🌸

pop3browser greets you with a short copyright note and a command line prompt. the settings for a mailbox (host, password, etc.) have to be specified in a configuration file (similar to fetchmail, iykyk). then pop3browser understands the following commands, bestie:

  • hosts β€” list available hosts specified in .pop3browserrc πŸ‘‘
  • login n β€” log into host no. n; use hosts to get a list of available hosts
  • o(pen) n β€” same as login
  • apop n β€” same as login but uses APOP
  • c(lose) β€” delete messages marked for deletion and close current connection
  • list β€” list sizes and message numbers of the mails on the account
  • s(how) n β€” show header and some body lines of mail number n
  • m(ailbox) β€” list message number, size, sender and subject for each mail
  • d(elete) n β€” delete mail number n
  • undel(ete) n β€” undelete mail number n
  • k(ill) expr β€” delete mails matching expr in header πŸ”₯
  • u(nkill) expr β€” undelete mails matching expr in header
  • q(uit) β€” delete messages marked for deletion and quit program
  • exit β€” same as quit
  • help β€” print a command summary 🫢

πŸŽ€ CONFIG FILE πŸŽ€

the definitions for a mailbox go in ~/.pop3browserrc. one line per mailbox. lines starting with # are ignored (they're just vibes). each definition must be in the following form:

hostname <tab or space> userid <tab or space> password <tab or space> protocol (optional)

for example:

#definition for bar@pop.foo.com
#pop-server          UID passwd protocol
pop.foo.com          bar s3cr3t apop
#end of definition

recognised options for the protocol are pop3 and apop. if no protocol is specified, the command login/open assumes pop3. the command apop ignores the protocol option (she said what she said πŸ’…).


🌈 customising the header filter 🌈

to override the default header-filter of the show command, you can specify a custom set of keywords in ~/.pop3browserrc. lines starting with @headpattern or @bodylines are parsed by pop3browser. settings for the header-filter must be in the following form:

@headpattern <tab or space> = <tab or space> "<keyword1>","<keyword2>",....

the filter keywords are matched against the start of a header line. settings for the number of body lines to show have to be in the following form:

@bodylines <tab or space> = <tab or space> <Number>

example, since we love a visual:

@headpatterns = "From:","To:","Subject:","Date:","CC"
@bodylines = 10
the file ~/.pop3browserrc must only be readable for the owning user. pop3browser corrects other file modes automatically. she does not play about your privacy, periodt πŸ”’βœ¨

⭐ SEE ALSO ⭐

fetchmail(1)


πŸ‘‘ AUTHOR πŸ‘‘

Christoph Baumann <cgb@debian.org>


πŸ’œ THANKS πŸ’œ

  • Jorrit 'J"o' Fahlke, for his overhaul of the config file parser 🧚
  • Takeshi Hamasaki, for the headpattern patch 🌸

and that's the whole page bestie!! this one came to you courtesy of the Debian Project, dated Nov. 2003 πŸ’– go forth and delete your spam, mwah 🫢✨