Quoting "Ivanelson Nunes" <[email protected]>:
I did the installation and configuration by following this [1]site.
My problem is that I do not understand where I set up a mail account that
will receive the messages. And say where these messages should be a Ticket?
Now do not get it where I can configure the e-mail that will receive the
messages and then create the new ticket.
My OS is Ubuntu 12.10 and Trac 1.0. I've tried to configure Postfix and
Fetchmail.
Still do not understand how to configure the MTA :(
The important points are:
1. You need an IMAP(S) server (or POP).
I can't help you with this issue, sorry.
2. You need to fetch the mail from IMAP(S)/POP and forward it to
email2trac. I do this using a cron job (every two minutes) using
getmail4.
A. For security reasons, I have a user "myticketuser" (disabled
password, no login possible), whos cron entry is:
*/2 * * * * /usr/bin/getmail > /dev/null
B. This user has the following ~/.getmail/getmailrc:
[retriever]
type = SimpleIMAPSSLRetriever
server = imap.myimapserver.com
username = myticketmail
password = WHATEVER
mailboxes = ("INBOX",)
move_on_delete = Trash
[destination]
type = MDA_external
path = /usr/bin/sudo
arguments = ("-u", "www-data", "/usr/bin/email2trac")
[options]
delete = True
verbose = 2
"www-data" is the user name of the Trac process.
This way, all mail to "[email protected]" create
Trac tickets.
HTH.
--
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/groups/opt_out.