Package: mimedefang
Version: 2.78-1
Severity: normal

Note: The issue was first tested against Version 2.75-1 (Jessie)
and after that an upgrade of the single package to 2.78-1(Stretch)
was done and resulted in the same outcome.

a) *** Steps to reproduce ***

   1. configure mimedefang listening to a tcp port 

      /etc/default/mimedefang
     
        # some arbritrary selected tcp port
        SOCKET=inet:17889

   2. Issue a service restart command, so the port comes up

      systemctl restart mimedefang

   3. Issue another service restart command, so the service
      is restarted

b) *** expected behaviour ***

   TCP Port 17889 is up

c) *** actual behaviour ***

   - TCP Port 17889 is down
   - journalctl -xn reports 
      
  Dez 05 01:30:10 myserver mimedefang[12855]: MIMEDefang-2.78: Unable to bind 
to port inet:17889: Address already in use
  Dez 05 01:30:10 myserver mimedefang[12855]: MIMEDefang-2.78: Unable to create 
listening socket on conn inet:17889

d) *** workaround ***

   Issue another systemctl restart some seconds later
   or use Init-Script /etc/init.d/mimedefang restart
   which waits some seconds after stopping the service

-- System Information:
Debian Release: 8.2
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mimedefang depends on:
ii  adduser                     3.113+nmu3
ii  debconf [debconf-2.0]       1.5.56
ii  libc6                       2.19-18+deb8u1
ii  libio-stringy-perl          2.110-5
ii  libmailtools-perl           2.13-1
ii  libmilter1.0.1              8.14.4-8
ii  libmime-tools-perl          5.505-1
ii  libperl5.20                 5.20.2-3+deb8u1
ii  libunix-syslog-perl         1.1-2+b4
ii  perl [libmime-base64-perl]  5.20.2-3+deb8u1
ii  psmisc                      22.21-2

mimedefang recommends no packages.

Versions of packages mimedefang suggests:
pn  clamav                     <none>
pn  graphdefang                <none>
pn  libarchive-zip-perl        <none>
pn  libfile-scan-perl          <none>
pn  libhtml-parser-perl        <none>
pn  libmail-spamassassin-perl  <none>
ii  postfix                    2.11.3-1
pn  sanitizer                  <none>
pn  tk8.3 | wish               <none>
pn  wv                         <none>

-- debconf information:
  mimedefang/embedperl: true

Reply via email to