Your message dated Wed, 21 Nov 2018 21:51:32 +0000 with message-id <[🔎] E1gPaPE-0005Gf-Al@fasolo.debian.org> and subject line Bug#914073: Removed package(s) from unstable has caused the Debian Bug report #503830, regarding Configure server support to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 503830: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503830 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: Configure server support
- From: Anton Lundin <glance@acc.umu.se>
- Date: Tue, 28 Oct 2008 15:06:28 +0100
- Message-id: <20081028140627.GL4553@hatchepsut.acc.umu.se>
Package: mailping Severity: wishlist Tags: patch This patch adds support for specifying witch mailserver to hand the ping-mail to. This started out because I run qmail, via tcpserver, and don't want it to listen to all ip's on the machine, thus one ip-per-tcpserver, so it doesn't listen to localhost. The other case I use it is to test the primary/secondary mailserver explicit. -- Anton Lundin +46702-161604diff -ur mailping-0.0.4.orig/MailPing/config.py mailping-0.0.4/MailPing/config.py --- mailping-0.0.4.orig/MailPing/config.py 2004-04-16 19:36:08.000000000 +0200 +++ mailping-0.0.4/MailPing/config.py 2008-10-28 14:51:04.000000000 +0100 @@ -16,7 +16,7 @@ t = default return t -def getEmail(configdir, name, default=_NoDefault): +def getString(configdir, name, default=_NoDefault): path = os.path.join(configdir, name) try: f=file(path) diff -ur mailping-0.0.4.orig/MailPing/probe.py mailping-0.0.4/MailPing/probe.py --- mailping-0.0.4.orig/MailPing/probe.py 2004-12-03 10:13:37.000000000 +0100 +++ mailping-0.0.4/MailPing/probe.py 2008-10-28 14:54:02.000000000 +0100 @@ -65,14 +65,14 @@ return msg -def send(msg, sender, recipient): +def send(msg, sender, recipient, server): s = smtplib.SMTP() - s.connect() + s.connect(server) s.sendmail(sender, [recipient], msg.as_string()) s.quit() def process(statedir, interval, curtime, - fromAddress, toAddress, adminAddress): + fromAddress, toAddress, adminAddress, server): if shouldSend(statedir, interval, curtime): ident = randomIdent() msg = makeProbe(ident=ident, @@ -81,7 +81,8 @@ adminAddress=adminAddress) send(msg, sender=fromAddress, - recipient=toAddress) + recipient=toAddress, + server=server) pending = os.path.join(statedir, 'pending') try: diff -ur mailping-0.0.4.orig/MailPing/test/test_config.py mailping-0.0.4/MailPing/test/test_config.py --- mailping-0.0.4.orig/MailPing/test/test_config.py 2004-04-14 14:42:01.000000000 +0200 +++ mailping-0.0.4/MailPing/test/test_config.py 2008-10-28 14:51:32.000000000 +0100 @@ -29,18 +29,18 @@ def testEmailFail(self): self.assertRaises(config.NoSuchConfigItem, - config.getEmail, + config.getString, self.configdir, 'not-exist') def testEmailDefault(self): class Unique: pass self.assertEquals(Unique, - config.getEmail(self.configdir, 'not-exist', + config.getString(self.configdir, 'not-exist', Unique)) def testEmailOK(self): fileutil.writeFile(os.path.join(self.configdir, 'sometimes'), '42\n') - self.assertEquals(config.getEmail(self.configdir, 'sometimes'), + self.assertEquals(config.getString(self.configdir, 'sometimes'), '42') diff -ur mailping-0.0.4.orig/bin/mailping-cron mailping-0.0.4/bin/mailping-cron --- mailping-0.0.4.orig/bin/mailping-cron 2004-04-16 17:47:36.000000000 +0200 +++ mailping-0.0.4/bin/mailping-cron 2008-10-28 14:56:10.000000000 +0100 @@ -35,8 +35,8 @@ interval = config.getTime(configPath, 'interval', 10*60) - fromAddress = config.getEmail(configPath, 'from', None) - toAddress = config.getEmail(configPath, 'to', None) + fromAddress = config.getString(configPath, 'from', None) + toAddress = config.getString(configPath, 'to', None) if fromAddress is None or toAddress is None: user = pwd.getpwuid(os.getuid()).pw_name host = socket.getfqdn() @@ -44,14 +44,16 @@ fromAddress = '%s@%s' % (user, host) if toAddress is None: toAddress = '%s+%s@%s' % (user, dirname, host) - adminAddress = config.getEmail(configPath, 'admin', None) + adminAddress = config.getString(configPath, 'admin', None) + + server = config.getEmail(configPath, 'server', 'localhost') curtime = time.time() if os.path.isdir(os.path.join(statePath, 'incoming')): incoming.process(statePath) probe.process(statePath, interval, curtime, - fromAddress, toAddress, adminAddress) + fromAddress, toAddress, adminAddress, server) if __name__ == '__main__': if sys.argv[1:]:Attachment: pgp50iNLBjYGA.pgp
Description: PGP signature
--- End Message ---
--- Begin Message ---
- To: 503830-done@bugs.debian.org,631868-done@bugs.debian.org,739816-done@bugs.debian.org,
- Cc: mailping@packages.debian.org
- Subject: Bug#914073: Removed package(s) from unstable
- From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
- Date: Wed, 21 Nov 2018 21:51:32 +0000
- Message-id: <[🔎] E1gPaPE-0005Gf-Al@fasolo.debian.org>
Version: 0.0.4-4+rm Dear submitter, as the package mailping has just been removed from the Debian archive unstable we hereby close the associated bug reports. We are sorry that we couldn't deal with your issue properly. For details on the removal, please see https://bugs.debian.org/914073 The version of this package that was in Debian prior to this removal can still be found using http://snapshot.debian.org/. This message was generated automatically; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org. Debian distribution maintenance software pp. Scott Kitterman (the ftpmaster behind the curtain)
--- End Message ---