Search Results

Search: Posts Made By: waltari2001
2,393
Posted By waltari2001
I've managed to do that with awk: /^Host:/{ ...
I've managed to do that with awk:
/^Host:/{
split($2, h, ":");
subject = "[" $2 "]";
command = "mail -r test@" h[1];
a = $0;
next
}
/^Alert:/{
split($0, h, ": ");
...
2,393
Posted By waltari2001
The outgoing messages resulting from the split...
The outgoing messages resulting from the split will be consumed downstream by our monitoring system, which will convert the email message (headers + body) into an event.

Since the incoming...
2,393
Posted By waltari2001
Thanks DGPickett for you input! The format...
Thanks DGPickett for you input!

The format of the Subject line is described above. The Sender (From) address will be the hostname portion of the value of the "Host:" line (e.g. admin@test1.local)...
2,393
Posted By waltari2001
Actually the Subject header is dynamic and will...
Actually the Subject header is dynamic and will contain the concatenation of the
values of the Alert, Host & Created lines (e.g. Host Down on test1.local:30000 at 2013/06/13 14:11 GMT).

I've...
2,393
Posted By waltari2001
Split email message with procmail
Hi,

I'm using procmail to ingest incoming messages. The goal is to split the message body into chunks and forward those to a different adddress. Here's a sample of the message body:


Group:...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 09:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy