chrisdevette / pulledpork

Automatically exported from code.google.com/p/pulledpork
GNU General Public License v2.0
0 stars 0 forks source link

Mail feature request #92

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Mail notification when new rules are downloaded or other events
2.
3.

What is the expected output? What do you see instead?
This could be a cool feature when you schedule your rule downloads.

Original issue reported on code.google.com by lysem...@gmail.com on 27 Aug 2011 at 10:19

GoogleCodeExporter commented 9 years ago
You can leverage cron(8) to do this notification for you, as the standard 
output of pulledpork is suitable for an email notification.

1. Set MAIL variable in your crontab(5)
2. Profit

Alternately you can pipe the output of pulledpork into mail(1) or similar to 
more granularly control the mail output.

Original comment by phatbuck...@gmail.com on 2 Sep 2011 at 1:01

GoogleCodeExporter commented 9 years ago
Thanks for your feedback.
Your suggestion would be a easy step but it also gives a lot of "SPAM", meaning 
that you will get a mail  at each scheduled run even when no new rules are 
downloaded.

A simple flag could be set when rules were downloades and applied to your 
system and at the end the flag could be read and a mail would be send or not.

Settings such as smtp server, sender, receiver etc could be applied to the 
conf-file

Original comment by lysem...@gmail.com on 2 Sep 2011 at 6:12