[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mail headers in alerts
- To: Hobbit user <hobbit (at) hswn.dk>
- Subject: mail headers in alerts
- From: Anna Jonna Armannsdottir <annaj (at) hi.is>
- Date: Fri, 23 Jan 2009 15:09:45 +0000
- Organization: University of Iceland Computing Services
Hi all.
It seems to be difficult to find any information about configuring
headers in the alert messages sent by hobbit.
in the file hobbitserver.cfg there are some lines that define the
mail command:
# For the hobbitd_alert module
MAILC="mail" # Command used to send an e-mail with no subject
MAIL="$MAILC -s" # Command used to send an e-mail with a subject
At our site it is necessary to have a mail header like the following:
Content-Type: text/plain; charset=utf-8
The mail command itself does not seem to facilitate
headers.
Maybe someone knows about a sendmail wrapper that
has a mail like interface. Unfortunately I do not know about
the interface of the mail program, so I am not going to
write this wrapper.
--
Kindest Regards, Anna Jonna Ármannsdóttir, %& A: Because people read from top to bottom.
Unix System Aministration, Computing Services, %& Q: Why is top posting bad?
University of Iceland.