[Mailman-Users] Formatting archives that don't have newlines...

Bausch, Jean Jean.Bausch at fujitsu-siemens.com
Wed Jul 2 12:58:46 CEST 2003

Pug Bainter (pug at pug.net) said something that sounded like:
>   I have a problem (mostly with M$ Outlook users) that when a user
>   sends a message without newlines in it (because their email client
>   auto-displays it "properly" for them), the message gets stored just
>   like this in the archives as expected. The problem is that when the
>   message gets pulled up in the webpages, they will appear as one long
>   line instead of being formatted to the size of the browser width.

If you have a UNIX system take a look at the fmt command.
On Solaris I modified the mail aliases as follows (in /etc/aliases):

testlist:      "|LC_CTYPE=en_US fmt -s -w 80|/export/home1/mailman/mail/mailman post testlist"

LC_CTYPE may be needed for the correct treatment of Umlauts and other special characters.
Without the variable those were simply erased by fmt.

Jean Bausch

More information about the Mailman-Users mailing list