Frank Küster
2007-May-30 16:50 UTC
[Pkg-exim4-users] What does exim4 need after the network connection changes?
Hi, I use my laptop with two different mail setups, depending on the network I''m in. To achieve this, I change the target of the symlink /etc/exim4/update-exim4.conf.conf, and call "/etc/init.d/exim4 restart" afterwards. This usesd to work fine in sarge, but now in etch, it seems that this is not enough to make exim play nicely. The problem is that sending mail (from gnus) takes very long after the network switch (and up to the next reboot). I tried to quit gnus and emacs to make sure that the problem is not on the side of the MUA, and it persisted. I observe the same behavior when the interface is up and a route configured, but there''s actually no connectivity (e.g. because a WLAN connection was dropped). I don''t complain in that case, just as a point of information. What can I do to make the switch smoother? Regards, Frank -- Dr. Frank K?ster Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Z?rich Debian Developer (teTeX/TeXLive)
Marc Haber
2007-May-30 19:47 UTC
[Pkg-exim4-users] What does exim4 need after the network connection changes?
On Wed, May 30, 2007 at 06:50:08PM +0200, Frank K?ster wrote:> I use my laptop with two different mail setups, depending on the network > I''m in. To achieve this, I change the target of the symlink > /etc/exim4/update-exim4.conf.conf, and call "/etc/init.d/exim4 restart" > afterwards. > > This usesd to work fine in sarge, but now in etch, it seems that this is > not enough to make exim play nicely.It should. I am not aware of any changes between sarge and etch that deliberately break this behavior. And in fact, my notebook changes network all the time, and exim behaves just fine.> The problem is that sending mail (from gnus) takes very long after > the network switch (and up to the next reboot). I tried to quit > gnus and emacs to make sure that the problem is not on the side of > the MUA, and it persisted.Please try delivering a message by piping it to exim -d and see what takes so long. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
Frank Küster
2007-May-31 06:34 UTC
[Pkg-exim4-users] What does exim4 need after the network connection changes?
Marc Haber <mh+pkg-exim4-users at zugschlus.de> wrote:> On Wed, May 30, 2007 at 06:50:08PM +0200, Frank K?ster wrote: > >> The problem is that sending mail (from gnus) takes very long after >> the network switch (and up to the next reboot). I tried to quit >> gnus and emacs to make sure that the problem is not on the side of >> the MUA, and it persisted. > > Please try delivering a message by piping it to exim -d and see what > takes so long.Hm, can I just take a mail buffer from Gnus (with To:, Subject:, Date:, and From: headers and some body text), or do I need anything else? And then I do exim4 -d < mail.txt 2>&1 | tee eximtest.log Okay? Regards, Frank -- Dr. Frank K?ster Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Z?rich Debian Developer (teTeX/TeXLive)
Marc Haber
2007-May-31 11:30 UTC
[Pkg-exim4-users] What does exim4 need after the network connection changes?
On Thu, May 31, 2007 at 08:34:05AM +0200, Frank K?ster wrote:> Marc Haber <mh+pkg-exim4-users at zugschlus.de> wrote: > > On Wed, May 30, 2007 at 06:50:08PM +0200, Frank K?ster wrote: > > > >> The problem is that sending mail (from gnus) takes very long after > >> the network switch (and up to the next reboot). I tried to quit > >> gnus and emacs to make sure that the problem is not on the side of > >> the MUA, and it persisted. > > > > Please try delivering a message by piping it to exim -d and see what > > takes so long. > > Hm, can I just take a mail buffer from Gnus (with To:, Subject:, Date:, > and From: headers and some body text), or do I need anything else? > > And then I do > > exim4 -d < mail.txt 2>&1 | tee eximtest.logUsually echo fasel | exim4 -d some_address at domain.example will do fine. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
Frank Küster
2007-Jun-11 21:33 UTC
[Pkg-exim4-users] What does exim4 need after the network connection changes?
Marc Haber <mh+pkg-exim4-users at zugschlus.de> wrote:> On Thu, May 31, 2007 at 08:34:05AM +0200, Frank K?ster wrote: >> Marc Haber <mh+pkg-exim4-users at zugschlus.de> wrote: >> > On Wed, May 30, 2007 at 06:50:08PM +0200, Frank K?ster wrote: >> > >> >> The problem is that sending mail (from gnus) takes very long after >> >> the network switch (and up to the next reboot). I tried to quit >> >> gnus and emacs to make sure that the problem is not on the side of >> >> the MUA, and it persisted. >> > >> > Please try delivering a message by piping it to exim -d and see what >> > takes so long. >> >> Hm, can I just take a mail buffer from Gnus (with To:, Subject:, Date:, >> and From: headers and some body text), or do I need anything else? >> >> And then I do >> >> exim4 -d < mail.txt 2>&1 | tee eximtest.log > > Usually echo fasel | exim4 -d some_address at domain.example will do fine.It took me a while until I encountered the problem again (I''m at the university less often, they no longer paying me...). I did (as root) echo fasel | exim4 -d frank at kuesterei.ch and that was fast, so maybe it''s still emacs/gnus... I have no ideay how to really check that, except that once more I''m now going to exit emacs. Regards, Frank -- Frank K?ster Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Z?rich Debian Developer (teTeX/TeXLive)
Marc Haber
2007-Jun-12 08:23 UTC
[Pkg-exim4-users] What does exim4 need after the network connection changes?
On Mon, Jun 11, 2007 at 11:33:41PM +0200, Frank K?ster wrote:> Marc Haber <mh+pkg-exim4-users at zugschlus.de> wrote: > > Usually echo fasel | exim4 -d some_address at domain.example will do fine. > > It took me a while until I encountered the problem again (I''m at the > university less often, they no longer paying me...). I did (as root) > > echo fasel | exim4 -d frank at kuesterei.ch > > and that was fast, so maybe it''s still emacs/gnus...I suspect a DNS issue. Your DNS server might have cached the result from the previous call, so the debugging was fast.> I have no ideay how to really check that, except that once more I''m > now going to exit emacs.I am kind of out of ideas as well. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190