Custom Query (332 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (187 - 189 of 332)

Ticket Resolution Summary Owner Reporter
#308 fixed Problems with run_email2trac and no logging possible bas kmartinka@…
Description

Hello,

I'm trying to figure out how to configure email2trac with fetchmail, but I'm unable to get it working if the .fetchmailrc is set to : mda "/usr/local/bin/run_email2trac"

but it works, if I have set the following line : mda "/usr/local/bin/email2trac"

Unfortunately it imports all emails in to TRAC :(, even from unathorised users or previously deleted users (removed from permissions, but it seems, that since they are still in DB the email2trac resolves it)

  • The trac2email.conf in /usr/local/etc has following options enabled and set:
    log_file : /home/trac/email2trac.log
    log_level : DEBUG
    log_type : FILE
    .
    .
    .
    ignore_trac_user_settings: 0
    ticket_permission_system: 1
    

It does not log(!) and it does ignore any permissions in TRAC.. It imports every email and it does not create the log file.

The fetchmail is being run under the account which has the permissions to the home directory.. (trac)

Please help me with the three installation issues :

  1. email2trac works, while run_email2trac does not (maybe explain the difference, please
  2. logging is not working
  3. permissions are not working

(Trac version 0.12.2)

}}}

#251 fixed NameError prevents script from running bas kofal002@…
Description

With the latest version of Email2Trac on Windows Server 2008 r2 and Python 2.7.1 (with Windows Extensions installed), I get this error:

Traceback (most recent call last):
  File "C:/.../Email2Trac/email2trac.py", line 2382, in <module>
    logger = setup_log(settings, os.path.basename(settings.project), debug_interactive)
  File "C:/.../Email2Trac/email2trac.py", line 2281, in setup_log
    log_handler = logging.handlers.NTEventLogHandler(logid, logtype='Application')
NameError: global name 'logid' is not defined

The phrase "logid" appears nowhere else in the script. I tried just changing "logid" to 1 and got a different error:

Traceback (most recent call last):
  File "C:/.../Email2Trac/email2trac.py", line 2382, in <module>
    logger = setup_log(settings, os.path.basename(settings.project), debug_interactive)
  File "C:/.../Email2Trac/email2trac.py", line 2281, in setup_log
    log_handler = logging.handlers.NTEventLogHandler(1, logtype='Application')
  File "C:\Python27\lib\logging\handlers.py", line 917, in __init__
    self._welu.AddSourceToRegistry(appname, dllname, logtype)
  File "C:\Python27\lib\site-packages\win32\lib\win32evtlogutil.py", line 35, in AddSourceToRegistry
    "SYSTEM\\CurrentControlSet\\Services\\EventLog\\%s\\%s" % (eventLogType, appName))
pywintypes.error: (5, 'RegCreateKey', 'Access is denied.')

Changing this to a different log type prevents this from happening. Instead of ending on a fatal error, perhaps if Windows logging does not work, default to a local log file instead?

#252 fixed Option to automatically add reporter to ticket cc field bas kofal002@…
Description

Hello,

We're using a Trac instance for both internal and customer-facing ticket reports, and want to be able to reply to tickets to send a customer (the reporter on an auto-generated ticket). However, we don't want to use the always_notify_reporter option in Trac, to avoid mailing developers about normal tickets.

Thus, we need a way to mail a reporter about Email2Trac tickets only. I believe the easiest way to do this would be to set a cc field on ticket creation with the email of the reporter. However, to my knowledge a default_cc field in email2trac.conf would not accept a reporter variable.

Could there be an option to automatically add the reporter (which, with email2trac, will always be an email address) to the CC field of any new tickets?

Note: See TracQuery for help on using queries.