[rt-users] Owner does not get emails.
Ashrock
mdashraf.ash at gmail.com
Thu Sep 16 16:23:43 EDT 2010
Hi,
I am dealing with this problem since installation. I received
confirmation of request emails as a creator, also as a AdminCc or Cc, on
the ticket list. But the administrator, root, or the owner never gets an
email about the ticket has been created.
I can't figure out if the problem is with postfix or RT_SiteConfig or
UserLocal.pm which i have not created yet. I cannot connect to LDAP too
as it is not connecting.
My mail log file is pasted below. If anyone came across this problem, i
would appreciate their help if can help me figure out.
/var/log/mail.log:
Sep 16 12:14:17 dev3 postfix/pickup[31117]: 127C62BC8D6: uid=33
from=<www-data>
Sep 16 12:14:17 dev3 postfix/cleanup[31120]: 127C62BC8D6:
message-id=<rt-3.8.1-24524-1284657256-405.43-3-0 at http://www.ammc.com>
Sep 16 12:14:17 dev3 postfix/qmgr[31119]: 127C62BC8D6:
from=<www-data at mcfcinc.com>, size=1470, nrcpt=1 (queue active)
Sep 16 12:14:17 dev3 postfix/smtp[31122]: 127C62BC8D6:
to=<ash at ammc.com>, relay=messenger.ammc.com[11.111.111.111]:25,
delay=0.46, delays=0.11/0/0.21/0.14, dsn=2.0.0, status=sent (250 2.0.0
Ok: queued as 9908A18E806)
Sep 16 12:14:17 dev3 postfix/qmgr[31119]: 127C62BC8D6: removed
Sep 16 12:53:55 dev3 postfix/qmgr[31119]: 5FAA62BC8C6:
from=<root at mcfcinc.com>, size=350, nrcpt=2 (queue active)
Sep 16 12:53:55 dev3 postfix/qmgr[31119]: EBF012BC8C4:
from=<root at mcfcinc.com>, size=392, nrcpt=2 (queue active)
Sep 16 12:53:55 dev3 local[32314]: fatal: execvp
/opt/rt3/bin/rt-mailgate-queue: No such file or directory
Sep 16 12:53:55 dev3 local[32316]: fatal: execvp
/opt/rt3/bin/rt-mailgate-queue: No such file or directory
Sep 16 12:53:55 dev3 postfix/local[32313]: 5FAA62BC8C6:
to=<rt-its at dev3>, relay=local, delay=179315, delays=179315/0.03/0/0.06,
dsn=4.3.0, status=deferred (temporary failure. Command output: local:
fatal: execvp /opt/rt3/bin/rt-mailgate-queue: No such file or directory )
Sep 16 12:53:55 dev3 postfix/local[32315]: EBF012BC8C4:
to=<rt-its at dev3>, relay=local, delay=179644, delays=179644/0.03/0/0.04,
dsn=4.3.0, status=deferred (temporary failure. Command output: local:
fatal: execvp /opt/rt3/bin/rt-mailgate-queue: No such file or directory )
Sep 16 14:03:55 dev3 postfix/qmgr[31119]: 5FAA62BC8C6:
from=<root at mcfcinc.com>, size=350, nrcpt=2 (queue active)
Sep 16 14:03:55 dev3 postfix/qmgr[31119]: EBF012BC8C4:
from=<root at mcfcinc.com>, size=392, nrcpt=2 (queue active)
Sep 16 14:03:55 dev3 local[2174]: fatal: execvp
/opt/rt3/bin/rt-mailgate-queue: No such file or directory
Sep 16 14:03:55 dev3 local[2175]: fatal: execvp
/opt/rt3/bin/rt-mailgate-queue: No such file or directory
Sep 16 14:03:55 dev3 postfix/local[2172]: 5FAA62BC8C6: to=<rt-its at dev3>,
relay=local, delay=183515, delays=183515/0.03/0/0.07, dsn=4.3.0,
status=deferred (temporary failure. Command output: local: fatal: execvp
/opt/rt3/bin/rt-mailgate-queue: No such file or directory )
Sep 16 14:03:55 dev3 postfix/local[2173]: EBF012BC8C4: to=<rt-its at dev3>,
relay=local, delay=183844, delays=183844/0.03/0/0.05, dsn=4.3.0,
status=deferred (temporary failure. Command output: local: fatal: execvp
/opt/rt3/bin/rt-mailgate-queue: No such file or directory )
The Queue email is rt-its at ammc.com for correspond as configured in
master.cf
apache2/Error.log:
[Thu Sep 16 17:11:48 2010] [info]:
<rt-3.8.1-24511-1284657108-1138.41-3-0 at http://www.ammc.com> #41/357 -
Scrip 3 On Create Autoreply To Requestors
(/opt/rt3/bin/../lib/RT/Action/SendEmail.pm:302)
[Thu Sep 16 17:11:48 2010] [info]:
<rt-3.8.1-24511-1284657108-1138.41-3-0 at http://www.ammc.com> sent To:
ash at ammc.com (/opt/rt3/bin/../lib/RT/Action/SendEmail.pm:333)
[Thu Sep 16 17:11:49 2010] [info]:
<rt-3.8.1-24511-1284657108-231.41-4-0 at http://www.ammc.com> #41/357 -
Scrip 4 On Create Notify AdminCcs
(/opt/rt3/bin/../lib/RT/Action/SendEmail.pm:302)
[Thu Sep 16 17:11:49 2010] [info]:
<rt-3.8.1-24511-1284657108-231.41-4-0 at http://www.ammc.com> No recipients
found. Not sending. (/opt/rt3/bin/../lib/RT/Interface/Email.pm:338)
[Thu Sep 16 17:11:49 2010] [info]: Ticket 41 created in queue 'ITS' by
root (/opt/rt3/bin/../lib/RT/Ticket_Overlay.pm:659)
[Thu Sep 16 17:13:32 2010] [info]:
<rt-3.8.1-24512-1284657212-1087.42-3-0 at http://www.ammc.com> #42/363 -
Scrip 3 On Create Autoreply To Requestors
(/opt/rt3/bin/../lib/RT/Action/SendEmail.pm:302)
[Thu Sep 16 17:13:32 2010] [info]:
<rt-3.8.1-24512-1284657212-1087.42-3-0 at http://www.ammc.com> sent To:
ash at ammc.com (/opt/rt3/bin/../lib/RT/Action/SendEmail.pm:333)
[Thu Sep 16 17:13:33 2010] [info]:
<rt-3.8.1-24512-1284657212-1896.42-4-0 at http://www.ammc.com> #42/363 -
Scrip 4 On Create Notify AdminCcs
(/opt/rt3/bin/../lib/RT/Action/SendEmail.pm:302)
[Thu Sep 16 17:13:33 2010] [info]:
<rt-3.8.1-24512-1284657212-1896.42-4-0 at http://www.ammc.com> No
recipients found. Not sending.
(/opt/rt3/bin/../lib/RT/Interface/Email.pm:338)
[Thu Sep 16 17:13:33 2010] [info]: Ticket 42 created in queue 'ITS' by
root (/opt/rt3/bin/../lib/RT/Ticket_Overlay.pm:659)
[Thu Sep 16 17:14:16 2010] [info]:
<rt-3.8.1-24524-1284657256-405.43-3-0 at http://www.ammc.com> #43/369 -
Scrip 3 On Create Autoreply To Requestors
(/opt/rt3/bin/../lib/RT/Action/SendEmail.pm:302)
[Thu Sep 16 17:14:17 2010] [info]:
<rt-3.8.1-24524-1284657256-405.43-3-0 at http://www.ammc.com> sent To:
ash at ammc.com (/opt/rt3/bin/../lib/RT/Action/SendEmail.pm:333)
[Thu Sep 16 17:14:17 2010] [info]:
<rt-3.8.1-24524-1284657256-689.43-4-0 at http://www.ammc.com> #43/369 -
Scrip 4 On Create Notify AdminCcs
(/opt/rt3/bin/../lib/RT/Action/SendEmail.pm:302)
[Thu Sep 16 17:14:17 2010] [info]:
<rt-3.8.1-24524-1284657256-689.43-4-0 at http://www.ammc.com> No recipients
found. Not sending. (/opt/rt3/bin/../lib/RT/Interface/Email.pm:338)
[Thu Sep 16 17:14:17 2010] [info]: Ticket 43 created in queue 'ITS' by
root (/opt/rt3/bin/../lib/RT/Ticket_Overlay.pm:659)
Please let me know if you need any more files to look to identify the
problem.
* LDAP does not connect too. If you can give a quick look if anything is
wrong in there*
Also RT_SiteConfig.pm:
#Set(@Plugins,(qw(Extension::QuickDelete)));
#Set(@Plguins,(qw(RT::FM)));
Set(@Plugins,(qw(RT::Authen::ExternalAuth)));
#Set($LogToFileNamedl, "rt.log");
#Set($LogToFile, 'debug');
Set($CorrespondAddress, 'rt-its at ammc.com');
Set($CommentAddress, 'rt-comment at ammc.com');
@MailCommand , 'sendmailpipe';
$SendMailArguments = "-oi -t";
$SendmailPath = "/usr/sbin/sendmail";
$SenderMustExistInExternaDatabase = undef;
#Set($MailCommand, 'sendmail');
#Set($SendMailArguments, "-bm --rt-its at ammc.com");
#Set($SendmailPath, "/usr/sbin/exim4");
Set($NotifyActor, 0);
Set($RecordOutgoingEmail, 1);
Set($Timezone, 'US/Central');
$WebURL = $WebBaseURL . $WebPath . "/";
Set($WebExternalAuth, 1);
Set($WebFallbackToInternalAuth, true);
Set($WebExternalAuto , 1);
#The order in which the services are defined in External Settings
# should be used to get information about users. This includes
# RealName, Tel numbers etc, but also whether or not the user
# Should be considered disabled.
# Once user info is found, no more services are checked.
Set ($ExternalAuthPriority, ['My_LDAP']);
Set ($ExternalInfoPriority, ['My_LDAP']);
#Set ($ExternalServiceUsesSSLorTLS, 1);
Set ($AutoCreateNonExternalUsers, 1);
#These are full settings for each external service as a HashOfHashes
# Note that you may have as many external services as you wish. They will
#be checked in the order specified in the Priority directives above.
# e.g .
#
Set($ExternalAuthPriority, ['My_LDAP']);
Set($ExternalSettings, {
'My_LDAP' =>
{
## GENERIC SECTION
# The type of service (db/ldap/cookie)
'type' => 'ldap',
# Should the service be used for authentication?
'auth' => 1,
# Should the service be used for information?
'info' => 1,
# The server hosting the service
'server' => 'server.ammc.local',
## SERVICE-SPECIFIC SECTION
# If you can bind to your LDAP server anonymously you should
#remove the user and pass config lines, otherwise specifyy them here:
# The username RT should be used to connect to the LDAP server
'user' => 'CN="administrator"',
# The password RT should use to connect to the LDAP server
'pass' => 'ammc1234',
# The LDAP search base
'base' => 'dc=ammc, dc=local',
# The filter to use to match RT-Users
'filter' => '(objectclass = Person)',
# The filter that will only match disable users
'd_filter' => '(userAccountControl : 1.2.840.113556.1.4.803:=2)',
#'d_filter' => '(&(objectCategory=person)
(objectClass=user)(userAccountControl:1.2.840.113556.1.4.803:=2))',
# Should we try to use TLS to encrypt connections?
'tls' => 0,
#'ssl_version' => 3,
# What other args should I pass to Net::LDAP->new($host, @args)?
'net_ldap_args' => [version => 3],
# Does authentication depend on group membership? What group name?
#'group' =>'',
#what is the attribute for the group object that determines membership?
#'group_attr' => '',
## RT ATTRIBUTE MATCHING SECTION
#The list of RT attributes that uniquely identify a user
'attr_match_list' => [ 'Name','Email
Address','RealName','WorkPhone','Address2'],
# The mapping of RT attributes on to LDAP attributes
'attr_map' => {'Name' => 'sAMAaccountName','EmailAddress' =>
'mail','Organization' => 'physicalDeliveryOfficeName','RealName' =>
'cn','EternalAuthId'=> 'sAMAccountname',
More information about the rt-users
mailing list