Opened 12 years ago

Last modified 4 years ago

#8506 closed bug

failure to send emails on freshly installed partitions — at Version 1

Reported by: mmadia Owned by: czeidler
Priority: normal Milestone: R1/beta2
Component: Servers/mail_daemon Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by mmadia)

hrev44078 -gcc2h.

On a freshly installed partition and prior to running mail_daemon for the first time -- if an email is created via the `Mail' application , mail_daemon will not notice it's "Pending" status, until a user manually reindexes one or more attributes.

Specifically, mail_daemon only sent those pending emails after reindexing MAIL:flags. I'm uncertain if reindexing MAIL:status is needed or not.

~/mail/out> reindex MAIL:status * ; sync
~/mail/out> reindex MAIL:flags * ; sync

This seems to be an issue either with the Mail application not using/creating the same indexes as mail_daemon.

Here's the output of lsindex, at several points.

This is on a freshly initialized drive, via DriveSetup

~>  cd /haiku-test/
/haiku-test> lsindex
BEOS:APP_SIG
last_modified
name
size

This is after installing via Installer, using a mounted image file of hrev44078 as the source.

/haiku-test> lsindex
BEOS:APP_SIG
BEOS:LOCALE_LANGUAGE
BEOS:LOCALE_SIGNATURE
_trk/qrylastchange
_trk/recentQuery
be:deskbar_item_status
last_modified
name
size

This is after booting that freshly installed partition:

~/Desktop> lsindex 
BEOS:APP_SIG
BEOS:LOCALE_LANGUAGE
BEOS:LOCALE_SIGNATURE
_trk/qrylastchange
_trk/recentQuery
be:deskbar_item_status
last_modified
name
size

This is after running Mail and composing an email:

~/Desktop> lsindex 
BEOS:APP_SIG
BEOS:LOCALE_LANGUAGE
BEOS:LOCALE_SIGNATURE
MAIL:draft
META:email
META:group
_signature
_status
_trk/qrylastchange
_trk/recentQuery
be:deskbar_item_status
last_modified
name
size

This is after running mail_daemon for the first time:

~/Desktop> lsindex 
BEOS:APP_SIG
BEOS:LOCALE_LANGUAGE
BEOS:LOCALE_SIGNATURE
MAIL:account
MAIL:account_id
MAIL:cc
MAIL:draft
MAIL:flags
MAIL:from
MAIL:name
MAIL:priority
MAIL:read
MAIL:reply
MAIL:status
MAIL:subject
MAIL:thread
MAIL:to
MAIL:when
META:email
META:group
_signature
_status
_trk/qrylastchange
_trk/recentQuery
be:deskbar_item_status
last_modified
name
size

Change History (1)

comment:1 by mmadia, 12 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.