BUG Community

Welcome! Log In

JOcanto's Blog

BugMail (Installing Postfix in your Bug)

Overview

 

With so many free mail services out there why would you like to have your own. Well, I can think in a few reasons: probably you want to create a portable e-mail both, or simply you want to play around with your bug. Another good reason would be that phoneME doesn't support https which it's need it if you want to use any free mail service (yahoo, gmail, etc), and having postfix is a simple and portable solution if you want to send emails with your bug. After battling with OE and Postfix (I'm new to OE), I was able to build and install my own postfix packages on my bug. By no means this is the only and/or the best way to setup postfix on the BUG platform, just want to share the result. Alright, let's get start it and transform your bug into a mail server with postfix.

Download and Install postfix
  1. Download the files:   libpcre0_7.6-r4_armv6.ipk , libpcreposix0_7.6-r4_armv6.ipk , postfix_2.2.12-r0_armv6.ipk .
  2. Transfer the packages to your BUG from terminal, shell or any other SCP program:
  3. $ scp *.ipk root@10.10.10.10:/home/root
  4. Then, log into the BUG as root and install the packages.
  5. $ ssh root@10.10.10.10 root@10.10.10.10's password: ... root@10.10.10.10:~# ipkg install libpcre0_7.6-r4_armv6.ipk ... root@10.10.10.10:~# ipkg install libpcreposix0_7.6-r4_armv6.ipk ... root@10.10.10.10:~# ipkg install postfix_2.2.12-r0_armv6.ipk ...

If you want, you can build the packages yourself.(finsprings has very good post on how to build packages for the BUG http://community.buglabs.net/finsprings/posts/19-Pulling-in-an-OE-Recipe)

Setup Posfix

 

We need to make some changes to the postfix configuration file:

  1. Open the main.cf file :
  2. root@10.10.10.10:~# vi /etc/postfix/main.cf
  3. Change the domain and add the USB network: 
  4. mydomain = [YOUR-DOMAIN] # Optional mynetworks = 127.0.0.1/32 192.168.0.0/24; 10.10.10.0/32
Start Postfix

 

To start postfix just type this:

root@10.10.10.10:~# /etc/init.d/postfix start

If everything went well, you should see something like this:

Starting Postfix... BusyBox v1.01 (2009.06.02-16:49+0000) multi-call binary Usage: find [PATH...] [EXPRESSION] postfix/postfix-script: starting the Postfix mail system

NOTE: Sometimes I get an error when try to start postfix, but just try to start it again and you should be fine

Sample App

 

Here you can find a very simple app that uses postfix to send e-mails. For simplicity the app uses socket to send the emails instead JavaMail API.

Post Comments

Add Your Comment!

Log in to leave a comment or Create an account

I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon. Máy tập cơ bụng fitness

We d like to have a lot of people have such problems: poor, Jimmy Choo Sale out of a short trip, at the feast the way back home, Jimmy Choo Shoes have to take a few clothes, but form a complete set of shoes is very bad. Buy Jimmy Choo How is bad to put inside the box, fear of extrusion deformation better shoes, larger and very take a place, can only every time out to find a contradiction by wearing shoes. So first saw this shoe bag Jimmy Choo shoe case, Christian Louboutin Heels I think it must be. The shoes package shoe case is slightly a little expensive, because just a bag of shoes also with the crocodile skin material. Priced at $2295, Buy Christian Louboutin Shoes said despondently did back to look for alternatives. Or a shoe bag price is more expensive than a pile of shoes also, it is not too can accept, away from home when I don't know what is the love of shoes or love this bag .
louboutin uk

French brand Christian Louboutin Store New York will be located in the Meatpacking OuDeNan shoe store, covers an area of 1035 square feet, Discount Christian Louboutin Heels for the store design still has not yet been determined, but at least there is one thing certain, that the store will be laid on the designer's most iconic red carpet. Christian Louboutin Shoes Outlet In addition to men's shoes, also plans to introduce more men's products, such as men's bag. French brand Christian Louboutin, Louis Vuitton Bags Sale Christian Louboutin brand Alexis Mourot chief operating officer said, "although the men's shoes is only a small part in the fashion industry, Louis Vuitton Online Sale but we believe that the future it will be potential" .

Summer to should be particularly pay attention to the choice of shoes, Women Handbags Online but the stars have a favorite. Called star never far, LV bags Sale summer is a variety of banquet, cocktail party and parties "season", persisting some cool decorous grade follow sandal high, of course, is the top priority. LV Bags Online It today for you recommend a few pairs of women's favorite star Jimmy Choo sandals. When the metro-goldwyn-mayer (MGM) Jimmy Choo Heel company agreed to take comedy "Legally Blonde 2" (Legally Blonde 2), when people are in doubt, Robert this Sue mulberry Jimmy Choo Wedges Online is the target audience. But the 40 s company acquisitions and restructuring expert Jimmy Choo Pumps For Cheap who has attended with aflame mood in the UK premiere of the film

very beautiful Gucci handbag in a shop. I love it so much that I swear to bring home. But Christian Louboutin Shoes when I saw the price, I gave up. Do you have a similar experience Authentic Louis Vuitton Bags as me? I mean, you have been a designer handbag, because it cost too gucci outlet online much? I fear that many women have had similar experiences as me. And most michael kors people do not want to spend thousands of dollars on a designer handbag. We gucci outlet have many Louis Vuitton Sunglasses things to do and we have many people support.Our wallets do not allow us to waste any small amount of money. It is really a big problem: we dream, have our own nfl jerseys outlet designer bag, but we can not be true because we have not enough money. Louis Vuitton Purses Are there ways to buy designer bags at very

Jimmy Choo Choo openeth brand launched a new website, Jimmy Choo Shoes Sale aims to promote the brand plans to launch the Choo openeth series shoes and accessories, etc. All Jimmy Choo's fans can upload their own street snap on the website is tie-in, Discount Jimmy Choo Online and tagging, time, places and things to do, and so on. Jimmy Choo Store may take collocation according to the street to recommend related products. Of course the most important thing is to accept many net friends. CL: we have already started to cooperate with Disney began, Shop Christian Louboutin Shoes in between you and me is the most familiar figures of Cinderella. Who else can more love than Cinderella shoes fantastic characters? Buy Christian Louboutin Heels Now I can't give the information. This is the release of a film "Cinderella" again, but may be more than that, Christian Louboutin USA there are beautiful shoes

Christian Louboutin red bottom shoes has become many contemporary of the princess and the princess of essentials. Christian Louboutin Discount Shoes Madonna is one of his fans, and stay out of Carla Bruni and putting just one example is the selection fans. Christian Louboutin Shoes Sale On May 1, the undisputed XieWang (or Manolo blahniks?) In London's design museum launched his first retrospective. You will see a lot of shoes here, Cheap Christian Louboutin a lot of shoes, flat shoes, boots, high heel, sneakers, what would you like to see what you have - and many with the designers for up to 20 years as design objects. Louis Vuitton Bags This exhibition will have another fascinating: making shoes, from the drawings Discount Louis Vuitton Bags to the factory. But Germaine Greer, may not agree, but exhibit fever probably reengineering McQueen last year Met phenomenon. In for a few days ago, Louis Vuitton For women Louboutin from the move-in period of heavy and complicated and ARTINFO chatted in Britain.

Host: actually what do you think of fashion? Jimmy Choo Heels What fashion is, how do you think of fashion? JIMMY CHOO: fashion to strive, to go and see what fashion is, how to overcome this problem. Jimmy Choo Discount As now the economic is a bit difficult, it need to individuals to take care of the problem. As has just started to do some cheap shoes. Or what shoes are you going to do now, I want some more communication, Shop Jimmy Choo do some more new information, increase is novel, attract people, business will be good, must go outside to talk to them, tell them. Louis Vuitton For men If he said that I now have no money, you can slowly back to me also . I like to wear white clothes. Why is that? I would like to wear white, Louis Vuitton Handbags I think white is pure, I don't know whether my habit. Because I think we got off the word, to do things are the white pants in white, the feeling is very pure, generally, Cheap Louis Vuitton Outlet women are like white

But, perhaps, I might see her in the field or the garden, and then there would be no great difficulty: it was the formal knocking at the door, with the prospect of being gravely ushered in by Rachel, to the presence of a surprised, uncordial mistress, that so greatly disturbed me. My wish, however, was not gratified. Mrs. Graham herself was not to be seen; but there was Arthur christian louboutin outlet online playing with his frolicsome little dog in the garden. I looked over the gate and called him to me. He wanted me to come in; but I told him I could not without Christian Louboutin Outlet his mother's leave. 'I'll go and ask her,' said the child. 'No, no, Arthur, you mustn't do that; but if she's not engaged, just ask her to come here a minute. Authentic Christian Louboutin Shoes Tell her I want to speak to her.' He ran to perform my bidding, and quickly returned with his mother. How lovely she looked with her dark ringlets streaming in the light Christian Louboutin Online summer breeze, her fair cheek slightly flushed, and her countenance radiant with smiles.
Christian Louboutin Shoes Outlet

Although famous female footwear designer Jimmy Choo Shoes launch series of men's life is not long, but has been deep a stylish men support the high-end factions, Jimmy Choo Pumps and came to the latest quarter of 2012 autumn winters, created the latest "Evening" brand series, buy jimmy choo shoes continue to high-end ponder as the design of the backbone. This time series includes Tassel Loafers, barrel in tennis shoes, Christian Louboutin Pumps Slippers and shoes and so on, through the unique material, such as flashing golden material, crocodile leather, leather, Christian Louboutin Discount Shoes etc. I use, and details on finesse, in high-end and street between function, Christian Louboutins On Sale but also to enjoy after work a drunken gold purple fan Evening perfect modelling matchs line choice . here

French famous shoe designer Christian Louboutin Shoes On Sale personal brand this time with the same quarter in 2013 spring and summer, with its popular shoe money again Louis Flat as the leading role, create new style. Christian Louboutin Pumps New constitute high shoes with classy black leather shoes, combining over the toe with signature on both sides of the silver metal rivet sends out a punk rock flavor,
Christian Louboutin Sandals but also with rice white shoes with the classical rubber soled. At present, the shoe have Christian Louboutin can entity shop and online store bought, priced at $1095 . Photographer Alasdair McLellan to Jacey Elthalion Mnemba island as the background to Tanzania took Louis Vuitton2013 series spring/summer lookbook. Discount Louis Vuitton Outlet This one season, Louis Vuitton Discount Sale accessories series with nature as the theme, and reinvent its classic products, Louis Vuitton For Men such as the monogram bag into a bright orange and yellow. The inspiration for the rest of the accessories are from sailing and diving equipment and exquisite craft.

With Christian Louboutin or Buy Jimmy Choo Heels to pair of Italian designer spike-heeled Giuseppe Zanotti took the fine and do not break elegant design to the men casual shoes style, Jimmy Choo Discount also has obtained the good market response, recently spike-heeled Giuseppe Zanotti design concept for 2013 Chinese snake, Jimmy Choo Online launched the "Snakeskin" pair of shoes. The high help modelling "Snakeskin" adopt high grade snake skin. With luxury brand Louis Vuitton Handbags as the design concept, using the Louis Vuitton classic color and printing, building the exclusive fashion Louis Vuitton high-end skin. Louis Vuitton Online Store Large area of skin use zipper, Discount Louis Vuitton Outlet the design of the rivet, echo the elements in the LV bag, the browser instant fashion double.

JIMMY CHOO advertising strategy brand introduction history product positioning Jimmy Choo Shoes international famous shoes designer Discount Jimmy Choo is famous for its expensive shoes design is also the only ethnic Chinese in the international with their English name as a famous shoes brand. Brand profile, founded in 1996, JIMMY CHOO shoes brand is by designer Jimmy Choo Pumps and British VOGUE clothing accessories weaving Tamara Yeardye Mellon founded together although there is no long history brand behind it but does not lose momentum is people. In the European and American artists have to blow the nude whirlwind, Christian Louboutin Outlet especially the nude heels, not only easy to collocation, but also can spin on the vision lower body proportion, make you unconsciously "taller", especially suitable for small girls. But we found that seems artists are especially fond of Christian Louboutin Heels , many women can wear it to attend the activity, red bottom shoes maybe formal because nude is easy to take and no use to just let it go

Wipe a heady seize the spirit of the red as the symbol of the Christian Louboutin, Christian Louboutin Shoes let he performed. In an interview, he had so describe the impulse: "like the red sole shoes with lipstick on, Red Bottom Heels let a person do not consciously want to kiss, and showed the toes, but also very sexy." Their shoes in addition to the price does not poor, that the high with awe and depressing, but also good, click here basic don't need to wear the shoes of people walk, they need - easily create beautiful leg. Below is KHUONG vu NGUYEN for Christian Louboutin filming advertisements.
French boutique brand Louis Vuitton, Discount Louis Vuitton Outlet is by the eponymous founder Louis Vuitton Malletier founded in Paris in 1854, the brand started with luggage, Louis Vuitton For Sale initially in the mid and late 19th century, its products by Slavic and Latin is a royal love, and from 1893 to 1936, Louis Vuitton Handbags to become the world's famous brands

Jimmy Choo weak perfume expresses a kind of strength and beauty. Bright and attractive temperament, Jimmy Choo Online self-confident, intelligent, fun and full of fashionable feeling, the fragrance exudes fruit fragrance has contemporary feeling extremely, the deep connotation of warm, Jimmy Choo High Heels rich and woody plant. This fragrance inspired by modern women's qualities: strong, vibrant, beautiful and attractive personality, Here faint with a mysterious and sexy charm. With women that shiny dazzling, Jimmy Choo weak perfume is a pure and fresh and contemporary sweet atmosphere, evolved into a gentle perceptual gauze. Christian Louboutin is a high-end shoe brands in France, the red sole is their most obvious sign, Red Bottom Shoes the sign of the source has a legend story. On one occasion, he saw a female assistant on your toe nail polish, bright red color suddenly spurred his inspiration, is red besmear is on the sole, Cheap Christian Louboutin unexpectedly, effect is surprisingly well, at this point, wipe a heady seize the spirit of the red as the symbol of the Christian Louboutin UK , let he performed.

HW-<p><a href="http://www.lvbagsoutletofficialwebsite2.com/">Louis Vuitton Bags</a> is the history of France's most outstanding leather,in Paris in 1854 opened the first suitcase <a href="http://www.lvbagsoutletofficialwebsite2.com/luggages-c-20.html">louis vuitton sale</a> shop name in its own brand.Over the past century has been to advocate refined,quality,comfortable "travel philosophy",starting as a design basis.<a href="http://www.lvbagsoutletofficialwebsite2.com/">louis vuitton outlet</a> the name has now spread throughout Europe,became a symbol of the finest travel products.<a href="http://www.lvbagsoutletofficialwebsite2.com/women-shoulder-bags-c-1_2.html">louis vuitton bags outlet</a> store's goods sold to all over the world,quality is guaranteed,and the audience free postage.If you do not want a good Christmas gift,then hurry to the <a href="http://www.lvbagsoutletofficialwebsite2.com/men-messenger-bags-c-12_15.html">louis vuitton bags on sale</a> store to order it.<br>

People sometimes think that they can only own one makeup case juicy couture cheap. This is a silly notion because for most people, the opposite will be true juicy couture wholesale: they will need two or more carriers to fit their ever-changing needs wholesale juicy couture. For example, one woman might need a large container in her bathroom juicy couture online outlet, a tiny wallet from her purse and a medium-sized sack for overnight stays out of the area.?

» All comments
» Comments RSS