Re: [systemd-devel] SSL handshake error from offlineimap when using systemd to initialize

2018-01-24 Thread Yubin Ruan
On Wed, Jan 24, 2018 at 08:57:18AM +0100, Reindl Harald wrote: > > > Am 24.01.2018 um 08:13 schrieb Yubin Ruan: > > On Tue, Jan 23, 2018 at 04:10:10PM +0100, Lennart Poettering wrote: > > > On Di, 23.01.18 09:09, Reindl Harald (h.rei...@thelounge.net) wrote: > > > > depeding on how your network

Re: [systemd-devel] SSL handshake error from offlineimap when using systemd to initialize

2018-01-24 Thread Reindl Harald
Am 24.01.2018 um 09:59 schrieb Yubin Ruan: On Wed, Jan 24, 2018 at 08:57:18AM +0100, Reindl Harald wrote: Am 24.01.2018 um 08:13 schrieb Yubin Ruan: On Tue, Jan 23, 2018 at 04:10:10PM +0100, Lennart Poettering wrote: On Di, 23.01.18 09:09, Reindl Harald (h.rei...@thelounge.net) wrote:

Re: [systemd-devel] SSL handshake error from offlineimap when using systemd to initialize

2018-01-24 Thread Reindl Harald
Am 24.01.2018 um 08:13 schrieb Yubin Ruan: On Tue, Jan 23, 2018 at 04:10:10PM +0100, Lennart Poettering wrote: On Di, 23.01.18 09:09, Reindl Harald (h.rei...@thelounge.net) wrote: depeding on how your network is configured use "network.service" or "networkmanager.service" (or however the

Re: [systemd-devel] SSL handshake error from offlineimap when using systemd to initialize

2018-01-23 Thread Yubin Ruan
On Tue, Jan 23, 2018 at 04:10:10PM +0100, Lennart Poettering wrote: > On Di, 23.01.18 09:09, Reindl Harald (h.rei...@thelounge.net) wrote: > > > > I got in the configuration file > > > > > >[Unit] > > >After=network.target > > > > > > Isn't this enough to get the initialization order

Re: [systemd-devel] SSL handshake error from offlineimap when using systemd to initialize

2018-01-23 Thread Lennart Poettering
On Di, 23.01.18 09:09, Reindl Harald (h.rei...@thelounge.net) wrote: > > I got in the configuration file > > > >[Unit] > >After=network.target > > > > Isn't this enough to get the initialization order right? > > no, the target does more or less nothing useful Well, it doesn't do what

Re: [systemd-devel] SSL handshake error from offlineimap when using systemd to initialize

2018-01-23 Thread Michael Chapman
On Wed, 24 Jan 2018, Yubin Ruan wrote: On Mon, Jan 22, 2018 at 01:54:36PM +0100, Lennart Poettering wrote: On So, 21.01.18 19:12, Yubin Ruan (ablacktsh...@gmail.com) wrote: Hi, I use offlineimap to synchronize my emails. I want it to do a synchronization at system startup so recently I add a

Re: [systemd-devel] SSL handshake error from offlineimap when using systemd to initialize

2018-01-23 Thread Reindl Harald
Am 23.01.2018 um 19:05 schrieb Yubin Ruan: Well, this is necessarily racy: your network setup races agains your offlineimap invocation... I got in the configuration file [Unit] After=network.target Isn't this enough to get the initialization order right? no, the target does more or

Re: [systemd-devel] SSL handshake error from offlineimap when using systemd to initialize

2018-01-22 Thread Yubin Ruan
On Mon, Jan 22, 2018 at 01:54:36PM +0100, Lennart Poettering wrote: > On So, 21.01.18 19:12, Yubin Ruan (ablacktsh...@gmail.com) wrote: > > > Hi, > > > > I use offlineimap to synchronize my emails. I want it to do a > > synchronization > > at system startup so recently I add a systemd service

Re: [systemd-devel] SSL handshake error from offlineimap when using systemd to initialize

2018-01-22 Thread Cristian Rodríguez
El 21-01-2018 a las 8:12, Yubin Ruan escribió: Hi, I use offlineimap to synchronize my emails. I want it to do a synchronization at system startup so recently I add a systemd service for it. However I always get error like this: EOF occurred in violation of protocol (_ssl.c:590) Socket

Re: [systemd-devel] SSL handshake error from offlineimap when using systemd to initialize

2018-01-22 Thread Lennart Poettering
On So, 21.01.18 19:12, Yubin Ruan (ablacktsh...@gmail.com) wrote: > Hi, > > I use offlineimap to synchronize my emails. I want it to do a synchronization > at system startup so recently I add a systemd service for it. However I always > get error like this: > >EOF occurred in violation of

[systemd-devel] SSL handshake error from offlineimap when using systemd to initialize

2018-01-21 Thread Yubin Ruan
Hi, I use offlineimap to synchronize my emails. I want it to do a synchronization at system startup so recently I add a systemd service for it. However I always get error like this: EOF occurred in violation of protocol (_ssl.c:590) *** Finished account 'BLACK' in 0:00 ERROR: Exceptions