Modify

Opened 11 years ago

Closed 11 years ago

#320 closed setup (fixed)

How to configure the e-mail that triggers the creation of the Ticket

Reported by: ivanelsonnunes@… Owned by: bas
Priority: major Milestone:
Component: email2trac Version: 2.7.0
Keywords: Cc:

Description

Hello

I'm using Trac1.0. Email2Trac installed on my server Ubuntu12.10.

By prompt I can create a ticket.

$ sudo email2trac - project claudino <msg.txt


Now do not get it where I can configure the e-mail that will receive the
messages and then create the new ticket.

@ivanelson
[]s

Attachments (0)

Change History (9)

comment:1 follow-up: Changed 11 years ago by bas

  • Status changed from new to assigned
  • Type changed from defect to setup

Did you read https://oss.trac.surfsara.nl/email2trac/wiki/Email2tracMta? For every MTA the setup is different and maybe you have to reconfigure the package.

comment:2 in reply to: ↑ 1 Changed 11 years ago by anonymous

Replying to bas:

Did you read https://oss.trac.surfsara.nl/email2trac/wiki/Email2tracMta? For every MTA the setup is different and maybe you have to reconfigure the package.

At the prompt the ticket is created.

sudo  email2trac --project banana < msg.txt  

My /etc/aliases on Ubuntu 12.10

claudino: "|/usr/bin/run_email2trac --project=claudino"

/usr/local/etc/email2trac.conf

[DEFAULT]
project: /var/trac/projects/banana
debug: 1
black_list: MAILER-DAEMON@
drop_spam : 1
drop_alternative_html_version: 1
use_textwrap: 60
email_quote: >
html2text_cmd:
ignore_trac_user_settings: 0
inline_properties: 1
reply_all : 0
spam_level: 5
strip_quotes: 0
strip_signature: 1
ticket_update: 1
ticket_update_by_subject: 1
umask: 022
verbatim_format: 1
ticket_permission_system: update_restricted_to_participants
mta_user: nobody
trac_user: www-data
log_type: file 
log_file: /var/trac/projects/banana/log/email2trac.log                       
log_level: info

[banana]
project: /var/trac/projects/banana
spam_level: 1

/etc/postfix/main.cf

# SASL
smtp_sasl_auth_enable=yes
smtp_sasl_security_options = noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/saslpass

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = trac-bkp
alias_maps = hash:/etc/aliases, hash:/etc/postfix/saslpass
alias_database = hash:/etc/aliases
#myorigin = /etc/mailname
mydestination = banana.com.br, trac-bkp, localhost.localdomain, localhost
relayhost = XXX.XX.XX.XX

/etc/postfix/saslpass

XXX.XX.XX.XX    myemailtrac@banana.com.br:MyTracMailPass

comment:3 follow-up: Changed 11 years ago by bas

So is there anything in the logs? syslog, daemon, mail. email2trac log.

if your on the host and test it with:

mail claudino < msg.txt

Are there error message in the log files. I can not say what is wrong without diagnostic messages.

comment:4 in reply to: ↑ 3 Changed 11 years ago by anonymous

Replying to bas:

So is there anything in the logs? syslog, daemon, mail. email2trac log.

if your on the host and test it with:

mail claudino < msg.txt

Are there error message in the log files. I can not say what is wrong without diagnostic messages.

At the prompt message is sent and the Ticket is created. However still do not understand where I set the e-mail you will receive emails that trigger and shoot to create the ticket.

email2trac.log

https://gist.github.com/ivanelson/e67399c3119823dd38eb

comment:5 follow-up: Changed 11 years ago by ivanelsonnunes@…

The documentation for this plugin is not friendly(IMHO) the user.

My installation and configuration is working, thanks to:

https://groups.google.com/forum/ #! topic/trac-users/APhQVG0aBbA

comment:6 in reply to: ↑ 5 ; follow-up: Changed 11 years ago by bas

Replying to ivanelsonnunes@…:

The documentation for this plugin is not friendly(IMHO) the user.

My installation and configuration is working, thanks to:

https://groups.google.com/forum/ #! topic/trac-users/APhQVG0aBbA

It is good to hear that the trac community has helped you with your email2trac configuration. As for the documentation there are to many MTAs and it is impossible for me to test all of them or writs the documentation for it. That is why we have a wiki and if the docs are inadequate people can update/improve it. At our site we use debian and postfix and that is the only configuration that i am trying to describe.

comment:7 in reply to: ↑ 6 Changed 11 years ago by ivanelsonnunes@…

Replying to bas:

Replying to ivanelsonnunes@…:

The documentation for this plugin is not friendly(IMHO) the user.

My installation and configuration is working, thanks to:

https://groups.google.com/forum/ #! topic/trac-users/APhQVG0aBbA

It is good to hear that the trac community has helped you with your email2trac configuration. As for the documentation there are to many MTAs and it is impossible for me to test all of them or writs the documentation for it. That is why we have a wiki and if the docs are inadequate people can update/improve it. At our site we use debian and postfix and that is the only configuration that i am trying to describe.

Prompt on wiki that the MTA should be run by "cron". Helps a lot. Simple as that.

comment:8 follow-up: Changed 11 years ago by ivanelsonnunes@…

Post on the wiki that the MTA should be run by "cron". Helps a lot. Simple as that

comment:9 in reply to: ↑ 8 Changed 11 years ago by anonymous

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

Replying to ivanelsonnunes@…:

Post on the wiki that the MTA should be run by "cron". Helps a lot. Simple as that

I will close it. This setting is also depended on which MTA you use and how your setup is. For my setup it is "nobody"

Add Comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.