SpamSieve will open the Settings window if it was open when you quit SpamSieve (i.e. state restoration) or if you try to open SpamSieve again when it’s already launched.
I don’t think that’s a valid assumption, and Mail is constantly logging to Console.
It’s auto-launched when Mail.app is launched. Every time these two shut down overnight, this prefs window is visible.
I can’t find any errors in the console. The fact that SS’s prefs window is open, makes me think it’s SS. Nothing to verify this, but you now have all the info I have.
There are no crash reports for some reason. I’ve reset Mail’s junk database.
It sounds like either you have not closed the window before the next auto-launch or that you have some other mechanism that’s launching SpamSieve a second time after it’s already running.
I suggest that you leave a Console window open before Mail quits. Click Start streaming and enter Mail in the search field and select Process.
to get the last log info from Mail before relaunching it.
I don’t know why Mail quitting in response to Mail quitting or Mail relaunching SpamSieve would make you think that SpamSieve is quitting Mail.
In any case, you can prevent SpamSieve from quitting when Mail quits/crashes by unchecking Quit when mail client quits. You could also try unchecking the SpamSieve Mail extension in Mail’s settings:
in case a bug in Mail’s extension code is causing it to crash. However, it seems unlikely to me that there is even a crash occurring if there are no crash log files.
I’ve not written any scripts that would close the app. When I reopen it, that window is open. I don’t leave it open. Ever. I keep closing it, quitting the Mail app to make sure it remembers it not having that window open, and relaunching it. It’s been happening for months.
The only info I have is what you now know. The fact that SS’s prefs window is open, is the only suggestion I have.
If this means anything, BBEDit also quits overnight often. No info on that either.
I’ll leave the console open tonight to capture any errors, if they do show up.
Do you have SpamSieve set as a login item in System Settings? Any scripts that ask SpamSieve to do stuff?
If you quit Mail and SpamSieve and then manually launch SpamSieve, does the Settings window open?
You can also click here to enable some debug logging that will show why SpamSieve is opening the Settings window.
It sounds like you have a general quitting issue on your Mac that’s not related to SpamSieve. And then there’s a separate issue where SpamSieve is being double-relaunched or not remembering the window state.
This sounds like SpamSieve’s window restoration is working correctly and that you have something else that’s telling SpamSieve to launch again. Then next time it happens, if you enabled the debug logging, you could choose Help ‣ Open Error Log to confirm this.
Or you could click here to tell SpamSieve not to open the Settings window when relaunched. However, this could prevent you from accessing the settings if you have the Dock icon hidden and have lots of other menu bar apps that are blocking the menu bar icon from being visible.
So if SS is open and I re-launch Mail in the morning, would it ask it to come up again, hence the window? This was happening when Mail+SS was closing overnight.
You could check on another Mac or on the server (webmail) in case the messages are still there and it’s just a local Mail problem on that Mac. Or, if SpamSieve had originally seen the messages when they were in the inbox (before you archived them) the messages might still be archived in its Log window.
I’m not exactly sure what you mean. If the messages were only locally stored, then it wasn’t a cache. Why was it emptied? In any case, it does not sound like this has anything to do with SpamSieve.