Hi There, Hopefully someone can help me figure this out. I am in the process of migrating RT from an old server to a new server. So far I have been able to get everything configured properly, however I cannot get RT to send emails on the new server.
In our existing setup, when an email is sent to our support email address, a new ticket is created and the watchers get notified via email. In my staging setup, when the email gets sent, a new ticket is created and it seems that an attempt is made to send the emails but it fails. Here is the log output: Jan 15 17:21:56 ps003 RT: Converting 'ISO-8859-1' to 'utf-8' for text/plain - 7th try. Jan 15 17:21:57 ps003 RT: About to think about scrips for transaction #13146 Jan 15 17:21:57 ps003 RT: About to think about scrips for transaction #13147 Jan 15 17:21:57 ps003 RT: About to think about scrips for transaction #13148 Jan 15 17:21:57 ps003 RT: About to think about scrips for transaction #13149 Jan 15 17:21:57 ps003 RT: About to think about scrips for transaction #13150 Jan 15 17:21:57 ps003 RT: About to prepare scrips for transaction #13150 Jan 15 17:21:57 ps003 RT: Found 3 scrips Jan 15 17:21:57 ps003 RT: About to commit scrips for transaction #13150 Jan 15 17:21:57 ps003 RT: <rt-3.6.5-20864-1263604917-27.1007-...@[server PROTECTED]> #1007/13150 - Scrip 4 (/usr/share/request-tracker3.6/lib/RT/Action/SendEmail.pm:252) Jan 15 17:21:57 ps003 RT: <rt-3.6.5-20864-1263604917-27.1007-...@[server PROTECTED]> sent To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] (/usr/share/request-tracker3.6/lib/RT/Action/SendEmail.pm:283) Jan 15 17:21:57 ps003 RT: About to think about scrips for transaction #13151 Jan 15 17:21:57 ps003 RT: <rt-3.6.5-20864-1263604917-459.1007-2...@[server PROTECTED]> #1007/13150 - Scrip 24 (/usr/share/request-tracker3.6/lib/RT/Action/SendEmail.pm:252) Jan 15 17:21:57 ps003 RT: <rt-3.6.5-20864-1263604917-459.1007-2...@[server PROTECTED]> No recipients found. Not sending. (/usr/share/request-tracker3.6/lib/RT/Action/SendEmail.pm:264) Jan 15 17:21:57 ps003 RT: Ticket 1007 created in queue 'General' by jfitzpatrick (/usr/share/request-tracker3.6/lib/RT/Ticket_Overlay.pm:756) Jan 15 17:21:57 ps003 qmail: 1263604917.436679 delivery 24: success: Connecting_to_http://[SERVER PROTECTED]:8081//REST/1.0/NoAuth/mail-gateway_at_/usr/bin/rt-mailgate_line_102,_<>_line_1./okTicket:_1007Queue:_GeneralOwner:_NobodyStatus:_newSubject:_7th_try.Requestor:[email protected]_at_/usr/bin/rt-mailgate_line_111,_<>_line_1./did_0+0+1/ I have installed RT under Ubuntu. Server side I have manually installed qmail version 1.03 and setup a .qmail-support file which invokes rt-mailgate as follows: |rt-mailgate --queue general --action correspond --url http://[SERVER PROTECTED]:8081/ --debug qmail is installed on the same machine as RT. Here are some more details: Ubuntu Server 8.04 Hardy lenny/sid uname -r 2.6.24-23-server /usr/sbin/apache2 -v Server version: Apache/2.2.8 (Ubuntu) Server built: Aug 18 2009 14:17:46 libapache2-mod-fastcgi 2.4.6-0ubuntu1 libcgi-fast-perl 5.8.8-12ubuntu0.4 libfcgi-perl 0.67-2 request-tracker3.6 3.6.5-1 rt3.6-apache2 3.6.5-1 Relevant section of RT_SiteConfig.pm Set($SenderMustExistInExternalDatabase , undef); Set($CorrespondAddress , '[EMAIL PROTECTED]'); Set($CommentAddress , '[EMAIL PROTECTED]'); Set($MailCommand , 'sendmailpipe'); Set($SendmailArguments , "-oi -t"); Set($SendmailPath , "/usr/sbin/sendmail"); Set($UseFriendlyFromLine , 1); Set($FriendlyFromLineFormat , "\"%s\" <%s>"); Set($UseFriendlyToLine , 0); Set($FriendlyToLineFormat, "\"%s of $RT::rtname Ticket #%s\":;"); Set($NotifyActor, 0); Thanks, -- John Fitzpatrick Minds Inc. Landmark II Centre Suite 105 - 1708 Dolphin Ave. Kelowna, BC, Canada V1Y 9S4 office +1.250.862.8813 ext 228 fax +1.250.862.8814 web www.mindsinc.ca _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [email protected] 2010 RT Training Sessions! San Francisco, CA, USA - Feb 22 & 23 Dublin, Ireland - Mar 15 & 16 Boston, MA, USA - April 5 & 6 Washington DC, USA - Oct 25 & 26 Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
