setting up email input
| Project: | Trouble ticketing system to support Computer Network Operations |
| Version: | 6.x-3.0-rc2 |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
I'm a bit confused on how to set up incoming email for the system.
The instructions are as follows:
I've moved mail2tickety usr/local/bin/
After the script configuration, add a line similar to the following into the /etc/aliases file.
email: /usr/local/bin/mail2ticket.py email_address
The first email address is where the mail arrives at. The second address is the same as set in "Group e-mail address" in group settings in Drupal.
Example:
ticket: "|/usr/local/bin/mail2ticket.py ticket@example.org"
Then do not forget to issue command newaliases.
My question are:
1. If i'm using a different server for email, will this work?
2. The example shows only one email address, but the instructions speak of putting two email addresses in the alias file. Could you show a demonstration of how that's supposed to look.
3. What's command newaliases?
Any assistance that could be offered would be great. Many thanks because the tool works very well.

#1
1. If i'm using a different server for email, will this work?
Yes, you can. If you can access the database server then it is simple.
If you cannot then forward the mail to that server which can access
the database. You need to configure the database server in the mail2ticket.py file.
2. The example shows only one email address, but the instructions
speak of putting two email addresses in the alias file. Could you show
a demonstration of how that's supposed to look.
You need to put that mail address into the /etc/aliases which is the
incoming mail address of reports and add it to the related ticket
group, examples:
ticket@example.org: "|/usr/local/bin/mail2ticket.py ticket@example.org"
bug@example.org: "|/usr/local/bin/mail2ticket.py bug@example.org"
error@example.org: "|/usr/local/bin/mail2ticket.py bug@example.org"
The bug and the error mails will be add into the same group.
3. What's command newaliases?
man newaliases