[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#652731: Fwd: Bug#652731: ITP: extsmail -- enables the robust sending of e-mail to external commands.



also sprach Laurence Tratt <laurie@tratt.net> [2011.12.20.1956 +0100]:
> > What makes it robust? What happens if the external command fails?
> 
> The command is retried (with a delay) until it succeeds. For example the
> second scenario on <http://tratt.net/laurie/src/extsmail/scenarios.html>
> shows how this can be utilised to achieve fallover between servers.

The description of the package should answer my questions concisely.

Also, to run something ad infinitum until it succeeds might not be
the wisest choice as it could mean that it *never* completes.

> > How is failure detected?
> 
> The exit code of the command run. e.g. if using ssh, exit code != 0 indicates
> failure (and a presumption that mail delivery was unsuccessful). extsmail
> goes out of its way to detect a number of other unlikely failures (resources
> temporarily unavailable etc.). It should never lose mail. The only condition
> it can't recover from is a lack of memory (and given that even on a 64 bit
> machine it takes well under a Mb of memory, this is not hugely likely to
> happen) whereupon it will simply exit (unsent mail will remain unsent until
> extsmail is restarted).

What happens if someone tries to send 4Gb of mail?

So it maintains a mail queue? What if the filesystem fills up? How
does it prevent double-sending?

All these sort of questions should be answered in a description of
something you advertise to be robust, IMHO.

-- 
 .''`.   martin f. krafft <madduck@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
no. no musicals. i loathe musicals. i never did have a plan for
doing one. my cousin made me sit through some fucking musical twice.
i just hate them. they bore me stiff. i think they’re just horrible.
even _hair_. and they're always lousy music.
               -— john lennon, _the lost interviews_ by ray connolly

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)


Reply to: