Zedan IT Blog

IT definitions, discussions and more

Category Archives: Internet & Web

Galaxy DUOS second SIM voice call problem during data comnection


I have Galaxy Grand smart phone,  and I like it as it has what I need for mobile connectivity,  suitable screen size in addition to the dual SIM feature.  I use the first SIM card for data connections and voice calls and the second SIM for voice calls.

After I setup every thing and started to use it I noticed a strange problem, that several people told me that when they call me,  they have difficulty to reach me on the second SIM and I started to receive many SMS from the operator informing me that people tried to call me and could not reach me.  At that time I believed that the quality of service that the operator provides is declining!!

But few weeks ago one of my colleagues who use S4 mini ( which is DUOS as well ) that he has the same problem and it seems that the problem when there is a data connection established by the first SIM.   I tried it practically, and I found it TRUE.

It was sad for me 😦 till I found that it is an option in Galaxy DUOS.   In Android 4.x go to SIM Card Manager,  there you will find an option called “Receive incoming calls” unchecked,  check it, and it will tell you that the data connection will be slower,  accept that and the problem will be solved.  For me I did not feel that the data connection, email, web browsing, Facebook, or any of applications like these gone slow.

Recieve Incoming Calls


Daily backup script for MDaemon (or other servers)

Here I will present a simple backup script for MDaemon mail server on windows 2003 in a simple, fast and efficient way.

The good thing about MDaemon server that you can simple backup the configuration & mail folders and then replace it on a freshly installed server and you get the same mail server you have before, so why not making a script to back these folders automatically.

Please note that to use this script you must configure MDaemon to start as a windows service.

Below is a simple batch file containing commands to stop the MDaemon, backup files & folders then start MDaemon again.   In this batch file I use the NTbackup solution, but ofcource you can replace this with a simple xcopy batch file.   I always prefer NTbackup for compression and verification.

Suppose you have a disk E: that you will take backup on,  the following script will create a folder for backup every day.

Create a folder in C:\ and name it C:\scripts , then Open notepad and place the following commands and save them as backup.bat

D:\MDaemon\app\MDLaunch.exe /stop

md “%date%”
cd “%date%”

echo Mail Server Windows Backup Started at: %date%_%time% >>BackupLog.txt

C:\Windows\system32\NTBACKUP.EXE backup “@C:\scripts\WinBackup.bks” /n “MAILBACKUP” /d “MAILBACKUP %date% %time%” /v:yes /r:no /rs:no /hc:off /m normal /j “Mail Server Daily Backup” /l:s /f “E:\%date%\MAILBACKUP.bkf”

echo Mail server Windows Backup Completed at:  %date%_%time% >>BackupLog.txt


 This will create new folder and rename it by today’s date and place the backup  “MAILBACKUP.bkf”  inside it.  Remember to create the BKS file for the NTbackup program (e.g. winbackup.bks) in the scripts folder  which will include the MDaemon folders.   For more information refer to my post on windows 2003 backup.

The first command is stop the MDaemon service and the last command is to start the MDaemon service again.

I use the echo commands to create a log file of the backup.

I hope this gave you an idea on automating backup secripts, and you can use it in other servers, for example sql server by stopping the service, copy the database files then starting the sql service again.

If you like this article the please leave a comment and if you would like to share with an article or a tip please send it to  ” mohamed@mzedan.com “

Rejected email with “No verifiable sender address” error

We had some specific domains won’t accept messages from email server, and users always recieve failure message.  When analyzed the failure message, it seems that the other server actually accpet the message and started the transfer, howeve after transfer complete the message is returned with the following error:

550 No verifiable sender address in message headers

Every was configure correctly on the mail server, and email transfer was going fine for other domains, and actually we were confused.   I had a look at the DNS records to see if there is something wrong, abd actually I did not find something wrong, but I noticed something different from what I did in the previous domains I worked in configuring them.

In our domain, the MX record pointed to the IP address of the mail server, but I remembered that before in another domain I made it point to the A record, so I decided to change it to see if it will help.

The A record was   mail.company.com points to the IP address of the mail server, and I changed the MX record topoint to that A record instead of the IP address.   After changing this every thing was going fine.

