Michael Monnerie wrote:
> 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).

We'd have to make sure this doesn't break any rfcs. Checking the
usernamepart is already done atm with the usermap facility. Perhaps
using a different port would be easier then.

> 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.

Ofcourse, nothing is copied to the filesystem.

-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to