Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Re: [zeke] gmail 2.2.1 various issues

Quote Reply
Re: [zeke] gmail 2.2.1 various issues In reply to
In Reply To:
first: regarding the popserver plugin. the plugin seems to work ok, except that when a user logs in using pop to check their mail, it downloads ALL mail from ALL folders in their account--read, unread, sent--not just unread mail. (even stuff in the trash if the account is not set to delete trash on logout). is this the default behavior? if so, is it possible to modify the plugin to only download unread mail (and not trash, even if unread)?
Yes, that looks like incorrect behaviour. The correct behaviour should be to just list all emails in their inbox (read or unread - it's the mail client's responsibility to distinguish between emails which have been downloaded and which haven't). I'm currently working on the Gossamer Mail 2.2.2 release, so once I'm done with that (in a few days), I'll work on getting this behaviour fixed.

In Reply To:
second: short of a complete re-install (which isn't what I want to do), what is the best way to "purge" all existing user data from the system, including database records and files on disk--attachments--everything. I realize you can delete user accounts from the admin interface, but how can I verify that all data has in fact been deleted?
If you want to do that, it'd be just easier to reinstall. Move your current installation to another directory, and install a new copy to where the old copy was. Then just copy over your Config/Data.pm and your templates.

Otherwise, to purge the database, just go into Setup => SQL, and recreate all your tables (overwrite them). That will purge all your users and emails from the database. The purge things from disk, you'll have to remove everything inside of data/msgs and everything in the domains in data/users.

In Reply To:
for example, what happens when a user uploads an attachment when preparing to send an email, and then decides not to send the mail or loses their connection or moves to another section in the interface, etc. is this uploaded attachment left "in limbo" somwhere on the system?
These files are cleaned up automatically the next time they visit the compose page.

In Reply To:
what are some of the possible underlying causes of the types of inconsistencies that "consistency.pl" is designed to fix? (so perhaps I can perform some other system checks to prevent them from occurring in the first place). for example, what would cause messages to be "on disk and not in the database" or "in the database but not on disk?" should this script be run on a regular basis and is there a recommended interval for doing so? what is the potential for undesireable results when running this script (ie, any known bugs)?
Generally, you shouldn't get any inconsistencies, but if your server crashes while Gossamer Mail is performing some operation, it could become inconsistent. For example, if it receives an email, and it writes the email to disk and just as it begins writing the associated information to the database, your machine crashes, then you may get an inconsistency (not entirely true, but you get the point). Running it shouldn't cause any undesireable results.

In Reply To:
fourth: has anyone had success in writing a plugin to check remote mail from other webmail services that have http user interfaces, but not POP access?
I don't believe anyone has written anything for Gossamer Mail, but I know there is code out there to do so for hotmail and such. This is one of the things on my wanted list for Gossamer Mail 3.x.

Subject Author Views Date
Thread gmail 2.2.1 various issues zeke 2793 Mar 1, 2004, 6:26 PM
Thread Re: [zeke] gmail 2.2.1 various issues
brewt 2722 Mar 3, 2004, 12:09 PM
Thread Re: [brewt] gmail 2.2.1 various issues
zeke 2718 Mar 3, 2004, 1:58 PM
Post Re: [zeke] gmail 2.2.1 various issues
brewt 2697 Mar 9, 2004, 2:04 AM