If you have comment please share it and if you would like to share an article or a tip please send it to mohamed@mzedan.com


Changing Headers in MDdaemon email server

Recently we were asked to acquire a new domain for the company and start to implement it to be our main web domain name and to map email accounts to it.   The company already had another domain names for years with .net extension and the new domain was with .com

We have responded to the request and acquired the new domain, chnaged the DNS records and MX records to point to the new domain and then we have configured email alias with the new domain for the existing email accounts, and finally reconfigured email clients to use the new alias when sending email.   The company uses MDaemon email server v.12 and every thing was going fine till we had some complains that there are certain domain refuse to accept email from the company’s usesr and it was considered spam.  and failure message sent by the other mail server contained something like this:

Transfer Complete  Wed 2011-11-16 03:27:58: <– 554 sorry, Spam detected by SpamAssassin (#5.3.4)

And other mail servers replied with something similar considering it was spam.

After deep analysis we noted that the problem was in the domain translation for the mail server and the mail clients, that is the MDaemon was configured originally to be a .net domain, while the mail client send email as .com domain,   Spam filters consider this as spam.

After searching on the internet and the knowledge base on MDaemon web site we found a good option that fixed this and simplified our work.  The Option was “Header Translation” Under Setup > Default Domain & Servers:

We have added the existing header header text:  company.net  and the New header test: company.com

Since then, no more spam failuer messages

If you have comment please share it and if you would like to share an article or a tip please send it to mohamed@mzedan.com

What is Google AdSense



There is so much talk about how the web changes traditional business models.  In the most basic sense, a business model is the method of doing business by which a company can sustain itself — that is, generate revenue. The business model spells-out how a company makes money by specifying where it is positioned in the value chain.  

Radio and later television programming has been broadcasted over the airwaves free to anyone with a receiver for much of the past century. The broadcaster is part of a complex network of distributors, content creators, advertisers (and their agencies), and listeners or viewers.     Who makes money and how much is not always clear at the outset.     The bottom line depends on many competing factors.   Internet commerce gave rise to new kinds of business models.   The web is also likely to reinvent tried-and-true models. Advertising is a perfect example.  The Web has popularized the advertising model and broadened its applicability to a wide array of goods and services.

Advertising Model

The web advertising model is an extension of the traditional media broadcast model. The broadcaster, in this case, a web site, provides content (usually, but not necessarily, for free) and services (like email, IM, blogs) mixed with advertising messages in the form of banner ads. The banner ads may be the major or sole source of revenue for the broadcaster. The broadcaster may be a content creator or a distributor of content created elsewhere. The advertising model works best when the volume of viewer traffic is large or highly specialized.

What is Google AdSense?

AdSense is an ad serving application run by Google Inc.  Website owners can enroll in this program to enable text, image, and video advertisements on their websites. These advertisements are administered by Google and generate revenue on either a per-click or per-impression basis.     In Q1 2010, Google earned US$2.04 billion ($8.16 billion annualized), or 30% of total revenue, through AdSense.

Google’s earns most of its revenue by allowing other website owners to advertise on their search result pages. All this is managed through a program they call AdWords.

Now individuals can earn a share of the revenue that Google earns from AdWords by displaying these same text ads on their site.  In other words, they’re helping Google advertise and get paid a percentage of what Google earns.    This program is called AdSense.

Every website owner should at least consider the program.  Even if the site is just for information purposes, the owner can still participate and make decent money with AdSense — or at least enough to fund his website. 


How AdSense works?

  • The webmaster inserts the AdSense JavaScript code into a webpage.
  • Each time this page is visited, the JavaScript code display content fetched from Google’s servers.
  • Google’s servers use a cache of the page to determine a set of high-value keywords. If keywords have been cached already, advertisements are served for those keywords based on the AdWords bidding system.
  • For site-targeted advertisements, the advertiser chooses the page(s) on which to display advertisements.
  • Search advertisements are added to the list of results after the visitor performs a search.
  • Because the JavaScript is sent to the Web browser when the page is requested, it is possible for other website owners to copy the JavaScript code into their own webpages. To protect against this type of fraud, AdSense customers can specify the pages on which advertisements should be shown. AdSense then ignores clicks from pages other than those specified.

How much can a site owner earn with AdSense?

A site owner will earn per ad that is clicked, the commission he receives per click depends on how much advertisers are paying Google for the particular ad.    The site owner will earn a share of that amount.  The earnings range from 2 cents to $15 per click, and he can login to his account at any time and see the total amount of revenue he has generated that day, week, month, year, etc.

What is Web 2.0

Web 2.0

Introduction to Web 2.0

Web 2.0 is about online interactivity and linking people through web technologies.  In a sense Web 2.0 is a buzzword used to signify new and developing Web technologies. In addition to the widely recognized sites, there are also many thousands of websites that take advantage of Web 2.0 technologies.  The concept of Web 2.0 is a move away from static websites to a more interactive and dynamic World Wide Web.

Internet users no longer want a one-way interaction with a web page. Visitors are looking for a chance to get involved though user-friendly interface. Whether to leave comments upload photos share music or to be involved in a community, it is clear that the needs of the user are evolving as quickly as the Internet itself.

A Web 2.0 site gives its users the free choice to interact or collaborate with each other in a social media dialogue as creators of user-generated content in a virtual community, in contrast to websites where users (consumer) are limited to the passive viewing of content that was created for them.

The Rise of Web 2.0

The term began its rise in popularity when O’Reilly Media and MediaLive hosted the first Web 2.0 conference in 2004. In their opening remarks, John Battelle and Tim O’Reilly outlined their definition of the “Web as Platform”, where software applications are built upon the Web as opposed to upon the desktop.

Key Web 2.0 services/applications:

There are a number of Web-based services and applications that demonstrate the foundations of the Web 2.0 concept, and they are already being used to a certain extent in education.  These include social-networking sites, blogs, wikis, video-sharing sites, hosted services, content syndication, podcasting and content tagging services.     These are not really technologies as such, but services built using the building blocks of the technologies and standards of the Internet and the Web.


An example of a Web 2.0 Social Networking application


LinkedIn      (Relationships Matter)

LinkedIn is a business-oriented social networking site. Founded in December 2002 and launched in May 2003, it is mainly used for professional networking. As of 9 August 2010 (2010 -08-09), LinkedIn had more than 75 million registered users, spanning more than 200 countries and territories worldwide. The site is available in English, French, German, Italian, Portuguese and Spanish.


 Some LinkedIn facts

  • The site has over 75 million members
  • A new member joins approximately every second
  • Executives from all Fortune 500 companies are members


With 75 million users, LinkedIn is ahead of its competitors Viadeo (30 million) and XING (9 million).  The membership grows by a new member approximately every second.  About half of the members are in the United States and 11 million are from Europe. With 3 million users, India is the fastest-growing country as of 2009.  The Netherlands has the highest adoption rate per capita outside the US at 30%.  LinkedIn recently reached 4 million users in UK and 1 million in Spain.


The purpose of the site is to allow registered users to maintain a list of contact details of people they know and trust in business. The people in the list are called Connections. Users can invite anyone (whether a site user or not) to become a connection.    LinkedIn also allows users to research companies with which they may be interested in working. When typing the name of a given company in the search box, statistics about the company are provided. These may include the ratio of female to male employees, the percentage of the most common titles/positions held within the company, the location of the company’s headquarters and offices, or a list of present and former employees.

The feature LinkedIn Answers, similar to Yahoo! Answers, allows users to ask questions for the community to answer. This feature is free and the main difference from the latter is that questions are potentially more business-oriented, and the identity of the people asking and answering questions is known.

The searchable LinkedIn Groups, feature allows users to establish new business relationships by joining alumni, industry, or professional and other relevant groups. LinkedIn groups can be created in any subjects and by any member of LinkedIn. Some groups are specialized groups dealing with a narrow domain or industry whereas others are very broad and generic in nature.

In October, 2008, LinkedIn revealed plans to opening its social network of 30 million professionals globally as a potential sample for business-to-business research. And, in doing so it’s testing a potential social-network revenue model-research that to some appears more promising than advertising.

 Application Platform

In October, 2008, LinkedIn enabled LinkedIn has launched its OpenSocial-based application platform called InApps – an answer to the platforms found on social networks like Facebook and MySpace which is called “applications platform” that allows other online services to be embedded within a member’s profile page. For example, among the initial applications were an Amazon Reading List that allows LinkedIn members to display books they are reading, a connection to Tripit, and a Six Apart, WordPress and TypePad application that allows members to display their latest blog postings within their LinkedIn profile.

Apps won’t be allowed to use third party ad networks – instead, they’ll have to work with LinkedIn’s ad system and will be allowed to charge users for individual goods, and can also implement a paid subscription service (launch partner Box.net is using this model).

LinkedIn and Business

LinkedIn is the most powerful social networking site to help grow business.  It differs from Twitter, Facebook and YouTube in that it focuses on business.     If someone (whether a professional or business owner) wants to hang with the big players—a place where connections are made, leads are generated, and deals go down—then he needs to spend more of his time on LinkedIn.      LinkedIn has become an essential tool for employers for headhunting and employee validating, and is used by business-to-business (B2B) marketers seeking for potential partners and buyers.

Business organizations usually generate and promote their business in LinkedIn by creating a company profile; it will list everyone who works there and some information about the company and make the company looks complete.

Business also starts groups and promotes them through discussions and asking questions.  With Groups, it can build thought leadership, share expertise, email newsletters, market its brand and grow its network.

Types of e-Commerce (EC)

What is e-commerce?

Electronic commerce, commonly known as e-commerce or eCommerce, or e-business consists of the buying and selling of products or services over electronic systems such as the Internet and other computer networks.    Modern electronic commerce typically uses the World Wide Web at least at some point in the transaction’s lifecycle, although it can encompass a wider range of technologies such as e-mail as well.

Types of e-commerce:

1.      B2B (Business-to-Business)

Companies doing business with each other such as manufacturers selling to distributors and wholesalers selling to retailers.  Pricing is based on quantity of order and is often negotiable.

Examples of B2B:

  • Alibaba (http://news.alibaba.com) based in Hangzhou, China which makes buyers and suppliers around the world to do business online
  • Euroffice (http://www.euroffice.co.uk) based in London, UK which is a supplier of stationery and office supplies online.
  • SpeedSend (http://www.speedsend.com) based in Cairo, Egypt which is a B2B procurement service for office & technology supplies

2.      B2C (Business-to-Consumer)

Businesses selling to the general public typically through catalogs utilizing shopping cart software.  They are companies offer their products or services for sale to consumers rather than to other businesses, as in B2B.    B2C often refers to the online selling of products, which is known as e-tailing.

Examples of B2C:

  • Amazon (http://www.amazon.com) the online bookseller based in Washington, USA.  It started as an online bookstore, but soon diversified, selling DVDs, CDs, computer software, electronics, apparel, furniture, food, and toys.
  • Souq (http://www.souq.com)  Member of Jabbar Internet Group.  It is an e-tailer working in UAE, Egypt, Jordan and KSA.  Souq.com describes itself as the channel where of buyers & sellers in the region meet on a daily basis to sell products over a trusted platform.
  • Bayt (http://www.bayt.com)  Bayt.com is an employment website or job search engine.   Based in Dubai, UAE
  • Otlob (http://www.otlob.com) and (http://www.otlobmall.com/) is an online food delivery services and online shopping mall.  Working in Egypt, KSA, UAE and Bahrian.

3.      C2B (Consumer-to-Business)

Business in the C2B business model represents any companies buying goods or services to individual through intermediaries.

For example, a consumer posts his project with a set budget online and within hours companies review the consumer’s requirements and bid on the project. The consumer reviews the bids and selects the company that will complete the project.   Or a company has a job to fill. The HR manager of the company signs up on the website and posts the job to his friends/relatives/employees. Everybody receiving the job offer can answer or forward it to their relatives. As soon as the job is filled, the reward is shared equally between each link of the referral chain. The referral hiring site takes care of every connection and receives a percentage of the reward.

Examples of C2B:

  • Google AdSense (https://www.google.com/adsense)  is a free, simple way for website publishers of all sizes to earn money by displaying targeted Google ads on their websites.
  • Elance (http://www.elance.com)  Online talent marketplace, helps companies hire and manage professionals online to get work done and grow their businesses.    Through it candidates start submitting proposals within hours, telling you what they can do and how much it will cost,  and companies compare profiles, experience, ratings, credentials and portfolios to select the best fit.
  • Linkedin (http://www.linkedin.com) which is a is a business-oriented social networking site allowin registered users to maintain a list of contact details of people they know.  They can pos their experience and area of work and then companies and recruiters can search for best fit for their needs.

4.      C2C (Consumer-to-Consumer)

Sites offering free classifieds, auctions, and forums where individuals can buy and sell with each other.

Examples of C2C:

  • eBay (http://www.ebay.com)  auction service where person-to-person transactions take place everyday.
  • e-Waseet (http://www.ewaseet.net) which is a free classified publication operates in 13 countries offering marketing services that provide advertising solutions for individuals and business organizations
  • Craigslist (http://www.craigslist.org) is a centralized network of online communities, featuring free online classified advertisements – with sections

5.      B2E (Business-to-Employee)

Allows companies to provide products and/or services to their employees. Typically, companies use B2E networks to automate employee-related corporate processes.  Usually uses a portal customized for organization employees.  Examples also include employee’s online insurance policy, online employee benefits recording, and other services ordering offered for employees within an organization.

Examples of B2E:

  • SpeedSend (http://www.speedsend.com) based in Cairo, Egypt which allows employees within an organization to order office supplies directly.
  • TRICARE Online (https://www.tricareonline.com) is a web portal for authorized TRICARE beneficiaries provides employees of organizations with health related content, on-line health plan maintenance, appointment scheduling capability as well as pharmacy refill capability.
  • Humana’s Emphesys product (http://www.humana.com),  allows employers using Humana plan to manage their health benefits, claims, etc.)

6.      G2B (Government-to-Business)

Is the online non-commercial interaction between local and central government and the commercial business sector, rather than private individuals where businesses can get information and advice on business and supporting indicators.

Examples of G2B

7.      Mobile Commerce (M-Commerce)

Is the ability to conduct commerce, using a mobile device e.g. a mobile phone (cell phone), a PDA, or a Smartphone involving the transactions to transfer of ownership or rights to use goods and services, which is initiated and/or completed by using mobile access to computer-mediated networks.

Examples of M-Commerce:

  • Nordstrom’s mobile site (http://m.nordstrom.com) is pure m-commerce site which the entire shopping experience of Nordstrom’s web site takes place on the mobile web.
  • Masabi (http://www.masabi.com) builds mobile ticketing software for everyday mobile phones. The company’s Ticket Machine in your Pocket application allows travelers to select, purchase and display train tickets on their mobile phone, all via a rich graphical interface.

8.      Collaborative Commerce (C-commerce)

Optimization of supply and distribution channels in order to capitalize upon the global economy and use new technology efficiently.  It enables trading partners to create, manage, and use data in a shared environment to design, build, and support products throughout their lifecycle, working separately to leverage their core competencies together in a value chain that forms a virtual enterprise

Examples of C-commerce:

  • Exostar (http://www.exostar.com) is an electronic marketplace formed by the aerospace industry to optimize the time it takes to move parts and products. Member companies, which include Raytheon, Lockheed Martin and Boeing, also generate improved customer satisfaction because they can use Exostar to trace product availability through the supply chain.

9.      Electronic Learning (e-learning)

It is essentially the computer and network enabled transfer of skills and knowledge. E-learning refers to using electronic applications and processes to learn. E-learning applications and processes include Web-based learning, computer-based learning, virtual classrooms and digital collaboration. Content is delivered via the Internet, intranet/extranet, audio or video tape, satellite TV, and CD-ROM. It can be self paced or instructor led and includes media in the form of text, image, animation, streaming video and audio.

Examples of e-learning:

  • Egypt e-Learning University (http://www.eelu.edu.eg) which is private non-profit University providing distance education through 24-hour online learning with a vision to be a leading university providing e-learning nationally, regionally, and internationally.
  • The National e-Learning Center (http://www.nelc.edu.eg)  supports the development of e-learning in Egypt.