Migrating to another server(-version)

Hey there,

i have RT 3.0.12 installed and productive; configured and used queues,
tickets, users etc. I have installed a blank RT 3.6.1 on another server
an want to migrate the whole system.

any hints, howtos or ideas how to get this done without loosing nerves? :wink:

greets and thanks in advance,
joey

Hey Everyone,

We have RT 3.6.1 installed on Fedora Core 5. We are having some troubles
sending and receiving mail. E-mails can only be sent to the IP address
of the RT server and not the domain name. Also, once a ticket is
received RT does not send a mail to Watchers of the GROUP that has
rights to Watch the QUEUE the ticket enters into. Is there a way to do
this?

Also, when httpd (apache) starts up it says "Could not reliably
determine the server’s fully qualified domain name, using ... for
ServerName.

Other than these things RT appears to be working normally.

I’ve tried Googling errors and going to sendmail and apache support
pages. Please help, thank you in advance.

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

It looks like you are having DNS issues. That is why apache is
complaining as well. Have you listed your DNS servers in
/etc/resolv.conf? Have you added an A record for your RT server in DNS?

Kosta Lekas-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Carvajal,
Roberto A.
Sent: Tuesday, October 31, 2006 1:26 PM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] How to send mail when a ticket comes in

Hey Everyone,

We have RT 3.6.1 installed on Fedora Core 5. We are having some troubles
sending and receiving mail. E-mails can only be sent to the IP address
of the RT server and not the domain name. Also, once a ticket is
received RT does not send a mail to Watchers of the GROUP that has
rights to Watch the QUEUE the ticket enters into. Is there a way to do
this?

Also, when httpd (apache) starts up it says "Could not reliably
determine the server’s fully qualified domain name, using ... for
ServerName.

Other than these things RT appears to be working normally.

I’ve tried Googling errors and going to sendmail and apache support
pages. Please help, thank you in advance.

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

I have our 2 DNS servers listed in resolv.conf.

Roberto Carvajal
University of Miami
305-986-3398-----Original Message-----
From: Kosta Lekas [mailto:KLekas@foxriver.com]
Sent: Tuesday, October 31, 2006 3:45 PM
To: Carvajal, Roberto A.; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

It looks like you are having DNS issues. That is why apache is
complaining as well. Have you listed your DNS servers in
/etc/resolv.conf? Have you added an A record for your RT server in DNS?

Kosta Lekas

-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Carvajal,
Roberto A.
Sent: Tuesday, October 31, 2006 1:26 PM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] How to send mail when a ticket comes in

Hey Everyone,

We have RT 3.6.1 installed on Fedora Core 5. We are having some troubles
sending and receiving mail. E-mails can only be sent to the IP address
of the RT server and not the domain name. Also, once a ticket is
received RT does not send a mail to Watchers of the GROUP that has
rights to Watch the QUEUE the ticket enters into. Is there a way to do
this?

Also, when httpd (apache) starts up it says "Could not reliably
determine the server’s fully qualified domain name, using ... for
ServerName.

Other than these things RT appears to be working normally.

I’ve tried Googling errors and going to sendmail and apache support
pages. Please help, thank you in advance.

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

I have our 2 DNS servers listed in resolv.conf. And Yes the DNS has an A
record.

Roberto Carvajal
University of Miami
305-986-3398-----Original Message-----
From: Kosta Lekas [mailto:KLekas@foxriver.com]
Sent: Tuesday, October 31, 2006 3:45 PM
To: Carvajal, Roberto A.; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

It looks like you are having DNS issues. That is why apache is
complaining as well. Have you listed your DNS servers in
/etc/resolv.conf? Have you added an A record for your RT server in DNS?

Kosta Lekas

-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Carvajal,
Roberto A.
Sent: Tuesday, October 31, 2006 1:26 PM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] How to send mail when a ticket comes in

Hey Everyone,

