Custom Query (332 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (319 - 321 of 332)

Ticket Resolution Summary Owner Reporter
#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.

#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

#20 fixed fails with request for r/w permissions when user possesses them already anonymous rercola@…
Description

I have a Trac 0.10.3 install on this machine, and I grabbed email2trac 0.10, configured it using dpkg-buildpackage, and installed it as a deb.

I edited the config to point to my trac install, and then edited postfix to point appropriately and run run_email2trac.

It silently failed a number of times before I thought to turn on syslog, and it now prints the following error:

Aug 9 06:30:07 einstein email2trac: Traceback (most recent call last): Aug 9 06:30:07 einstein email2trac: File "/usr/bin/email2trac", line 1062, in ? tktparser.parse(sys.stdin) Aug 9 06:30:07 einstein email2trac: File "/usr/bin/email2trac", line 647, in parse self.db = self.env.get_db_cnx() Aug 9 06:30:07 einstein email2trac: File "/var/lib/python-support/python2.4/trac/env.py", line 182, in get_db_cnx return DatabaseManager?(self).get_connection() Aug 9 06:30:07 einstein email2trac: File "/var/lib/python-support/python2.4/trac/db/api.py", line 75, in get_connection return self._cnx_pool.get_cnx(self.timeout or None) Aug 9 06:30:07 einstein email2trac: File "/var/lib/python-support/python2.4/trac/db/pool.py", line 101, in get_cnx cnx = self._connector.get_connection(self._kwargs) Aug 9 06:30:07 einstein email2trac: File "/var/lib/python-support/python2.4/trac/db/sqlite_backend.py", line 113, in get_connection return SQLiteConnection(path, params) Aug 9 06:30:07 einstein email2trac: File "/var/lib/python-support/python2.4/trac/db/sqlite_backend.py", line 150, in init raise TracError?('The user %s requires read _and_ write ' \ Aug 9 06:30:07 einstein email2trac: TracError?: The user trac requires read _and_ write permission to the database file /var/acmtrac/trac-project/db/trac.db and the directory it is located in.

However, if we check the permissions... # ls -al /var/acmtrac/trac-project/db total 6352 drwxr-xr-x 2 trac trac 4096 Aug 9 06:22 . drwxr-xr-x 10 trac root 4096 Aug 9 06:10 .. -rw-r--r-- 1 trac root 2149376 Aug 9 06:22 trac.db

I'm rather at a loss. Trac functions fine, for what it's worth, so whatever it is, it's not breaking trac itself, just email2trac...

Note: See TracQuery for help on using queries.