tailieunhanh - Apress - Smart Home Automation with Linux (2010)- P46

Apress - Smart Home Automation with Linux (2010)- P46:Linux users can now control their homes remotely! Are you a Linux user who has ever wanted to turn on the lights in your house, or open and close the curtains, while away on holiday? Want to be able to play the same music in every room, controlled from your laptop or mobile phone? Do you want to do these things without an expensive off-the-shelf kit | CHAPTER 6 DATA SOURCES If you d prefer for them to go into your traditional Linux mail box then you can change the path to the following path var mail steev You can then retrieve them like this and watch the system download the e-mails getmail -r Some services notably Google Mail do not allow you to download all your e-mails at once if there are a lot of them. Therefore you need to reinvoke the command. This helps support the bandwidth of both machines. Tip If you have only one external mail account then calling your configuration file getmailrc allows you to omit the filename arguments. You can then view these mails in the client of your choice. Here s an example mutt -f externalmail Make sure you let getmail finish retrieving the e-mails otherwise you will get two copies of each mail in your inbox. If you are intending to process these e-mails with procmail as you saw in Chapter 5 then you need to write the incoming e-mail not to the inbox but to procmail itself. This is done by configuring the destination thusly destination type MDA_external path usr bin procmail unixfrom True Twitter The phenomenon that is Twitter has allowed the general public to morph into self-styled microcelebrities as they embrace a mechanism of simple broadcast communication from one individual to a set of many followers. Although communications generally remain public it is possible to create a list of users so that members of the same family can follow each other in private. One thing that Twitter has succeeded in doing better than most social sites is that it has not deviated from its original microblogging ideals meaning that the APIs to query and control the feeds have remained consistent. This makes it easy for you or your house to tweet information to your feeds or for the house to process them and take some sort of action based upon it. In all cases however you will have to manually sign up for an account on behalf of your house. 208 CHAPTER 6 DATA SOURCES

TỪ KHÓA LIÊN QUAN