We have RT 3.6.1 installed on Fedora Core 5. We are having some troubles
sending and receiving mail. E-mails can only be sent to the IP address
of the RT server and not the domain name. Also, once a ticket is
received RT does not send a mail to Watchers of the GROUP that has
rights to Watch the QUEUE the ticket enters into. Is there a way to do
this?

Also, when httpd (apache) starts up it says "Could not reliably
determine the server’s fully qualified domain name, using ... for
ServerName.

Other than these things RT appears to be working normally.

I’ve tried Googling errors and going to sendmail and apache support
pages. Please help, thank you in advance.

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

From your RT box, can you resolve the MX records for your domain using
nslookup? On the RT box, look at /var/log/maillog and see why the mail
is not getting to your watchers.

Kosta Lekas-----Original Message-----
From: Carvajal, Roberto A. [mailto:rcarvajal@miami.edu]
Sent: Tuesday, October 31, 2006 3:28 PM
To: Kosta Lekas; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

I have our 2 DNS servers listed in resolv.conf. And Yes the DNS has an A
record.

Roberto Carvajal
University of Miami
305-986-3398

-----Original Message-----
From: Kosta Lekas [mailto:KLekas@foxriver.com]
Sent: Tuesday, October 31, 2006 3:45 PM
To: Carvajal, Roberto A.; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

It looks like you are having DNS issues. That is why apache is
complaining as well. Have you listed your DNS servers in
/etc/resolv.conf? Have you added an A record for your RT server in DNS?

Kosta Lekas

-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Carvajal,
Roberto A.
Sent: Tuesday, October 31, 2006 1:26 PM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] How to send mail when a ticket comes in

Hey Everyone,

We have RT 3.6.1 installed on Fedora Core 5. We are having some troubles
sending and receiving mail. E-mails can only be sent to the IP address
of the RT server and not the domain name. Also, once a ticket is
received RT does not send a mail to Watchers of the GROUP that has
rights to Watch the QUEUE the ticket enters into. Is there a way to do
this?

Also, when httpd (apache) starts up it says "Could not reliably
determine the server’s fully qualified domain name, using ... for
ServerName.

Other than these things RT appears to be working normally.

I’ve tried Googling errors and going to sendmail and apache support
pages. Please help, thank you in advance.

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

I can resolve by typing “nslookup rt.box.edu” and it spits back the IP
assigned to the box. Does reverse lookup need to be enabled, because I
cannot “nslookup ...” in order to get rt.box.edu in return.

Maillog says that "Connection refused by [127.0.0.1]. Is the box
refusing to send mail from itself?

-Robert-----Original Message-----
From: Kosta Lekas [mailto:KLekas@foxriver.com]
Sent: Tuesday, October 31, 2006 4:38 PM
To: Carvajal, Roberto A.; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

From your RT box, can you resolve the MX records for your domain using
nslookup? On the RT box, look at /var/log/maillog and see why the mail
is not getting to your watchers.

Kosta Lekas

You don’t need the reverse. But I think you haven’t finished configuring
your mail server yet. Are you using sendmail or postfix? I am going home
now so I can get back to you tomorrow. Have a good night.

Kosta LekasFrom: Carvajal, Roberto A. [mailto:rcarvajal@miami.edu]
Sent: Tuesday, October 31, 2006 3:49 PM
To: Kosta Lekas; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

I can resolve by typing “nslookup rt.box.edu” and it spits back the IP
assigned to the box. Does reverse lookup need to be enabled, because I
cannot “nslookup ...” in order to get rt.box.edu in return.

Maillog says that "Connection refused by [127.0.0.1]. Is the box
refusing to send mail from itself?

-Robert

Thank you so much for you help thus far. I am using sendmail.

-RobertFrom: Kosta Lekas [mailto:KLekas@foxriver.com]
Sent: Tuesday, October 31, 2006 5:04 PM
To: Carvajal, Roberto A.; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

