README.Users 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. ===============================
  2. reportbug Information for Users
  3. ===============================
  4. How to use GMail SMTP server
  5. ============================
  6. You have to set these variables in ~/.reportbugrc file:
  7. smtphost smtp.googlemail.com:587
  8. smtpuser "<your address>@gmail.com"
  9. smtptls
  10. Thanks to: Raphael Geissert <atomo64@gmail.com>
  11. How to Usertags a Bug at Report Time
  12. ====================================
  13. If you're filing a bug and you what to usertag it, you can add these
  14. lines (in the pseudo-header)
  15. User: <user email address>
  16. Usertags: <tag>
  17. right after
  18. Package: <package>
  19. Version: <version>
  20. Severity: <severity>
  21. lines in the bug body.
  22. Please note that if you specify more than 2 tag, then they will be
  23. ordered alphabetically (so if you use usercategories, it will only
  24. appears in the first one).
  25. Thanks to: Sandro Tosi <morph@debian.org>
  26. How to Use New GTK+ User Interface
  27. ==================================
  28. If you tried to set the new GTK+ UI (named in reportbug as gtk2 ui)
  29. and it fails to start (falling back to text mode, hopefully), chances
  30. are that you are missing some of the needed modules:
  31. - python-gtk2
  32. - python-vte
  33. If after installing both of them still GTK+ UI doesn't show up, please
  34. file a report (in text ui :) ).
  35. Thanks to: Sandro Tosi <morph@debian.org>
  36. How to Use `gnus` MUA effectively
  37. =================================
  38. reportbug is now able to use an already running instance of emacs,
  39. instead of spawning a new one.
  40. In order to obtain that, you have to install:
  41. - `emacs22-bin-common` or `emacs23-bin-common` (as mentioned in
  42. Suggests control field)
  43. that contains the `emacsclient` program needed for the integration to
  44. work (minimum version is 22 because earlier versions of `emacsclient`
  45. did not support the `--eval` option).
  46. Then a change to ~/.emacs file is needed, in order to add:
  47. (server-start)
  48. or else Emacs won't listen for connections from emacsclient (and a new
  49. `emacs` instance is executed).
  50. With this changes, using the `gnus` MUA, the mail is opened in the
  51. running `emacs`, or if there's none, a new instance is executed.
  52. Thanks to: Håkon Stordahl <hakon@stordahl.org>
  53. How To Specify Pseudo-Headers
  54. =============================
  55. A pseudo-header is like a mail header (a pair of '<field>: value') but specified
  56. at the beginning of the mail body, instead of in the mail headers section.
  57. Some pseudo-headers, like 'Version' or 'Package' are added automatically by
  58. reportbug when preparing the report, but others can be specified by the
  59. reporter.
  60. This can be achieved in two ways:
  61. - from the command-line, using "-P '<field>: value'" command-line option;
  62. - directly when writing the report, appending the pseudo-header to the list at
  63. the beginning of the email body.
  64. First of all, please note that reportbug tries to recognize if a given header is
  65. a pseudo-header, and so it should be left in the pseudo-header list, or else
  66. it's a mail header, and so it should be moved into mail headers section. This is
  67. done because it's easier to add a mail header to the pseudo-header list (because
  68. it's in the mail body, so you don't have to edit the mail headers) and let
  69. reportbug move it (or leave it) to the correct location (for example,
  70. 'X-Debbugs-Cc' if added to the pseudo-header is then moved to mail headers
  71. section to be processed by debbugs engine).
  72. That said, please note that this two ways have now a different semantics: any
  73. pseudo-header passed on the command-line is preserved as a pseudo-header, and
  74. not moved to the mail headers part of the email, while adding a header into the
  75. mail body still trigger the reportbug recognition code that will move the header
  76. to mail headers part if not a "common" pseudo-header (like 'Usertags',
  77. 'Severity', or 'Package' and so on).
  78. Network Errors and Timeout
  79. ==========================
  80. There are situations where a network error is returned, for example:
  81. "Unable to connect to BTS". These of course can be caused by a network
  82. unavailability.
  83. Another explanation can be that the remote resource is so slow to
  84. respond (or it's stale) and a timeout is triggered. By default this
  85. timeout is set to 1 minute; so in case of such an error, if you're
  86. unsure that it's a clear network outage, you can try to pass
  87. `--timeout <secs>' to either `reportbug' or `querybts' and see if it
  88. solves the issue.
  89. reportbug.debian.org SMTP Host Service Usage Policy
  90. ===================================================
  91. Since Dec 2008 (see NEWS entry about it), the Debian project provides
  92. a convenient SMTP host specifically aimed for reportbug:
  93. reportbug.debian.org.
  94. This host is useful in situations like:
  95. - the machine doesn't have a local MTA to forward emails;
  96. - no SMTP server is known;
  97. - the usual SMTP server is not working/unusable (different network);
  98. - etc.
  99. Please keep in mind that this service has some limitations:
  100. - only 5 reports per hour are allowed (technically, 5 connections to
  101. the server, even if they don't result in bugs submission);
  102. - relay is not allowed.
  103. The last rule, in particular, doesn't allow to send a carbon-copy of
  104. the report to the submitter (the same email sent to the BTS to open
  105. the bug), and X-Debbugs-CC has to be used instead (that will send an
  106. email after BTS processing).
  107. Let us also clarify that this service is in no way controlled by
  108. reportbug maintainers, so in case any questions/complains/information
  109. requests you have to contact owner@bugs.debian.org .