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