On Donnerstag 07 Mai 2009 Paul J Stevens wrote:
> The dbmail-httpd would then, after authentication/authorization
> return the attachment involved with the correct mime headers for the
> relevant content, i.e. the message, so the client knows how to save
> the file.

Could that be done in a virtual mode? I mean:
a) the clients logs in with a special form of username, lets say instead 
"cli...@domain" he uses "cli...@domain#noattach". This lets dbmail-(pop|
imap) switch to URL mode instead. For POP this only works if messages 
are left on the server of course. (Maybe just forbid to delete mails for 
POP when in #noattach mode).
b) Client gets, instead attachment, an URL like 
http://dbmailwebserver/virtualurl. Whenever this URL gets called, a 
script is executed checking login, and if this passes start the download 
directly from the dbmail database, without needing to copy the file to 
the filesystem. Maybe that needs to be done, but only as a temporary 
file that's deleted after the download. What I'd not want is to copy all 
attach files where an URL is generated to be copied to the filesystem, 
just in case someone wants to download it.

Sounds very nice, all mobile users would love that!

mfg zmi
-- 
// Michael Monnerie, Ing.BSc    -----      http://it-management.at
// Tel: 0660 / 415 65 31                      .network.your.ideas.
// PGP Key:         "curl -s http://zmi.at/zmi.asc | gpg --import"
// Fingerprint: AC19 F9D5 36ED CD8A EF38  500E CE14 91F7 1C12 09B4
// Keyserver: wwwkeys.eu.pgp.net                  Key-ID: 1C1209B4

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
DBmail mailing list
DBmail@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to