On Thu, Jan 14, 2016 at 04:39:31PM -0500, Fred Smith wrote:
> On Thu, Jan 14, 2016 at 08:00:12AM +0100, Pawel Salek wrote:
> > Fred,
> > 
> > there are number of reasons syncing mailbox state may fail - exactly
> > as you figured out! Does anything get printed when you run balsa in
> > a terminal window?
> 
> yes there is, though it wasn't obviously meaningful to me. I'll try again
> later on today and see if I can find something there, and will post
> some of it to the list for you to see.

here's what appears in the terminal window where balsa was started:

$ balsa

(balsa:19394): Gtk-WARNING **: Failed to register client: 
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name 
org.gnome.SessionManager was not provided by any .service files
Network is available   (Thu 14 Jan 2016 05:52:30 PM EST)
openjdk version "1.8.0_65"
OpenJDK Runtime Environment (build 1.8.0_65-b17)
OpenJDK 64-Bit Server VM (build 25.65-b01, mixed mode)
[fredex@fcshome Desktop]$ 

the Gtk warning pops up right away when it is started. the openjdk
messages appear when the first mailbox is opened.

I also looked in /var/log/messages and see nothing suspicious there, as
well as some of the other files there just in case messages weren't
being logged where I expected.

I triggered the failure to sync message several times but nothing showed
up here beyond the two groups mentioned above.

I should note that I am using the MATE desktop. However, the system
was originally installed as a Gnome system, and I added MATE (from epel)
after the fact, so all the gnome bits should actually be there (but not,
apparently, actually running).

> > The hardcore was is to run strace -olog -ff /path/to/balsa and grep
> > for failed accesses to the mailbox - but this is bit more
> > demanding...
> 
> if nothing else works...

I guess it's time to try strace, since the above steps don't seem to
reveal anything telling. I'll post that separately, later on.

> 
> > 
> > Pawel
> > 
> > Den 14.01.2016 02:50:59 skrev Fred Smith:
> > >On Wed, Jan 13, 2016 at 08:04:20PM -0500, Jack wrote:
> > >> On 2016.01.13 19:20, Fred Smith wrote:
> > >> >Hi all!
> > >> >
> > >> >I've just compiled Balsa 2.5.2, which went without significant
> > >> >issue. but when I open my main mailbox, clicking on some messages
> > >> >elicits a warning box pop up saying "Failed to sync mailbox xxx".
> > >> >
> > >> >I see that message could originate in any of a bazillion (more or
> > >> >less) places in the program, but haven't yet figured out which
> > >> >one, nor know what it actually is trying to tell me. what problem
> > >> >causes this?
> > >> >
> > >> >anyone know a magic incantation to solve it?
> > >>
> > >> When you say your main mailbox, do you mean inbox?  What type of
> > >> mailbox is it?  mbox, maildir, MH, ...?  Are you having trouble just
> > >> opening the local mailbox, or actually trying to sync with a remote
> > >> server?  POP3 or IMAP?  You can also start balsa from the command
> > >> line using -d (debug POP) or -D (debug IMAP) to get more information
> > >> on what might be going wrong with syncing.
> > >
> > >sorry for the lack of details.
> > >
> > >I run a mail server on my personal Linux box, at home, with my own
> > >domain. Sendmail delivers to procmail which does the final delivery
> > >to mbox mail folders.
> > >
> > >in my home directory is a subdir named "Mail" that contains a symlink
> > >to /var/spool/mail/fredex, so that mutt (what I have always used)
> > >accesses all my mail folders in ~/fredex/Mail.
> > >
> > >So, I can't prove the message I mention doesn't happen in other
> > >mailboxes,
> > >but I've seen it in the "fredex" mailbox. usually if there's an unread
> > >mail, I click on it and get that message.
> > >
> > >ls -l /home/fredex/Mail/fredex /var/spool/mail/fredex
> > >lrwxrwxrwx. 1 fredex fredex         22 Feb 24  2013
> > >/home/fredex/Mail/fredex -> /var/spool/mail/fredex
> > >-rw-rw----. 1 fredex fredex 2309646535 Jan 13 20:43
> > >/var/spool/mail/fredex
> > >
> > >I don't see any reason why -rw-rw---- isn't adequate, as long as the
> > >mailbox is owned by me, which it is. Does Balsa need more relaxed
> > >permissions than that?
> > >
> > >This is a new installation of Centos-7. Previously I was using
> > >Centos-6
> > >and it had Balsa 2.4.14. In looking at the backup of that prior
> > >system,
> > >I see that /var/spool/mail/fredex looks like this:
> > >
> > >-rw-r-----. 1 root root 2300888945 Dec  2 14:53 fredex
> > >
> > >is Balsa complaining because the permissions are TOO permissive?
> > >
<snip useless stuff>

-- 
---- Fred Smith -- [email protected] -----------------------------
    "Not everyone who says to me, 'Lord, Lord,' will enter the kingdom of
     heaven, but only he who does the will of my Father who is in heaven."
------------------------------ Matthew 7:21 (niv) -----------------------------
_______________________________________________
balsa-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/balsa-list

Reply via email to