Hi Sorry. I forgot to mention that the server has courier (POP/SMTP/IMAP) installed (so sendmail was replaced and mail (mailx) does not work).
Is it still possible? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Roland Schneider Sent: Thursday, January 17, 2002 12:26 PM To: 'courier' Subject: Re: [courier-users] Sending mail from the console --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 _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