You don’t need the reverse. But I think you haven’t finished configuring
your mail server yet. Are you using sendmail or postfix? I am going home
now so I can get back to you tomorrow. Have a good night.

Kosta Lekas

From: Carvajal, Roberto A. [mailto:rcarvajal@miami.edu]
Sent: Tuesday, October 31, 2006 3:49 PM
To: Kosta Lekas; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

I can resolve by typing “nslookup rt.box.edu” and it spits back the IP
assigned to the box. Does reverse lookup need to be enabled, because I
cannot “nslookup ...” in order to get rt.box.edu in return.

Maillog says that "Connection refused by [127.0.0.1]. Is the box
refusing to send mail from itself?

-Robert

Did you get any headway?

Kosta LekasFrom: Carvajal, Roberto A. [mailto:rcarvajal@miami.edu]
Sent: Tuesday, October 31, 2006 4:13 PM
To: Kosta Lekas; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

Thank you so much for you help thus far. I am using sendmail.

-Robert

From: Kosta Lekas [mailto:KLekas@foxriver.com]
Sent: Tuesday, October 31, 2006 5:04 PM
To: Carvajal, Roberto A.; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

You don’t need the reverse. But I think you haven’t finished configuring
your mail server yet. Are you using sendmail or postfix? I am going home
now so I can get back to you tomorrow. Have a good night.

Kosta Lekas

From: Carvajal, Roberto A. [mailto:rcarvajal@miami.edu]
Sent: Tuesday, October 31, 2006 3:49 PM
To: Kosta Lekas; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

I can resolve by typing “nslookup rt.box.edu” and it spits back the IP
assigned to the box. Does reverse lookup need to be enabled, because I
cannot “nslookup ...” in order to get rt.box.edu in return.

Maillog says that "Connection refused by [127.0.0.1]. Is the box
refusing to send mail from itself?

-Robert

I made changes in the following files:

hosts.allow (says “sendmail:ALL”)

access (added Connect:apache@localhost since I saw that in maillog, then
“make access.db”)

aliases (verified aliases pointed to rt queues in
/etc/smrsh/rt-mailgate, then “newaliases”)

