#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: |
Description
Hi, I'm trying to install email2trac on my trac system. I've set a support email address, I've added router and transport as mentioned: prod:/etc/exim4/conf.d# more transport/30_exim4-config_trac trac_transport: 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 trac_router: 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 <= root@nouvo.info U=root P=local S=2153 2008-03-04 09:14:03 1JWTDn-0000RR-Ao => support <support@nouvo.info> 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 right. 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 SWITZERLAND jean-christophe.liechti@tsr.ch 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)
Change History (5)
Changed 16 years ago by anonymous
comment:3 Changed 16 years ago by bas
- Status changed from new to assigned
Jean-Christophe,
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:
[DEFAULT] 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?
Regards.
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 tsr.ch
- 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 https://subtrac.sara.nl/oss/email2trac/wiki/Email2tracMta
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.
Added by email2trac