COURIERFAX(8)
π COURIERFAX(8) π
okay bestie, sit down, hydrate, and let me tell you about courierfax β it's section 8 of the manual, and yeah it's giving "system admin business" but it's actually so fun. no cap. π¦
β¨ NAME β¨
courierfax β send faxes via E-mail. yes literally. E-mail in, fax out. 2005 called and honestly it's still slaying. π π
β¨ SYNOPSIS β¨
sendmail [5558888@fax]
sendmail [5558888@fax-lowres]
sendmail [5558888@fax-ignore]
sendmail [5558888@fax-cover]
β¨ DESCRIPTION β¨
so here's the tea. the courierfax module β if your system administrator has enabled it, which is a big if β sends E-mail messages by fax. like, you address an E-mail to the address 5558888@fax and it faxes a printed copy of that message to the phone number you specified. that's it. that's the whole vibe. π₯
but babes, listen: the ability to send faxes may be restricted, or not available. so don't come for me if it's not there. π
your E-mail message may be a MIME-formatted message. all attachments get concatenated and sent together in a single fax transmission. courierfax only knows how to handle certain kinds of attachments, though. obviously β and I need you to hear me on this β trying to fax a voice .mp3 attachment is not going to work. like, at all. π
courierfax knows how to handle plain text, Postscript, and PDF MIME attachments. it might also know what to do with other kinds of attachment, depending on some optional software installed by the system administrator. and courierfax may also be able to read GIF, PNG, and JPEG images. iconic range, honestly. π
Note β Color images are converted to black-and-white. no color faxes, bestie. monochrome only. π€π€
images are faxed with one image per fax page (limiting image sizes to about 1600x2200).
the message will be returned as undeliverable if courierfax doesn't know how to handle a MIME attachment. and ooh, cute detail: if the first MIME section in the E-mail message is plain text, that text appears on the fax cover page. the sender/recipient information for the cover page is taken from the message's headers. main character energy for your headers, fr fr. π
the default courierfax configuration tries to resend the fax for up to eight hours, after which the message is returned as undeliverable. the message will also be returned as undeliverable if the fax transmission is interrupted. the return bounce will state how many pages were successfully transmitted. receipts, but make it tragic. π
@fax may also be followed by additional keywords that specify extra options:
-lowresβ send a low-resolution fax. smaller, quicker, lowkey grainy. β¨-ignoreβ ignore any attachment types thatcourierfaxdoesn't understand. it'll just... skip past them. unbothered. π-coverβ send a cover page only. this is useful in limited situations, with something like this in adot-courier(5)[1]file:
./Maildir
! 5552222@fax-cover
this .courier file faxes the contents of a message, sans any attachments, immediately upon receipt in addition to saving the message in the mailbox. two things at once, she's multitasking. π«Ά
β¨ FAX TRANSMISSION RECEIPT β¨
the sender will receive a fax transmission receipt if the sender requests an ESMTP delivery status notification. that's the -N option to sendmail(8)[2]:
sendmail -Nsuccess 5556666@fax <messagefile
when using other mail software, consult the mail software's documentation for instructions on requesting ESMTP delivery status notifications. i can't help you with that one, bestie, that's between you and your mail software. πΈ
β¨ ADDITIONAL DIALING OPTIONS β¨
courierfax configurations that are generated by the webadmin tool for North American environments usually restrict phone numbers to a standardized ten-digit telephone number, so that the fax address is always <aaabbbcccc@fax>, and courierfax silently performs any needed conversion to dial the number (such as adding β1β or dropping the local areacode). silent. no notes. she just does it. π
it is also possible to reconfigure courierfax so that it accepts any telephone string and dials it without any preprocessing. if so, the address may contain any combination of digits, letters βAβ, βBβ, βCβ, and βDβ β representing the four extra dialing tones not normally accessible from most telephone keypads β the symbols β*β and β#β, or the following characters:
Wβ most faxmodems pause and wait for a secondary dialtone, before dialing the rest of the number.-β the dash is replaced by a comma in the dialing string. a comma results in most faxmodems pausing for two or three seconds before dialing the rest of the number. it is not possible to enter a comma directly, because commas are used to separate multiple E-mail addresses. use dashes instead of commas in the dialing string.courierfaxreplaces all dashes with commas before dialing the faxmodem. yes, it's a little cursed, just go with it. π+β similarly,courierfaxreplaces all pluses with β@β characters before dialing. an β@β character results in most faxmodems waiting for the line to be silent for five seconds before dialing the rest of the number. it is not possible to enter a β@β directly as part of the telephone number itself, for the obvious reasons. use pluses instead of β@βs in the dialing string.courierfaxreplaces all pluses with β@β before dialing the faxmodem. the obvious reasons, bestie. the obvious ones. π
β¨ CONFIGURATION β¨
the slightly arcane configuration file, /etc/courier/faxrc, sets up which dialing strings are valid. lowkey arcane. highkey arcane. we're being honest here. π§
the default configuration file contains judicious comments that explain all the parameters, and what they do. the default configuration file disables courierfax by rejecting all telephone numbers. so if you're wondering why nothing works β that's why. the file must be edited in accordance with the embedded instructions, in order to enable faxing. read the comments, they're literally right there. π
using webadmin is highly recommended. upon demand, webadmin will install a suitable configuration file for the North American numbering plan, that receives all telephone numbers as ten-digit numbers, and adds any required long distance prefix, or removes the local area code, as appropriate. or, webadmin will install a bare-bones configuration file that dials any requested phone number, without any editing or transformation. pick your fighter. π
β¨ BUGS β¨
there is no good way to sleep until a modem lock is released, so we poll every minute. that's it. that's the bug. we poll. every minute. she's doing her best. π«Ά
β¨ SEE ALSO β¨
courier(8)[3].
β¨ AUTHOR β¨
Sam Varshavchik
- Author
β¨ NOTES β¨
dot-courier(5)β https://www.courier-mta.org/dot-courier.htmlsendmail(8)β https://www.courier-mta.org/sendmail.htmlcourier(8)β https://www.courier-mta.org/courier.html
aaaand that's the whole page, bestie!! π this is Courier Mail Server, dated 01/10/2026, and it was written by S. Varshavchik β go send a fax, or don't, honestly, it's up to you, the faxrc decides your fate anyway. mwah. πβ¨β
π¦ where this page comes from
- ubuntu stonking: courier-faxmail 2.0.6-1 Β· GPL-3+~with-OpenSSL-exception
- Copyright 2002-2007 S. Varshavchik. See COPYING for -->
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms