[Dovecot] Store outgoing mail in users mailbox

Steffen Kaiser skdovecot at smail.inf.fh-bonn-rhein-sieg.de
Tue Nov 7 12:03:00 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 7 Nov 2006, Mark Ruys wrote:

> Our users would like that outgoing mail is automatically saved in some
> folder, say Sent.

Hmm, any IMAP mail client I know has an option for exactly that feature.

I don't know postfix. I would look into the line:

Variant I
a) MTA adds envelope sender (aka MAIL FROM) to envelope recipient list 
(aka RCPT TO, aka BCC).

b) LDA delivers mail into Archive folder if the sender is the owner of the 
mailbox.

Variant II
as variant I, but adds an Header that helps the LDA to decide, if the 
mail has been sent by one particular user, e.g. the MD5 hash of the 
SMTP AUTH uid.

Variant III
a) MTA always adds a robot to the envelop recipient list.

b) This robot spools the mail according the From: header of the mail or 
yet another piece of information you can most likely aquire the sender 
from, e.g. authentification data. E.g. match the message ID or queue ID 
with the logs of the MTA.

Of course, in all these cases you need to decide beforehand, if the mail 
is inbound or outbound.

Bye,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iQEVAwUBRVB19i9SORjhbDpvAQKQAwf9HoMeq2CDNbhOlx79HCpaHT6/sjb1Fjg8
iq2EPzDIDTpcwqsyucmwI5Ib6y8PPABv4B4E38TusqCLt211ZmdPGbl6HxP5/sTb
fAUPy9zGr1rJu92AdELZKRhHDrM6YjNayr/nlKt5DNbto8o6Bs4LbIzybgJbGrYQ
j3u3BUobxwLPA1EvSihCePp6H2vJEyjgVssdc0WSfh7ZTO6nID6PT5ZHYaifWLaz
MFTv9c6x5V26A/s4i+EsbYGNrjVLkI3br8scstRvT2OcJsTfyOc3OwSNJxqia9wN
vbe97b5WZPhgcOqgJhwTslcKfUKPL2xDHTQbTGsOk2gJKUHWvk7KQA==
=LSHW
-----END PGP SIGNATURE-----


More information about the dovecot mailing list