splitmail(1)

πŸ“¦ version 2.7.19, in opensuse-leap 16.0

πŸ’Œ splitmail(1) β€” NAME πŸ’Œ

okay so this is the splitmail(1) page from the General Commands Manual, and bestie, splitmail is literally the icon that splits a large mail message into MIME-compliant partial messages. No cap β€” that's the whole vibe. πŸ’…

✨ SYNOPSIS ✨

splitmail  [-d] [-v] [-s splitsize] [-p prefix] [-i  id-suffix] [file-name]

πŸ¦‹ DESCRIPTION πŸ¦‹

The splitmail program will take an email message and break it up into smaller pieces using the "message/partial" type defined by MIME, the proposed Internet standard for multimedia mail formats. iconic behavior, honestly ✨

By default it will take the message either from standard input or the named file, and will produce a set of partial message files with names like /tmp/split.1 for the first part, and so on. The prefix /tmp/split. can be overridden using the -p option. the way that output naming is so predictable πŸŽ€

Here's the flag vibe check, bestie:

  • -d β€” if the -d option is specified, the mail will actually be delivered. πŸ’Œ
  • -v β€” if -v is specified, the verbose flag will be passed to sendmail. πŸ—£οΈ
  • -s splitsize β€” overrides the default chunk size; same job as the SPLITSIZE environment variable. πŸ”’
  • -p prefix β€” overrides the prefix /tmp/split. used for names like /tmp/split.1. πŸŽ€
  • -i id-suffix β€” makes splitmail generate the pieces with similar (but not identical) message-id fields, in a format which allows them to be easily correlated with one another and which end with the suffix provided on the command line after -i. πŸ”—

The default chunk size for splitting messages is 250000 at most sites, though this is also a compile-time option. This can be overridden with the -s switch, or with the environment variable SPLITSIZE. numbers, but make it fashion πŸ”’

Messages smaller than the chunk size will not be turned into partial messages, but will be written to a single file or delivered as a single message. so tiny emails get to stay whole, periodt πŸ’š

🌈 ENVIRONMENT 🌈

SPLITSIZE overrides the default chunk size. she's the environment variable in charge πŸ‘‘

Setting SPLITSIZE to, say, 4000000 will effectively ensure that your messages are unlikely ever to be split, but it may cause them to be rejected by some mail transport software. careful bestie, that's a big number and a real warning 🚨

πŸ”₯ SEE ALSO πŸ”₯

πŸ’€ BUGS πŸ’€

If the size of the input is just on the fencepost, and if it is coming from a file rather than standard input, splitmail will sometimes estimate the number of parts wrong and will have to write out an extra part. this is harmless but annoying 😭

It is especially annoying if the estimate was 2 but the real number was 1. not the estimate being two when the real number was one πŸ’€

legal tea time, bestie β˜• β€” here's the whole thing, word for word:

Copyright (c) 1992 Bell Communications Research, Inc. (Bellcore) Permission to use, copy, modify, and distribute this material for any purpose and without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies, and that the name of Bellcore not be used in advertising or publicity pertaining to this material without the specific, prior written permission of an authorized representative of Bellcore. BELLCORE MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY OF THIS MATERIAL FOR ANY PURPOSE. IT IS PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.

🌸 AUTHOR 🌸

Nathaniel S. Borenstein, Bellcore β€” author icon behavior 🫢


πŸ’– okay that's the whole splitmail(1) page, bestie. Source/version: Release 1. Footer date: not listed (the footer just has splitmail(1) on the right). go split those messages with main character energy 🌟

πŸ“¦ where this page comes from