Which hammer do I use?


 
Thread Tools Search this Thread
Operating Systems Solaris Which hammer do I use?
# 1  
Old 09-26-2013
Which hammer do I use?

So, I've got a email account that I need to monitor for a particular subject line and\or that contains a specific string in the body. Normally, I'd use Outlook for this but in this case, it will only work if Outlook is running. Those particular rules aren't supported server side.

So, I have considered using a Solaris based approach but it appears to be rather complicated. I'd have to somehow get the server added to the AD, then connect it to exchange and set up emailing polling. Only then can I consider creating the needed rules to search for email as I mentioned in the first paragraph.

Is it really this hard or am I missing some vastly easier approach?
# 2  
Old 09-26-2013
Perhaps a .forward file will work for you that points to a script. I usually will create a specific email account for this purpose and in .forward have this

| /usr/local/bin/foobar.sh

And in foobar.sh have something like

Code:
while read a
do 
ifSubject=`echo ${a} | grep "Subject: ...."`
if ! [[ -z {ifSubject} ]] 
then
  insert magic here
fi
.
.
done

this can also be done by using /etc/aliases and not a .forward file
Some admins disable the use of .forward files so you need to insure you can use one if use .forward instead of /etc/aliases.
# 3  
Old 09-26-2013
Getting Solaris to work with an LDAP server, much less Active directory is a real pain. So just don't go there. I would use Thunderbird as your mail client. It can pull email from exchange just like Outlook. Thunderbird should be able to sort your mail. I have used this setup in the past at work.
This User Gave Thanks to bitlord For This Post:
# 4  
Old 09-26-2013
Quote:
Originally Posted by bitlord
Getting Solaris to work with an LDAP server, much less Active directory is a real pain. So just don't go there. I would use Thunderbird as your mail client. It can pull email from exchange just like Outlook. Thunderbird should be able to sort your mail. I have used this setup in the past at work.
Ya, that's the approach I'm working on now. Would you implement something like this for a production system?
# 5  
Old 09-26-2013
We had this working on SUN thin client workstations. So yes would use it on production systems.
This User Gave Thanks to bitlord For This Post:
# 6  
Old 09-26-2013
Quote:
Originally Posted by bitlord
We had this working on SUN thin client workstations. So yes would use it on production systems.
Great, that's what I needed to know... I'll see if I can spin this up. If I've got any questions about implementations, I'll post back here in case you can share any tips.
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question