Opened 16 years ago

Closed 16 years ago

Last modified 14 years ago

#50 closed defect (fixed)

Configuring a exim4 debian package to use with email2trac

Reported by: <Jean-Christophe.Liechti@…> Owned by: bas
Priority: major Milestone:
Component: email2trac Version: 0.1
Keywords: Cc:



I'm trying to install email2trac on my trac system.

I've set a support email address, I've added router and transport as

prod:/etc/exim4/conf.d# more transport/30_exim4-config_trac


  driver = pipe

  command = /usr/local/bin/email2trac

  current_directory = /tmp

  home_directory =  /tmp

  user = www-data

  group = www-data

prod:/etc/exim4/conf.d# more router/101_exim4-config_trac_gw


  driver = accept

  require_files = /usr/local/bin/email2trac

  local_parts = support

  transport = trac_transport

When I send a message to support it functions:

2008-03-04 09:14:03 1JWTDn-0000RR-Ao <= U=root P=local

2008-03-04 09:14:03 1JWTDn-0000RR-Ao => support <>
R=local_user T=maildir_home

2008-03-04 09:14:03 1JWTDn-0000RR-Ao Completed

But it seems like it's not piped to trac2mail... Don't we need to set
the -project= in exim4? I' can't see any log with tail -n 50
/var/log/syslog (is it right?)

If I'm using email2trac -project=  < test.msg everything's going

Thank you very much for your help.

Sincerely yours,

Jean-Christophe Liechti

Nouvelles technologies et innovation

Télévision Suisse Romande

20 Quai Ernest Ansermet

CH-1211 Genève 8


mobile: +41 79 570 1475

phone: +41 22 708 7686

************************* DISCLAIMER *********************************
Ce message et toutes les pieces jointes (ci-apres le "message") sont
etablis a l'intention exclusive de ses destinataires et sont
confidentiels. Si vous recevez ce message par erreur, merci de le
detruire et d'en avertir immediatement l'expediteur. Toute utilisation
de ce message non conforme a sa destination, toute diffusion ou toute
publication, totale ou partielle, est interdite, sauf autorisation
expresse. L'internet ne permettant pas d'assurer l'integrite de ce
message, la Television Suisse Romande decline toute responsabilite au
titre de ce message, dans l'hypothese ou il aurait ete modifie.

This message and any attachments (here after "message") is intended
solely for the addressees and is confidential. If you receive this
message by error, please delete it and immediately notify the sender.
Any use not in accord with its purpose, any dissemination or
disclosure, either whole or partial, is prohibited except formal
approval. The internet can not guarantee the integrity of this
message. Television Suisse Romande shall not therefore be liable for
the message if modified.

Attachments (1)

part0001.html (10.4 KB) - added by anonymous 16 years ago.
Added by email2trac

Download all attachments as: .zip

Change History (5)

Changed 16 years ago by anonymous

Added by email2trac

comment:1 Changed 16 years ago by anonymous

  • id set to 50

This message has 1 attachment(s)

comment:3 Changed 16 years ago by bas

  • Status changed from new to assigned


I am not familiar with exim, but maybe i have some useful tips:

  • First it is -p <name> or --project=<name>

How many projects use email2trac? If it is only one then you can specify the project name in the DEFAULT section:

project      : /data/trac/test

If you have more projects then you have to specify which project you want to archive the email. Can you specify command line options for trac_transport to the command line?


comment:4 Changed 16 years ago by bas

  • Resolution set to fixed
  • Status changed from assigned to closed

Just closes it

comment:5 Changed 16 years ago by jean-christophe.liechti at

  • Summary changed from Logical question to Configuring a exim4 debian package to use with email2trac

Problem solved:

We use a exim4 debian package that takes its configuration in the file /var/lib/exim4/config.autogenerated.

To add a router and a transport as stated in

you have to modify /etc/exim4/exim4.conf.template and then run

dpkg-reconfigure exim4-config to recreate the autogenerated file.

Easy when you knows it.

Add Comment

Modify Ticket

Change Properties
as closed The owner will remain bas.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.