[Pymilter] Pymilter upgrade 0.9.5 - 1.0

Stuart D Gathman stuart at bmsi.com
Thu Aug 21 15:49:31 EDT 2014


On Aug 20, Georg Rabenstein transmitted in part:

> we are running your pymilter in version 0.9.5 on our live mail server
> with implemented scripts from a former colleague.  I was wondering i
> there is a way to upgrade pymilter to 1.0 with a fallback option in
> case the scripts stop working properly.

> The System runs ubuntu 12.04 with 3.11.0-22-generic kernel and python2.7

I am not aware of any backwards compatibility issues.  The "1.0" 
in this case means that the complete milter API is finally implemented
(and has been stable for a long time).

On Fedora and EPEL, the pymilter package does not include the start.sh
script.  This is because start.sh is an ugly, incomplete hack, and I've
updated all packages that used it to use daemonize instead.  If that is
an issue for you, I'm sure that ubuntu has a daemonize package.

As an example, this is how the SysVInit script for pysrs starts pysrs with
daemonize:

   echo -n "Starting $prog: "
   daemon --check pysrs --pidfile "${piddir}/${prog}.pid" --user mail \
   daemonize -a -e "${logdir}/${prog}.log" -o "${logdir}/${prog}.log" \
 	  -c "${workdir}" -p "${piddir}/${prog}.pid" \
 	  /usr/bin/${python} ${prog}.py
   RETVAL=$?

How to "unupgrade" is a distribution question.  In an rpm based system,
you would force install the old rpm, or use yum downgrade.




More information about the Pymilter mailing list