Custom Query (332 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1 - 3 of 332)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#447 fixed Installation / Setup issue with Ubuntu 20.04 / Trac 1.2.5 / Fetchmail bas anonymous
Description

Hello,

I have problems installing email2trac with fetchmail and I hope you can help me. We are running a Trac 1.2.5 environment on Apache on an Ubuntu 20.04 machine and I would like to use email2trac on it.

So first, I downloaded the latest version of email2trac from here, extracted it and installed/compiled with the following command:

./configure --with-mta_user=fetchmail --with-trac_user=www-data --prefix=/usr --sysconfdir=/etc
make
make install

So I have both "email2trac" and "run_email2trac" in /usr/bin

My /etc/email2trac.conf looks like this:

[DEFAULT]
project: /var/lib/trac/testproject
debug: 0
black_list: MAILER-DAEMON@
drop_spam : 1
drop_alternative_html_version: 1
email_quote: >
html2text_cmd:
ignore_trac_user_settings: 0
inline_properties: 1
reply_all : 0
spam_level: 5
strip_quotes: 0
strip_signature: 0
ticket_update: 1
ticket_update_by_subject: 1
umask: 022
verbatim_format: 1


[bas]
project: /var/lib/trac/testproject
spam_level: 1

Afterwards, I installed fetchmail to grab the emails from our server and "move" them to Trac. I did "chmod 600 /etc/fetchmailrc" and "chown fetchmail /etc/fetchmailrc"

My /etc/fetchmailrc looks like this:

set daemon      30
poll  imap.ionos.de  with proto IMAP
user 'address@domain.org' there with password 'password' is 'www-data' here ssl
mda "/usr/bin/run_email2trac"

In Syslog, I can see the following log - sorry it's in German, but it's basically saying:

  • It found 5 messages (4 of them already seen)
  • run_email2trac[6279]: initgroups failed
  • Error while writing the message text
  • MDA error when fetching date from address@…@imap.ionos.de
  • Query status=6 (IOERR)
Feb 15 14:27:54 andreas-VirtualBox fetchmail[6180]: 5 Nachrichten (4 gesehene) für address@domain.org bei imap.ionos.de.
Feb 15 14:27:54 andreas-VirtualBox run_email2trac[6279]: initgroups failed
Feb 15 14:27:54 andreas-VirtualBox fetchmail[6180]: Nachricht address@domain.org@imap.ionos.de:5 von 5 wird gelesen (9570 Bytes im Nachrichtenkopf) (10140 Bytes im Nachrichtenkörper) (Log-Meldung unvollständig)
Feb 15 14:27:54 andreas-VirtualBox fetchmail[6180]: Fehler beim Schreiben des Nachrichtentextes
Feb 15 14:27:54 andreas-VirtualBox fetchmail[6180]: MDA-Fehler beim Abholen von address@domain.org@imap.ionos.de
Feb 15 14:27:54 andreas-VirtualBox fetchmail[6180]: Abfragestatus=6 (IOERR)

Did I miss something during installation / configuration progress? Does anyone have an idea of what could be wrong? I'm thankful for every hint!

Thank you!

Best regards, Andreas

#444 worksforme having problem in installing email2trac on Ubuntu 14.04.6 LTS bas vinod27
Description

I was trying to install email2trac on my Ubuntu 14.04.6 LTS os but i am unable to complete documentations to setup and work with it.

#428 invalid email2trac crashes with Python error bas anonymous
Description

When running email2trac 2.12.2 on CentOS7 with Python 2.7.5 and the commandline:

email2trac -d -v < msg.txt

using the msg.txt distributed with the application, parsing crashes. python does a trace dump as follows:

2018-05-06 16:54:59,457 email2trac test: function inline_properties 2018-05-06 16:54:59,457 email2trac test: function unique_attachment_names() 2018-05-06 16:54:59,457 email2trac test: function get_body_text() 2018-05-06 16:54:59,459 email2trac test: Traceback (most recent call last):

2018-05-06 16:54:59,459 email2trac test: File "/usr/local/bin/email2trac", line 2922, in <module>

tktparser.parse(sys.stdin)

2018-05-06 16:54:59,459 email2trac test: File "/usr/local/bin/email2trac", line 1863, in parse

self.parse_subject_field(m, subject, spam_msg)

2018-05-06 16:54:59,459 email2trac test: File "/usr/local/bin/email2trac", line 2008, in parse_subject_field

self.new_ticket(m, subject, spam_msg)

2018-05-06 16:54:59,459 email2trac test: File "/usr/local/bin/email2trac", line 1340, in new_ticket

self.id = tkt.insert()

2018-05-06 16:54:59,459 email2trac test: File "/usr/lib64/python2.7/site-packages/trac/ticket/model.py", line 261, in insert

db_values = self._to_db_types(self.values)

2018-05-06 16:54:59,459 email2trac test: File "/usr/lib64/python2.7/site-packages/trac/ticket/model.py", line 405, in _to_db_types

values[field] = _datetime_to_db_str(value, is_custom_field)

2018-05-06 16:54:59,460 email2trac test: File "/usr/lib64/python2.7/site-packages/trac/ticket/model.py", line 63, in _datetime_to_db_str

ts = to_utimestamp(dt)

2018-05-06 16:54:59,460 email2trac test: File "/usr/lib64/python2.7/site-packages/trac/util/datefmt.py", line 193, in to_utimestamp

diff = dt - _epoc

2018-05-06 16:54:59,460 email2trac test: TypeError?: unsupported operand type(s) for -: 'unicode' and 'datetime.datetime'

2018-05-06 16:54:59,460 email2trac test: saving email to /tmp/test_DeEDc.email2trac 2018-05-06 16:54:59,461 email2trac test: function get_message_parts() 2018-05-06 16:54:59,461 email2trac test: Message part: Main-Type: multipart 2018-05-06 16:54:59,461 email2trac test: Message part: Content-Type: multipart/mixed 2018-05-06 16:54:59,461 email2trac test: Skipping multipart container 2018-05-06 16:54:59,461 email2trac test: Message part: Main-Type: text 2018-05-06 16:54:59,461 email2trac test: Message part: Content-Type: text/plain

1 2 3 4 5 6 7 8 9 10 11
Note: See TracQuery for help on using queries.