--Peter C. Norton wrote on 17.01.2002 11:30 -0800: > You mean something like > > # mail -s "my mail" [EMAIL PROTECTED] < /var/log/my_log > > ???
Probably not, logs often contain 8bit-characters and they need the proper encoding - at least with stock courier :) #!/bin/sh ( echo "Subject: Whatever you want, 7bit-chars only To: [EMAIL PROTECTED] Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit "; cat /var/log/my_log ) | sendmail [EMAIL PROTECTED] Roland _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
