Opened 7 years ago

Last modified 6 years ago

#9256 new enhancement

Check mail only when network/internet is available

Reported by: dsjonny Owned by: czeidler
Priority: normal Milestone: R1
Component: Servers/mail_daemon Version: R1/alpha4.1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

This would be useful if the mail daemon only checks for new mail or send mails, when network/internet connection is available. I use Haiku on USB drive, and test it on some different PC-s, but only on some has internet connection, so, I always got a mail daemon alert: cannot connect to the mail server.

Change History (3)

comment:1 by dsjonny, 6 years ago

I also got a timeout alert after boot, because the Mail Daemon want to check mails, but no network connection is available that time, just some seconds later.

comment:2 by phoudoin, 6 years ago

Indeed, mail_daemon should check that at least one interface link is up (beside loopback) before trying to do any non-local network request.

Last edited 6 years ago by phoudoin (previous) (diff)

comment:3 by axeld, 6 years ago

Up and configured, that is. In my IMAP branch, I've added a small delay at start which should help a bit, at least.

Note: See TracTickets for help on using tickets.