Opened 13 years ago

Closed 6 years ago

Last modified 5 years ago

#8506 closed bug (fixed)

failure to send emails on freshly installed partitions

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 (3)

comment:1 by mmadia, 13 years ago

Description: modified (diff)

comment:2 by waddlesplash, 6 years ago

Resolution: fixed
Status: newclosed

This seems to be fixed now, there are multiple user reports of mail sending emails just fine on fresh installs.

comment:3 by nielx, 5 years ago

Milestone: R1R1/beta2

Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone

Note: See TracTickets for help on using tickets.