[rt-users] Error "No recipients found. Not sending."
John Fitzpatrick
jfitzpatrick at mindsinc.ca
Mon Jan 18 13:41:58 EST 2010
Hi There,
I found the problem.
It turns out that in order to use exim4 to send email, you should
configure it first. :)
If you automagically install RT using aptitude, you may not get prompted
to configure exim4 and the default is not to allow sending email to
remote addresses.
dpkg-reconfigure exim4 will do it for you.
Hope this helps someone else out there!
Cheers,
John.
John Fitzpatrick wrote:
> 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-4-0@[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-4-0@[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-24-0@[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-24-0@[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:_jfitzpatrick at mindsinc.ca_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
More information about the rt-users
mailing list