Browsing articles tagged with " gmail"

Backup mail via fetchmail in Ubuntu

Mar 4, 2011   //   by Yue Yu   //   Blogs, Linux  //  No Comments

As gmail has some mail lost issues early this week, I feel it is not safe to put all my mail in one gmail account. I find a little tool in Linux can help me to back up all my mails to my local driver, called fetchmail.

Here is the manual page of fetchmail http://fetchmail.berlios.de/fetchmail-man.html, thanks to Ubuntu, the installation is simple, use command line:

———————————-

sudo apt-get install fetchmail

———————————-

make sure you have the mail server installed, otherwise, run

—————————————–

sudo apt-get install heirloom-mailx

—————————————–

and

——————————–

sudo apt-get install Postfix

——————————–

using the Internet and Smart host option

Then, you should create a control file for Fetchmail, in your home/username folder, create a file called “.fetchmailrc”, put these words in it,

——————————————————————————————————–

poll pop.gmail.com with proto pop3 and options no dns
user “emailaddress” there has password “password” is yourlocalname here options ssl

———————————————————————————————————

I use pop.gmail.com because I want to back up my gmail account, it can be replaced by any other mail service. Replace emailaddress with your email account, password with your password, and yourlocalname with your local machine user name.

Then, use the following command to set up a correct permission.

—————————-

chmod 710 .fetchmailrc

—————————-

To run the fetchmail, use command

—————-

fetchmail -vk

—————-

The fetched mail will be in your /var/spool/mail folder, it can also be import into some mail software like Evolution.

Ubuntu 实用技巧

Nov 12, 2010   //   by Yue Yu   //   Blogs, Linux  //  No Comments

上午终于有时间把Ubuntu升级到10.10,没发觉跟10.04有什么区别,又花了一下午把系统完善了一下,顺便在这里记录些体会

====================================================

xp下面的gmail notifier用了很顺手,ubuntu下也有,不是那个难看的checkgmail,这个跟任务栏结合了很好,
还支持密码环以及最新的notify-osd

具体安转见这里:

http://ahadiel.org/docs/gmail-notifier

要开机自动启动的话在系统=》首选项=》启动应用程序,添加一个新程序,名字随便起,命令为:python /usr/bin/gmail-notifier.py

====================================================

虽然昨天股票跌掉2W,但是股还是要抄的,今天研究了下怎么在Linux上炒股,我用的软件是通达信

首先,毫无悬念地apt-get wine,不用自己编译,装了就行

wine安装中文字体在网上能搜到很多教程,但Ubuntu 10.10+wine1.21的情况下不用折腾,wine可以直接调用Ubuntu的中文字体,不过文泉驿在wine里面不怎么好看,稍后再说

然后在wine里装上通达信,我用的是中信建投版的

用命令env LANG=zh_CN.UTF-8 wine /home/#username#/.wine/dosdevices/c:/#tdx_path#/TdxW.exe启动

有些乱码不要怕,在软件里面系统设置里改一下字体就可以了

要是提示缺少dll文件的话,用winetricks安装一下就可以了,具体步骤:

wget http://www.kegel.com/wine/winetricks

chmod +x winetricks

sh winetricks

图形界面中选择需要的(比如msxml3)函数库就可以了

====================================================

升级之后发觉firefox里按backspace不能后退了,于是google了一下,解决方案如下:

Type “about:config” in the address bar of Firefox and press Enter.
`Filter` for ‘browser.backspace_action’ and change its value to 0 (zero).

====================================================

最后送上一张桌面截图

Connect with Facebook
October 2017
S M T W T F S
« Oct    
1234567
891011121314
15161718192021
22232425262728
293031