Release 0.9.4
This commit is contained in:
@@ -7,6 +7,9 @@ real, usable Python extension.
|
||||
|
||||
Other contributors (in random order):
|
||||
|
||||
|
||||
Daniel Troeder
|
||||
for pointing out a typo in @noreply
|
||||
arkanes@irc.freenode.net
|
||||
for suggesting a class method to compute and cache protocol masks
|
||||
habnabit@habnabit.org
|
||||
|
||||
+4
-1
@@ -5,6 +5,9 @@
|
||||
# Send DSNs, do call back verification,
|
||||
# and generate DSN messages from a template
|
||||
# $Log$
|
||||
# Revision 1.20 2010/10/11 00:29:47 customdesigned
|
||||
# Handle multiple recipients. For CBV or auto whitelist of multiple emails.
|
||||
#
|
||||
# Revision 1.19 2009/07/02 19:41:12 customdesigned
|
||||
# Handle @ in localpart.
|
||||
#
|
||||
@@ -123,7 +126,7 @@ def send_dsn(mailfrom,receiver,msg=None,timeout=600,session=None,ourfrom=''):
|
||||
mailfrom = [mailfrom]
|
||||
badrcpts = {}
|
||||
for rcpt in mailfrom:
|
||||
code,resp = smtp.rcpt(mailfrom)
|
||||
code,resp = smtp.rcpt(rcpt)
|
||||
if code not in (250,251):
|
||||
badrcpts[rcpt] = (code,resp)# permanent error
|
||||
smtp.quit()
|
||||
|
||||
+4
-11
@@ -1,9 +1,4 @@
|
||||
# EL 3,4,5 supported, set to 0 for Fedora
|
||||
%define el4 1
|
||||
%define dist .el4
|
||||
%if 0%{?el3} || 0%{?el4}
|
||||
%define __python python2.4
|
||||
%endif
|
||||
%define __python python2.6
|
||||
|
||||
%define libdir %{_libdir}/pymilter
|
||||
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
@@ -11,7 +6,7 @@
|
||||
|
||||
Summary: Python interface to sendmail milter API
|
||||
Name: pymilter
|
||||
Version: 0.9.3
|
||||
Version: 0.9.4
|
||||
Release: 1%{dist}
|
||||
Source: http://downloads.sourceforge.net/pymilter/%{name}-%{version}.tar.gz
|
||||
License: GPLv2+
|
||||
@@ -19,13 +14,9 @@ Group: Development/Libraries
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
Url: http://www.bmsi.com/python/milter.html
|
||||
Requires: %{pythonbase} >= 2.4, sendmail >= 8.13
|
||||
%if 0%{?el3} || 0%{?el4}
|
||||
# Need python2.4 specific pydns, not the version for system python
|
||||
Requires: pydns
|
||||
%else
|
||||
# Needed for callbacks, not a core function but highly useful for milters
|
||||
Requires: python-pydns
|
||||
%endif
|
||||
BuildRequires: ed, %{pythonbase}-devel >= 2.4, sendmail-devel >= 8.13
|
||||
|
||||
%description
|
||||
@@ -83,6 +74,8 @@ chmod a+x $RPM_BUILD_ROOT%{libdir}/start.sh
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%changelog
|
||||
* Wed Mar 02 2010 Stuart Gathman <stuart@bmsi.com> 0.9.4-1
|
||||
|
||||
* Thu Jul 02 2009 Stuart Gathman <stuart@bmsi.com> 0.9.3-1
|
||||
- Handle source route in Milter.util.parse_addr()
|
||||
- Fix default arg in chgfrom.
|
||||
|
||||
Reference in New Issue
Block a user