Custom Query (332 matches)


Show under each result:

Results (238 - 240 of 332)

Ticket Resolution Summary Owner Reporter
#263 fixed fetchmail and email2trac: run email2trac as www-data bas variofox@…

I am running fetchmail on Ubuntu 8.04 with the following /etc/fetchmailrc

server mail.zzz.yy
proto pop3
user trac@somewhere.yy
pass mypassword
is www-data here
mda "email2trac"

Therefore, email2trac runs as user fetchmail.

Apache runs as www-data, the trac-directory is owend by www-data:wwwdata, ug+rwx.

As I expected, I get The user fetchmail requires read _and_ write permissions to the database file /yyy/trac/test/db/trac.db and the directory it is located in.

If I add the fetchmail-user to the www-data secondary group, tickets are created nicely. However, in the attachments directory, the subdirectories are owned by fetchmail:nogroup and as a result, I get Attachment ... not found errors.

Of course, I can "chown www-data -R /yyy/trac/" and then it works.

run_email2trac fails with an fetchmail: Query status=6 (IOERR) and is set to ---s--x--x 1 root root

How can I make email2trac run as www-data?

This is my /etc/email2trac.conf

project: /yyy/trac/test
debug: 1
umask: 022
spam_level: 5
reply_all : 0
mailto_link: 0
umask: 022
email_header: 0
trac_version: 0.12
alternate_notify_template :
alternate_notify_template_update :
drop_spam : 0
verbatim_format: 1
strip_signature: 1
email_quote: >
strip_quotes: 0
ignore_trac_user_settings: 0
black_list: MAILER-DAEMON@
drop_alternative_html_version: 1
log_file: /tmp/email2trac.log
log_level: info
mta_user : fetchmail
trac_user : www-data

project: /yyy/trac/test
spam_level: 1
#264 fixed [Patch] Workflow not identified if 'status' is in mixed case bas hju@…

If a status is using upper case character (i.e waitingExternal) email2trac does not find the appropiate entry in the email2trac.conf

workflow_waitingExternal: dosomething

#265 wontfix Crash bas support@…

Hello email2trac. I observed a crash with email2trac, which I think happens when no Subject-header is given, although I'm only speculating

2011-08-03T08:02:08.975852+02:00 email2trac: Traceback (most recent call last):
2011-08-03T08:02:08.979852+02:00 email2trac:   File "/usr/bin/email2trac", line 1642, in <module>     tktparser.parse(sys.stdin)
2011-08-03T08:02:08.979852+02:00 email2trac:   File "/usr/bin/email2trac", line 961, in parse m.replace_header('Subject', m['Subject'].replace('\r', '').replace('\n', ''))
2011-08-03T08:02:08.979852+02:00 email2trac: AttributeError: 'NoneType' object has no attribute 'replace'

This is the standard package from Debian lenny. Not sure which version number that is.

Note: See TracQuery for help on using queries.