OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: [OT] Saving outgoing email Gmail style

From: Mihira Fernando (mihiratheacegmail.com)
Date: Wed Jan 16 2008 - 05:55:17 CST


On Wed January 16 2008, MacShane, Tracy wrote:
> > -----Original Message-----
> > From: owner-postfix-userspostfix.org
> > [mailto:owner-postfix-userspostfix.org] On Behalf Of Mihira Fernando
> > Sent: Wednesday, 16 January 2008 10:27 PM
> > To: postfix-userspostfix.org
> > Subject: Re: [OT] Saving outgoing email Gmail style
> >
> > On Wed January 16 2008, Martin Barry wrote:
> > > $quoted_author = "Mihira Fernando" ;
> > >
> > > > With Gmail, when you send email using their smtp server,
> >
> > a copy of
> >
> > > > the mail gets saved in the 'Sent' folder in the Gmail web
> >
> > interface.
> >
> > > Gmail is doing this as an MUA, not an MTA.
> >
> > Maybe I wasn't clear enough.
> > Gmail offers POP3 & SMTP for their accounts so that you don't
> > have to use their web interface but can use your own mail
> > client (Thunderbird) on your PC.
> > In this setup, if you send a mail from your mail client using
> > their smtp service, a copy of the mail you sent gets saved in
> > their system so that if you access the gmail web interface,
> > you can see the mail you sent from your mail client
> > available in the 'sent folder' of the web interface.
> >
> > This is what I want to achieve.
> >
> > Using an IMAP server and a web interface (say squirrelmail)
> > does the same thing as long as you use the web interface to
> > send the mail. Not your own MUA. This is not what I'm looking for.
>
> Yes, but they have the mail directory tree set up for their web
> interface. All you're doing is configuring your MUA to point that that
> existing directory structure. If you want to use a sent folder, any
> properly IMAP-aware MUA can create its own sent folder on the server if
> you configure it to do so. The MUA does the work probably by issuing the
> "CREATE user/Sent" command to make the folder, and then the COPY command
> to put the message there. Both the web-based and local MUAs are simply
> looking at the same folder tree (once authenticated).

Is this true for POP3 for mail retrieval and SMTP for mail relaying setup in
the MUA ? Cause that's what happening with Gmail.
And you don't need a IMAP aware MUA to see this happening. It works with any
MUA that can submit the email via SMTP.
In fact if you use Postfix to relay mail via Gmail (you need a sender
dependent authentication setup) , you'll see the same thing happening.

BTW arn't 'CREATE user/Sent' and 'COPY' IMAP commands ?

Mihira.
--
Random Quotes From Megas XLR
Coop: You see? The mysteries of the Universe are revealed when you break
stuff.
Jamie: When in doubt, blow up a planet.
Kiva: It's an 80 foot robot, if we can't see it, absolutely it's not here.
Glorft Technician: Unnecessary use of force in capturing the Earthers has been
approved.