Opened 8 years ago

Closed 13 months ago

#8506 closed bug (fixed)

failure to send emails on freshly installed partitions

Reported by: mmadia Owned by: czeidler
Priority: normal Milestone: R1
Component: Servers/mail_daemon Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no 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 (2)

comment:1 by mmadia, 8 years ago

Description: modified (diff)

comment:2 by waddlesplash, 13 months 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.

Note: See TracTickets for help on using tickets.