sendmail.mc (made sure ip address was listed instead of loopback
127.0.0.1, then "m4 sendmail.mc > sendmail.cf)

and now I no longer get the error from apache.

It sends e-mails now but will not receive and sort incoming e-mails into
proper queues.

Also, it only sends confirmation e-mails to the requestor and does not
send e-mails to watchers of the queues.

-RobertFrom: Kosta Lekas [mailto:KLekas@foxriver.com]
Sent: Wednesday, November 01, 2006 1:05 PM
To: Carvajal, Roberto A.; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

Did you get any headway?

Kosta Lekas

From: Carvajal, Roberto A. [mailto:rcarvajal@miami.edu]
Sent: Tuesday, October 31, 2006 4:13 PM
To: Kosta Lekas; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

Thank you so much for you help thus far. I am using sendmail.

-Robert

From: Kosta Lekas [mailto:KLekas@foxriver.com]
Sent: Tuesday, October 31, 2006 5:04 PM
To: Carvajal, Roberto A.; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

You don’t need the reverse. But I think you haven’t finished configuring
your mail server yet. Are you using sendmail or postfix? I am going home
now so I can get back to you tomorrow. Have a good night.

Kosta Lekas

From: Carvajal, Roberto A. [mailto:rcarvajal@miami.edu]
Sent: Tuesday, October 31, 2006 3:49 PM
To: Kosta Lekas; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

I can resolve by typing “nslookup rt.box.edu” and it spits back the IP
assigned to the box. Does reverse lookup need to be enabled, because I
cannot “nslookup ...” in order to get rt.box.edu in return.

Maillog says that "Connection refused by [127.0.0.1]. Is the box
refusing to send mail from itself?

-Robert

Make sure you have the aliases file setup correctly.

For instance, if your queue is called “Stop bothering the Sys-admin” you
would add the following lines to the aliases file:

rt-sysadmin: “|/opt/rt3/bin/rt-mailgate --queue "Stop bothering the
Sys-admin" --action comment --url http://your.rt.server/

rt-sysadmin-comment: "|opt/rt3/bin/rt-mailgate --queue "Stop bothering
the Sys-admin" --action on correspond --url http://your.rt.server/

Does this help?From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Carvajal,
Roberto A.
Sent: Wednesday, November 01, 2006 12:26 PM
To: Kosta Lekas; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

I made changes in the following files:

hosts.allow (says “sendmail:ALL”)

access (added Connect:apache@localhost since I saw that in maillog, then
“make access.db”)

aliases (verified aliases pointed to rt queues in
/etc/smrsh/rt-mailgate, then “newaliases”)

sendmail.mc (made sure ip address was listed instead of loopback
127.0.0.1, then "m4 sendmail.mc > sendmail.cf)

and now I no longer get the error from apache.

It sends e-mails now but will not receive and sort incoming e-mails into
proper queues.

Also, it only sends confirmation e-mails to the requestor and does not
send e-mails to watchers of the queues.

-Robert

From: Kosta Lekas [mailto:KLekas@foxriver.com]
Sent: Wednesday, November 01, 2006 1:05 PM
To: Carvajal, Roberto A.; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

Did you get any headway?

Kosta Lekas

From: Carvajal, Roberto A. [mailto:rcarvajal@miami.edu]
Sent: Tuesday, October 31, 2006 4:13 PM
To: Kosta Lekas; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

Thank you so much for you help thus far. I am using sendmail.

-Robert

From: Kosta Lekas [mailto:KLekas@foxriver.com]
Sent: Tuesday, October 31, 2006 5:04 PM
To: Carvajal, Roberto A.; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

You don’t need the reverse. But I think you haven’t finished configuring
your mail server yet. Are you using sendmail or postfix? I am going home
now so I can get back to you tomorrow. Have a good night.

Kosta Lekas

From: Carvajal, Roberto A. [mailto:rcarvajal@miami.edu]
Sent: Tuesday, October 31, 2006 3:49 PM
To: Kosta Lekas; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

I can resolve by typing “nslookup rt.box.edu” and it spits back the IP
assigned to the box. Does reverse lookup need to be enabled, because I
cannot “nslookup ...” in order to get rt.box.edu in return.

Maillog says that "Connection refused by [127.0.0.1]. Is the box
refusing to send mail from itself?

-Robert

I am using sendmail and have copied rt-mailgate into /etc/smrsh/ and in
my aliases have

"general: “|/etc/smrsh/rt-mailgate --queue general – action respond
–url http://rt.domain.com/

In my aliases and performed “newaliases” after. Still no luck.

-RobertFrom: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Patrick
Humpal
Sent: Wednesday, November 01, 2006 1:37 PM
To: rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

Make sure you have the aliases file setup correctly.

For instance, if your queue is called “Stop bothering the Sys-admin” you
would add the following lines to the aliases file:

rt-sysadmin: “|/opt/rt3/bin/rt-mailgate --queue "Stop bothering the
Sys-admin" --action comment --url http://your.rt.server/

rt-sysadmin-comment: "|opt/rt3/bin/rt-mailgate --queue "Stop bothering
the Sys-admin" --action on correspond --url http://your.rt.server/

Does this help?

From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Carvajal,
Roberto A.
Sent: Wednesday, November 01, 2006 12:26 PM
To: Kosta Lekas; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

I made changes in the following files:

hosts.allow (says “sendmail:ALL”)

access (added Connect:apache@localhost since I saw that in maillog, then
“make access.db”)

aliases (verified aliases pointed to rt queues in
/etc/smrsh/rt-mailgate, then “newaliases”)

sendmail.mc (made sure ip address was listed instead of loopback
127.0.0.1, then "m4 sendmail.mc > sendmail.cf)

and now I no longer get the error from apache.

It sends e-mails now but will not receive and sort incoming e-mails into
proper queues.

Also, it only sends confirmation e-mails to the requestor and does not
send e-mails to watchers of the queues.

-Robert

From: Kosta Lekas [mailto:KLekas@foxriver.com]
Sent: Wednesday, November 01, 2006 1:05 PM
To: Carvajal, Roberto A.; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

Did you get any headway?

Kosta Lekas

From: Carvajal, Roberto A. [mailto:rcarvajal@miami.edu]
Sent: Tuesday, October 31, 2006 4:13 PM
To: Kosta Lekas; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

Thank you so much for you help thus far. I am using sendmail.

-Robert

From: Kosta Lekas [mailto:KLekas@foxriver.com]
Sent: Tuesday, October 31, 2006 5:04 PM
To: Carvajal, Roberto A.; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

You don’t need the reverse. But I think you haven’t finished configuring
your mail server yet. Are you using sendmail or postfix? I am going home
now so I can get back to you tomorrow. Have a good night.

Kosta Lekas

From: Carvajal, Roberto A. [mailto:rcarvajal@miami.edu]
Sent: Tuesday, October 31, 2006 3:49 PM
To: Kosta Lekas; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

I can resolve by typing “nslookup rt.box.edu” and it spits back the IP
assigned to the box. Does reverse lookup need to be enabled, because I
cannot “nslookup ...” in order to get rt.box.edu in return.

Maillog says that "Connection refused by [127.0.0.1]. Is the box
refusing to send mail from itself?

-Robert

Change “general” to “General” after “–queue” and rebuild the aliases db.

Be sure that you are using the appropriate email address for each queue. Ex:

General queue - rt@your.rt.server
Sysadmin queue - rt-sysadmin@your.rt.server
Web site queue - rt-web@your.rt.server

Etc.

Also, can you provide a list all entries for RT in your aliases file?From: Carvajal, Roberto A. [mailto:rcarvajal@miami.edu]
Sent: Wednesday, November 01, 2006 12:40 PM
To: Patrick Humpal; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

I am using sendmail and have copied rt-mailgate into /etc/smrsh/ and in my
aliases have

"general: “|/etc/smrsh/rt-mailgate --queue general – action respond --url
http://rt.domain.com/

In my aliases and performed “newaliases” after. Still no luck.

-Robert

From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Patrick
Humpal
Sent: Wednesday, November 01, 2006 1:37 PM
To: rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

Make sure you have the aliases file setup correctly.

For instance, if your queue is called “Stop bothering the Sys-admin” you
would add the following lines to the aliases file:

rt-sysadmin: “|/opt/rt3/bin/rt-mailgate --queue "Stop bothering the
Sys-admin" --action comment --url http://your.rt.server/

rt-sysadmin-comment: "|opt/rt3/bin/rt-mailgate --queue "Stop bothering the
Sys-admin" --action on correspond --url http://your.rt.server/

Does this help?

From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Carvajal,
Roberto A.
Sent: Wednesday, November 01, 2006 12:26 PM
To: Kosta Lekas; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

I made changes in the following files:

hosts.allow (says “sendmail:ALL”)

access (added Connect:apache@localhost since I saw that in maillog, then
“make access.db”)

aliases (verified aliases pointed to rt queues in /etc/smrsh/rt-mailgate,
then “newaliases”)

sendmail.mc (made sure ip address was listed instead of loopback 127.0.0.1,
then "m4 sendmail.mc > sendmail.cf)

and now I no longer get the error from apache.

It sends e-mails now but will not receive and sort incoming e-mails into
proper queues.

Also, it only sends confirmation e-mails to the requestor and does not send
e-mails to watchers of the queues.

-Robert

From: Kosta Lekas [mailto:KLekas@foxriver.com]
Sent: Wednesday, November 01, 2006 1:05 PM
To: Carvajal, Roberto A.; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

Did you get any headway?

Kosta Lekas

From: Carvajal, Roberto A. [mailto:rcarvajal@miami.edu]
Sent: Tuesday, October 31, 2006 4:13 PM
To: Kosta Lekas; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

Thank you so much for you help thus far. I am using sendmail.

-Robert

From: Kosta Lekas [mailto:KLekas@foxriver.com]
Sent: Tuesday, October 31, 2006 5:04 PM
To: Carvajal, Roberto A.; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

You don’t need the reverse. But I think you haven’t finished configuring
your mail server yet. Are you using sendmail or postfix? I am going home now
so I can get back to you tomorrow. Have a good night.

Kosta Lekas

From: Carvajal, Roberto A. [mailto:rcarvajal@miami.edu]
Sent: Tuesday, October 31, 2006 3:49 PM
To: Kosta Lekas; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

I can resolve by typing “nslookup rt.box.edu” and it spits back the IP
assigned to the box. Does reverse lookup need to be enabled, because I
cannot “nslookup ...” in order to get rt.box.edu in return.

Maillog says that "Connection refused by [127.0.0.1]. Is the box refusing to
send mail from itself?

-Robert

smime.p7s (3.47 KB)

My understanding was you only need quotes for queues with spaces and
that the queue names were not case sensitive. It has previously received
mail and sorted it into queues witht eh following:

"general: "|/etc/smrsh/rt-mailgate --queue general – action respond
–url
http://rt.domain.com/

surveillance: "|/etc/smrsh/rt-mailgate --queue surveillance – action
respond --url
http://rt.domain.com/

firewall: "|/etc/smrsh/rt-mailgate --queue firewall – action respond
–url
http://rt.domain.com/

ops: "|/etc/smrsh/rt-mailgate --queue ops – action respond --url
http://rt.domain.com/

foreign: “|/etc/smrsh/rt-mailgate --queue foreign – action respond
–url
http://rt.domain.com/

But now that it sends e-mails it no longer receives.

-RobertFrom: Patrick Humpal [mailto:phumpal@execinc.com]
Sent: Wednesday, November 01, 2006 2:23 PM
To: Carvajal, Roberto A.; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

Change “general” to “General” after “–queue” and rebuild the aliases
db.

Be sure that you are using the appropriate email address for each queue.
Ex:

General queue - rt@your.rt.server
Sysadmin queue - rt-sysadmin@your.rt.server
Web site queue - rt-web@your.rt.server

Etc.

Also, can you provide a list all entries for RT in your aliases file?

From: Carvajal, Roberto A. [mailto:rcarvajal@miami.edu]
Sent: Wednesday, November 01, 2006 12:40 PM
To: Patrick Humpal; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

I am using sendmail and have copied rt-mailgate into /etc/smrsh/ and in
my
aliases have

"general: “|/etc/smrsh/rt-mailgate --queue general – action respond
–url
http://rt.domain.com/

In my aliases and performed “newaliases” after. Still no luck.

-Robert

From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Patrick
Humpal
Sent: Wednesday, November 01, 2006 1:37 PM
To: rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

Make sure you have the aliases file setup correctly.

For instance, if your queue is called “Stop bothering the Sys-admin” you
would add the following lines to the aliases file:

rt-sysadmin: “|/opt/rt3/bin/rt-mailgate --queue "Stop bothering the
Sys-admin" --action comment --url http://your.rt.server/

rt-sysadmin-comment: "|opt/rt3/bin/rt-mailgate --queue "Stop bothering
the
Sys-admin" --action on correspond --url http://your.rt.server/

Does this help?

From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Carvajal,
Roberto A.
Sent: Wednesday, November 01, 2006 12:26 PM
To: Kosta Lekas; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

I made changes in the following files:

hosts.allow (says “sendmail:ALL”)

access (added Connect:apache@localhost since I saw that in maillog, then
“make access.db”)

aliases (verified aliases pointed to rt queues in
/etc/smrsh/rt-mailgate,
then “newaliases”)

sendmail.mc (made sure ip address was listed instead of loopback
127.0.0.1,
then "m4 sendmail.mc > sendmail.cf)

and now I no longer get the error from apache.

It sends e-mails now but will not receive and sort incoming e-mails into
proper queues.

Also, it only sends confirmation e-mails to the requestor and does not
send
e-mails to watchers of the queues.

-Robert

From: Kosta Lekas [mailto:KLekas@foxriver.com]
Sent: Wednesday, November 01, 2006 1:05 PM
To: Carvajal, Roberto A.; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

Did you get any headway?

Kosta Lekas

From: Carvajal, Roberto A. [mailto:rcarvajal@miami.edu]
Sent: Tuesday, October 31, 2006 4:13 PM
To: Kosta Lekas; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

Thank you so much for you help thus far. I am using sendmail.

-Robert

From: Kosta Lekas [mailto:KLekas@foxriver.com]
Sent: Tuesday, October 31, 2006 5:04 PM
To: Carvajal, Roberto A.; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

You don’t need the reverse. But I think you haven’t finished configuring
your mail server yet. Are you using sendmail or postfix? I am going home
now
so I can get back to you tomorrow. Have a good night.

Kosta Lekas

From: Carvajal, Roberto A. [mailto:rcarvajal@miami.edu]
Sent: Tuesday, October 31, 2006 3:49 PM
To: Kosta Lekas; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] How to send mail when a ticket comes in

I can resolve by typing “nslookup rt.box.edu” and it spits back the IP
assigned to the box. Does reverse lookup need to be enabled, because I
cannot “nslookup ...” in order to get rt.box.edu in return.

Maillog says that "Connection refused by [127.0.0.1]. Is the box
refusing to
send mail from itself?

-Robert

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

you have spaces between – and action … you don’t want those.

it should read something like:

general: “|/etc/smrsh/rt-mailgate --queue general --action respond --url
http://rt.domain.com/

Also, although sendmail requires rt-mailgate to reside in /etc/smrsh for
security purposes, you don’t necessarily need to call it from
/etc/smrsh. so the following would also work (assuming an install path
of /opt/rt3 )

general: "|/opt/rt3/bin/rt-mailgate --queue general --action respond

if memory serves, the queue names are case sensitive, so General is
different from general.

lastly, make sure that your URL actually matches the URL of your
machine, I’ve had problems in the past where although the URL was
resolvable to the machine, it was different than the installed URL (or
local hostname, i don’t remember which) and thus caused problems.

hope this helps,

Alan

Carvajal, Roberto A. wrote:

My understanding was you only need quotes for queues with spaces and
that the queue names were not case sensitive. It has previously received
mail and sorted it into queues witht eh following:

"general: "|/etc/smrsh/rt-mailgate --queue general – action respond
–url
http://rt.domain.com/

surveillance: "|/etc/smrsh/rt-mailgate --queue surveillance – action
respond --url
http://rt.domain.com/

firewall: "|/etc/smrsh/rt-mailgate --queue firewall – action respond
–url
http://rt.domain.com/

ops: "|/etc/smrsh/rt-mailgate --queue ops – action respond --url
http://rt.domain.com/

foreign: “|/etc/smrsh/rt-mailgate --queue foreign – action respond
–url
http://rt.domain.com/

But now that it sends e-mails it no longer receives.

-Robert

…snip…
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFdnV4E2gsBSKjZHQRAtehAJ9tDiZhVD0c8F5iReEw8qaO52YAqACffc2w
aO1bfNUTI40jgi6y5SV2KEc=
=D9O5
-----END PGP SIGNATURE-----