I'm using the packages in the Ubuntu 11.04 repos (trac 0.11).

I want to read an IMAP folder and inject into trac. I have things
working so that I can manually inject into trac:

  echo "Subject:xx\n\nxx" | email2trac -p myproject

.. but when I try injecting from getmail I'm getting errors:

 msg 1/5 (72687 bytes) msgid 646810065/INBOX/6 from <myemail>
   2011-05-20 17:22:33 Delivery error (command email2trac 3118 error
(1, ))
 (etc)

My getmailrc file contains:
  [destination]
  type=MDA_external
  path=/usr/bin/email2trac
  arguments = ("--project myproject", "-f /etc/email2trac.conf")

.. and I'm just running it manually from the same directory as the
config ("getmail -g.")

My email2trac config has varied a bit with my experiments but it
currently reads as follows - an anyone spot the obvious flaw in my
setup?

[DEFAULT]
project: /path/to/trac/default
debug: 1
umask: 022
spam_level: 5
reply_all : 0
mailto_link: 0
email_header: 0
trac_version: 0.11
enable_syslog : 1
alternate_notify_template :
alternate_notify_template_update :
drop_spam : 0
verbatim_format: 1
strip_signature: 0
email_quote: >
strip_quotes: 0
ignore_trac_user_settings: 0
black_list: MAILER-DAEMON@
drop_alternative_html_version: 1
log_file: /path/to/trac/email2trac.log
log_level: INFO

[myproject]
project: /path/to/trac/myproject
spam_level: 1
enable_syslog: 1


-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to