Hi Mathew, Thanks for replying back. I would look into your notes to install the mail server.
Before that, can you say how to test Email2Trac and Mail2Trac plugins locally ? I have installed the Trac in my local machine successfully. I don't have the idea of how to proceed to test the plugins. To be precise where I'm struggling to continue is: 1. Able to create a ticket and the ticket is sent to Gmail successfully. 2. No clue on where the email generated is stored in the local machine. 3. The main functionality to check is to modify the ticket and send to Email2Trac and Mail2Trac plugin so that the modification must be added as a comment in the ticket page. 4. How to receive the mail locally in the machine to see rather than sending to the gmail. I kindly request you to explain if possible step - by - step so that I can understand easily. I'm working in ubuntu 14.0.4 and see a good article for email2trac on windows but not for ubuntu. Thanks and Regards, Sri Ram Kannan. On Wednesday, February 4, 2015 at 2:15:41 PM UTC-5, matt.caron wrote: > > On 02/04/2015 11:06 AM, Sri Ram Kannan wrote: > > But I don't know hot to setup smtp server locally so that I can receive > > and see the emails generated by Trac syystem ? > > You would need to set up a mailserver in your system to send and receive > email. Whether that server merely forwards on to another server or is a > full-fledged mailserver and runs something like an IMAP daemon to allow > you to access it is likely mostly determined by your needs. Explanation > of this task is not really Trac related, and thus is out of scope for > this list, but I'll try to be helpful (see below). > > > I request someone to update me about this. I'm doing this setup in > > ubuntu 14.0.4 > > I use exim in my setup, and my notes are here: > > > https://github.com/mattcaron/misc_notes/blob/master/install.linode.ubuntu.12.04 > > > This is for 12.04. 14.04 should be similar. > > Item 12 has exim (SMTP) notes. Item 11 has dovecot (IMAP) notes. Item 13 > integrates the two. I stress that these are my internal notes, and not a > howto, they should be regarded as expert level documentation. However, > it may provide a starting point to give you searchable terms for > better-written tutorials. There are also reference links in my notes. > > Once you have the mailserver set up, email2trac should be simple - you > simply add a router just after the "begin routers" section, which is > like this: > > == > # This router only handles local trac@ addresses (for whatever domain). > # It requires the email2trac.py script to exist and passes mails off to > # that script via the trac_transport. > trac_router: > driver = accept > require_files = /usr/local/bin/email2trac.py > local_parts = trac > transport = trac_transport > == > and then, right after the "begin transports" line, you need to add this > transport: > == > # This transport is used for the Trac to e-mail gateway. The order in > # this section doesn't matter; a transport has to be explicitly referred > # to by a router in the routers section in order to be used. > # > # This works by piping e-mails to the email2trac.py script, run as the > # www-data user. > trac_transport: > driver = pipe > command = /usr/local/bin/email2trac.py > current_directory = /tmp > home_directory = /tmp > user = www-data > group = www-data > == > > This will take an email of trac@<anything> and send it to email2trac.py. > > -- > Matthew Caron, Software Build Engineer > Red Lion Controls | www.redlion.net > +1 (518) 877-5173 x138 office > -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
