|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Bill Cole (postfixlists-070913
billmail.scconsult.com)
Date: Tue Jan 15 2008 - 23:44:46 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 3:04 PM +1100 1/16/08, MacShane, Tracy wrote:
>> -----Original Message-----
>> From: owner-postfix-users
postfix.org
>> [mailto:owner-postfix-users
postfix.org] On Behalf Of Mihira Fernando
>> Sent: Wednesday, 16 January 2008 9:28 PM
>> To: Postfix users
>> Subject: [OT] Saving outgoing email Gmail style
>>
>> 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.
>> Does anyone know how this is done ? OR how to achieve the same result
>> using Postfix ?
>> My goal is to setup email backups with a web interface for my virtual
>> mailbox users so that they can get a copy of their mail both received
>> and sent in their Inbox and sent folders respectively.
>>
>> I'm using Postfix 2.3.8 and Dovecot on Debian Etch and all my users
>> are virtual users.
>>
>> Thanks in advance,
>>
>> Mihira.
>
>It's the user's MUA that writes a copy of the message to a "Sent" folder
>(presumably it's been sent to the MTA). So your web interface would have
>to do something like that. SquirrelMail, for example, comes with the
>parameter "sent_folder = INBOX.Sent" configured by default (I don't know
>what magic goes on in the backend for the message copy).
Yes, this is often a MUA function, but what GMail actually does is that when you send mail out via SMTP through their mail submission system from any client, the GMail system drops a copy into the "Sent Mail" folder of their message store even if the submitting MUA has no knowledge that such a thing exists.
One way that one might implement this on a Postfix-based system that has a powerful interface to an IMAP-like message store (i.e. one with folders and a delivery agent that can deliver directly to them) would be to use the sender_bcc_maps feature to send a copy of each message from a user to an address with an extension that the delivery agent uses as a key to deliver the mail directly to a "Sent Mail" folder in the user's message store.
--
Bill Cole
bill
scconsult.com
--
Bill Cole
bill
scconsult.com
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]