Package: reportbug
Version: 6.6.3
Followup-For: Bug #782319

Hi
Added some info .



-- Package-specific info:
** Environment settings:
INTERFACE="gtk2"

** /home/as/.reportbugrc:
reportbug_version "6.6.3"
mode advanced
ui gtk2
realname "Corcodel Marian"
email "a...@marian1000.go.ro"
smtphost "marian1000.go.ro"

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

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

Versions of packages reportbug depends on:
ii  apt               1.0.9.7
ii  python            2.7.9-1
ii  python-reportbug  6.6.3
pn  python:any        <none>

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  claws-mail                               <none>
pn  debconf-utils                            <none>
pn  debsums                                  <none>
pn  dlocate                                  <none>
pn  emacs23-bin-common | emacs24-bin-common  <none>
ii  file                                     1:5.22+15-2
ii  gnupg                                    1.4.18-7
pn  postfix | exim4 | mail-transport-agent   <none>
ii  python-gtk2                              2.24.0-4
pn  python-gtkspell                          <none>
pn  python-urwid                             <none>
ii  python-vte                               1:0.28.2-5
ii  xdg-utils                                1.1.0~rc1+git20111210-7.4

Versions of packages python-reportbug depends on:
ii  apt               1.0.9.7
ii  python-debian     0.1.25
ii  python-debianbts  1.12
pn  python:any        <none>

python-reportbug suggests no packages.

-- no debconf information
--- submit.py	2015-01-04 12:41:45.000000000 +0200
+++ /usr/lib/python2.7/dist-packages/reportbug/submit.py	2015-04-11 09:37:29.809833762 +0300
@@ -312,7 +312,7 @@
         pipe = sys.stdout
     elif mua:
         pipe, filename = TempFile(prefix=tfprefix, dir=draftpath)
-    elif outfile or not ((mta and os.path.exists(mta)) or smtphost):
+    elif outfile or not ((mta and os.path.exists(mta)) or not  smtphost == 'localhost'):
         msgname = os.path.expanduser(outfile) or ('/var/tmp/%s.bug' % package)
         if os.path.exists(msgname):
             try:
@@ -435,6 +435,7 @@
             fh.write(message)
             fh.close()
             ui.long_message('Error: send/write operation failed, bug report '
+                            'MTA is not installed local, please check smtphost on configuration , '
                             'saved to %s\n', msgname)
 
     if mua:

Reply via email to