jiro@shaman.com (Jiro Nakamura) (06/07/91)
Hiya - Yes, yet another question from me. :-) How do I configure sendmail.cf/uux to make sure that I don't have a ^M appended to the end of each line of my mail files? This is quite annoying for my friends that read my mail on other *NIX boxes. - Jiro Nakamura jiro@shaman.com -- Jiro Nakamura jiro@shaman.com The Shaman Group (607) 256-5125 VOICE "Bring your dead, dying shamans here!" (607) 277-1440 FAX/Data
johnk@gordian.com (John Kalucki) (06/08/91)
In article <1991Jun6.210952.10573@shaman.com>, jiro@shaman.com (Jiro Nakamura) writes: |> Hiya - |> Yes, yet another question from me. :-) |> How do I configure sendmail.cf/uux to make sure that I |> don't have a ^M appended to the end of each line of my mail files? |> This is quite annoying for my friends that read my mail on other |> *NIX boxes. |> |> - Jiro Nakamura |> jiro@shaman.com |> -- |> Jiro Nakamura jiro@shaman.com |> The Shaman Group (607) 256-5125 VOICE |> "Bring your dead, dying shamans here!" (607) 277-1440 FAX/Data If you look in the out of the box /usr/lib/aliases file there is an entry that shows you how to run a filter on someone's mail. (Its a uudecoe entry). You could write a quick c program to do what you want (or do it in shell with sed) and pipe all your mail through the filter alias. -John Kalucki johnk@gordian.com
rickert@mp.cs.niu.edu (Neil Rickert) (06/08/91)
In article <1991Jun6.210952.10573@shaman.com> jiro@shaman.com (Jiro Nakamura) writes: > How do I configure sendmail.cf/uux to make sure that I >don't have a ^M appended to the end of each line of my mail files? >This is quite annoying for my friends that read my mail on other >*NIX boxes. This is set in the 'E=' option on the Mailer definition (line beginning with 'M'. If you use 'E=\r\n' you will get the ^M. If you use 'E=\n' or just omit the operand (including the trailing comma) you should not get the ^M. -- =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= Neil W. Rickert, Computer Science <rickert@cs.niu.edu> Northern Illinois Univ. DeKalb, IL 60115 +1-815-753-6940
Irving_Wolfe@happym.wa.com (06/10/91)
In <1991Jun6.210952.10573@shaman.com> jiro@shaman.com (Jiro Nakamura) writes: > How do I configure sendmail.cf/uux to make sure that I >don't have a ^M appended to the end of each line of my mail files? This happens because the sendmail.cf files you received with your distribution expect the default end of line character to be newline (which is normal) but in fact on the NeXT system the default includes a return character. The fix is to edit the mailer section (line begins Muucp), sticking " E=\n," (without the quotes) onto the end of the first line.