GMail Sender header problem and using other domains

I've been using GMail for a while now as an SMTP server to send my e-mails from other domains, no matter where I am going. What I realized later is that most of the e-mails I send are getting seen as sent by my account @gmail.com, while I'm actually trying to send them as if they were sent from @dokeos.com. Well, apparently the whole thing is quite compromised.

Users' mail: configuring SMTP account to send mails with Doke0s

Note: as of 2010, BeezNest has moved away from supporting Dokeos and launched the Chamilo project. This article was written in 2009, when BeezNest's team members were still the main developers for the Doke0s software, under the responsibility of the Doke0s company. Chamilo has since then reached double the size of the Doke0s project and is much more transparent in terms of code publication and community support. This article surprisingly still holds true for Chamilo up to version 1.11, but this might change in Chamilo 2.0 with a new system for e-mail sending.

HOWTO Add SMTP Receipt Notification to a mail

This article is incomplete and was first written in January 2007
for the BeezNest technical website (http://glasnost.beeznest.org/articles/353).
Receipt Notification (or "Accusé de réception" in french) can be very easily added to an e-mail by adding the following line in the e-mail's SMTP header:
"Disposition-Notification-To:address@domain.extrn"
Where address@domain.ext is the e-mail address you want the receipt notification to be sent to AND r should be the end-of-line marker of your SMTP server.