Owner does not get emails

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=
Sep 16 12:14:17 dev3 postfix/cleanup[31120]: 127C62BC8D6:
message-id=<rt-3.8.1-24524-1284657256-405.43-3-0@http://www.ammc.com>
Sep 16 12:14:17 dev3 postfix/qmgr[31119]: 127C62BC8D6:
from=www-data@mcfcinc.com, size=1470, nrcpt=1 (queue active)
Sep 16 12:14:17 dev3 postfix/smtp[31122]: 127C62BC8D6:
to=ash@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@mcfcinc.com, size=350, nrcpt=2 (queue active)
Sep 16 12:53:55 dev3 postfix/qmgr[31119]: EBF012BC8C4:
from=root@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@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@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@mcfcinc.com, size=350, nrcpt=2 (queue active)
Sep 16 14:03:55 dev3 postfix/qmgr[31119]: EBF012BC8C4:
from=root@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@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@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@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@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@http://www.ammc.com> sent To:
ash@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@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@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@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@http://www.ammc.com> sent To:
ash@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@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@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@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@http://www.ammc.com> sent To:
ash@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@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@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@ammc.com’);
Set($CommentAddress, ‘rt-comment@ammc.com’);

@MailCommand , ‘sendmailpipe’;
$SendMailArguments = “-oi -t”;
$SendmailPath = “/usr/sbin/sendmail”;
$SenderMustExistInExternaDatabase = undef;

#Set($MailCommand, ‘sendmail’);
#Set($SendMailArguments, “-bm --rt-its@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’,

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.

You’ve not said why administrator root or the owner should get emails

failure. Command output: local: fatal: execvp
/opt/rt3/bin/rt-mailgate-queue: No such file or directory )

that isn’t an RT installed file, why are you executing it?

@MailCommand , ‘sendmailpipe’;
$SendMailArguments = “-oi -t”;
$SendmailPath = “/usr/sbin/sendmail”;
$SenderMustExistInExternaDatabase = undef;

This isn’t RT_SiteConfig.pm syntax

Set($NotifyActor, 0);

You probably want to read up on this setting

-kevin

Isn’t it the administrator or the owner should be notified that a
ticket is created.

I did not installed any other package other than RT. It started
executing RT-mailgate in the bin folder to send out email.

The requestor does get an email back.

Don’t i have to pick one between a sendmail or sendmailpipe?On 9/17/2010 7:38 AM, Kevin Falcone wrote:

On Thu, Sep 16, 2010 at 03:23:43PM -0500, Ashrock wrote:

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.
You’ve not said why administrator root or the owner should get emails

failure. Command output: local: fatal: execvp
/opt/rt3/bin/rt-mailgate-queue: No such file or directory )
that isn’t an RT installed file, why are you executing it?

@MailCommand , ‘sendmailpipe’;
$SendMailArguments = “-oi -t”;
$SendmailPath = “/usr/sbin/sendmail”;
$SenderMustExistInExternaDatabase = undef;
This isn’t RT_SiteConfig.pm syntax

Set($NotifyActor, 0);
You probably want to read up on this setting

-kevin

RT Training in Washington DC, USA on Oct 25& 26 2010
Last one this year – Learn how to get the most out of RT!

Isn’t it the administrator or the owner should be notified that a
ticket is created.

Do you have a new Scrip to notify an Administrator?
Or did you mean AdminCc
Did you assign an owner at ticket creation

I’ll quote what I said:

Set($NotifyActor, 0);
You probably want to read up on this setting

You probably want to read up on that setting

I did not installed any other package other than RT. It started
executing RT-mailgate in the bin folder to send out email.

rt-mailgate is not used to send mail and RT would not use it to send
mail. It is used to inject mail into RT to create tickets.
Please note, you are not running rt-mailgate, you are running
rt-mailgate-queue which is not a command RT installs. Most likely,
your alias file is wrong.

Don’t i have to pick one between a sendmail or sendmailpipe?

The point is that
@MailCommand, ‘sendmailpipe’
is not valid RT configuration syntax
There are at least 2 problems with it.

-kevin> On 9/17/2010 7:38 AM, Kevin Falcone wrote:

On Thu, Sep 16, 2010 at 03:23:43PM -0500, Ashrock wrote:

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.
You’ve not said why administrator root or the owner should get emails

failure. Command output: local: fatal: execvp
/opt/rt3/bin/rt-mailgate-queue: No such file or directory )
that isn’t an RT installed file, why are you executing it?

@MailCommand , ‘sendmailpipe’;
$SendMailArguments = “-oi -t”;
$SendmailPath = “/usr/sbin/sendmail”;
$SenderMustExistInExternaDatabase = undef;
This isn’t RT_SiteConfig.pm syntax

-kevin

RT Training in Washington DC, USA on Oct 25& 26 2010
Last one this year – Learn how to get the most out of RT!

I didnot create a new scrip to notify the administrator.

I meant, if you select an owner to a ticket, the ticket created
notification is not going to the owner, Do i need to write a scrip for that.
And when nobody is selected as owner, i was assuming that it should go
to the queue address i created on the queue which it does not do.

Set ($NotifyActor, 0);

Isn’t that a setting to notify the creator of the ticket.?

I was thinking that it had something to do with my alias file. It is
down below.

aliases:
/etc/aliases
mailer-daemon: postmaster
postmaster: root
nobody: root
hostmaster: root
usenet: root
news: root
webmaster: root
www: root
ftp: root
abuse: root
noc: root
security: root
root: foktem
rt-its : “|/opt/rt3/bin/rt-mailgate-queue ITS --action correspond --url
http://10.10.10.10:443
rt-comment : “|/opt/rt3/bin/rt-mailgate-queue ITS --action comment --url
http://10.10.10.10:443
rt-mktg : “|opt/rt3/bin/rt-mailgate-queue marketing --action correspond
–url http://10.10.10.10:443
rt-los :“||opt/rt3/bin/rt-mailgate-queue loanofficer --action correspond
–url http://10.10.10.10:443

I probably got confused as i read many similar documents before
configuring RT. and one of them said to use either a sendmail or
sendmailpipe and while using sendmailpipe to mention that “-t” in the
next line.On 9/17/2010 8:11 AM, Kevin Falcone wrote:

On Fri, Sep 17, 2010 at 07:50:07AM -0500, Ashrock wrote:

Isn’t it the administrator or the owner should be notified that a
ticket is created.
Do you have a new Scrip to notify an Administrator?
Or did you mean AdminCc
Did you assign an owner at ticket creation

I’ll quote what I said:

Set($NotifyActor, 0);
You probably want to read up on this setting
You probably want to read up on that setting

I did not installed any other package other than RT. It started
executing RT-mailgate in the bin folder to send out email.
rt-mailgate is not used to send mail and RT would not use it to send
mail. It is used to inject mail into RT to create tickets.
Please note, you are not running rt-mailgate, you are running
rt-mailgate-queue which is not a command RT installs. Most likely,
your alias file is wrong.

Don’t i have to pick one between a sendmail or sendmailpipe?
The point is that
@MailCommand, ‘sendmailpipe’
is not valid RT configuration syntax
There are at least 2 problems with it.

-kevin

On 9/17/2010 7:38 AM, Kevin Falcone wrote:

On Thu, Sep 16, 2010 at 03:23:43PM -0500, Ashrock wrote:

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.
You’ve not said why administrator root or the owner should get emails

failure. Command output: local: fatal: execvp
/opt/rt3/bin/rt-mailgate-queue: No such file or directory )
that isn’t an RT installed file, why are you executing it?

@MailCommand , ‘sendmailpipe’;
$SendMailArguments = “-oi -t”;
$SendmailPath = “/usr/sbin/sendmail”;
$SenderMustExistInExternaDatabase = undef;
This isn’t RT_SiteConfig.pm syntax

-kevin

RT Training in Washington DC, USA on Oct 25& 26 2010
Last one this year – Learn how to get the most out of RT!

RT Training in Washington DC, USA on Oct 25& 26 2010
Last one this year – Learn how to get the most out of RT!

I didnot create a new scrip to notify the administrator.

I meant, if you select an owner to a ticket, the ticket created notification is not going to
the owner, Do i need to write a scrip for that.

Configuration → Global → Scrips
Do you have one that says “On Create, Notify Owner” ?

And when nobody is selected as owner, i was assuming that it should go to the queue address i
created on the queue which it does not do.

No. The queue address is the address that you send mail TO to create
tickets in RT. If RT emailed that address, then it would create an
infinite loop.

Set ($NotifyActor, 0);
Isn’t that a setting to notify the creator of the ticket.?

I’ll copy the documentation. Although it appears your problem really
is that you didn’t understand the correspond address or scrips.

=item C<$NotifyActor>

By default, RT doesn’t notify the person who performs an update, as
they already know what they’ve done. If you’d like to change this
behaviour, Set C<$NotifyActor> to 1

=cut

rt-its : “|/opt/rt3/bin/rt-mailgate-queue ITS --action correspond --url
[1]http://10.10.10.10:443
rt-comment : “|/opt/rt3/bin/rt-mailgate-queue ITS --action comment --url
[2]http://10.10.10.10:443
rt-mktg : “|opt/rt3/bin/rt-mailgate-queue marketing --action correspond --url
[3]http://10.10.10.10:443
rt-los :“||opt/rt3/bin/rt-mailgate-queue loanofficer --action correspond --url
[4]http://10.10.10.10:443

I probably got confused as i read many similar documents before configuring RT. and one of
them said to use either a sendmail or sendmailpipe and while using sendmailpipe to mention
that “-t” in the next line.

What is rt-mailgate-queue? That is not a program that ships with RT.
The README that ships with RT contains a functioning mailgate example,
you appear to have deleted a very important space and -

-kevin

No, there isn’t any scrip saying “On Create, Notify Owner”, probably i
need to create one !

Yeah, when i send a request to the queue email, it does not record on
the queue, neither does it create a ticket.

I have made a mistake in rt-mailgate-queue… yeah now i realize that it
should have a space and a “-” added between mailgate and queue.

It is sending mail to the creator, and also the owner. But when i select
a nobody as a owner, i don’t understand where does the mail go to. Also
when i sent an email from a external SMTP server like GMAIL, it does not
record on the RT mail queue, neither does it give back a ticket creation
notification. Neither does it send a rejection notification.

Do i have to modify any settings. I understood what a notify actor does
now. Do i have to use sendmail instead of a sendmailpipe. Coz i have
mailpipes created in master.cf for different queues.

master.cf:

rt-its unix - n n - - pipe

 flags= user=rt-its argv=/opt/rt3/bin/rt-mailgate  --queue ITS 

–action correspond --url http://10.10.10.10:443/

rt-comment unix - n n - - pipe

 flags= user=rt-comment argv=/opt/rt3/bin/rt-mailgate  --queue ITS  

–action comment --url https://10.10.10.10:443/

rt-mktg unix - n n - - pipe

 flags= user=rt-mktg argv=/opt/rt3/bin/rt-mailgate  --queue 

marketing --action correspond --url http://10.10.10.10:443/

rt-los unix - n n - - pipe

 flags= user=rt-los argv=/opt/rt3/bin/rt-mailgate  --queue 

loanofficer --action correspond --url http://10.10.10.10:443/On 9/17/2010 8:39 AM, Kevin Falcone wrote:

On Fri, Sep 17, 2010 at 08:32:54AM -0500, Ashrock wrote:

I didnot create a new scrip to notify the administrator.

I meant, if you select an owner to a ticket, the ticket created notification is not going to
the owner, Do i need to write a scrip for that.

Configuration → Global → Scrips
Do you have one that says “On Create, Notify Owner” ?

And when nobody is selected as owner, i was assuming that it should go to the queue address i
created on the queue which it does not do.

No. The queue address is the address that you send mail TO to create
tickets in RT. If RT emailed that address, then it would create an
infinite loop.

Set ($NotifyActor, 0);
Isn't that  a setting to notify the creator of the ticket.?

I’ll copy the documentation. Although it appears your problem really
is that you didn’t understand the correspond address or scrips.

=item C<$NotifyActor>

By default, RT doesn’t notify the person who performs an update, as
they already know what they’ve done. If you’d like to change this
behaviour, Set C<$NotifyActor> to 1

=cut

rt-its : "|/opt/rt3/bin/rt-mailgate-queue ITS --action correspond --url
[1]http://10.10.10.10:443"
rt-comment : "|/opt/rt3/bin/rt-mailgate-queue ITS --action comment --url
[2]http://10.10.10.10:443"
rt-mktg : "|opt/rt3/bin/rt-mailgate-queue marketing --action correspond --url
[3]http://10.10.10.10:443"
rt-los :"||opt/rt3/bin/rt-mailgate-queue loanofficer --action correspond --url
[4]http://10.10.10.10:443"

I probably got confused as i read many similar documents before configuring RT. and one of
them said to use either a sendmail or sendmailpipe and while using sendmailpipe to mention
that "-t" in the next line.

What is rt-mailgate-queue? That is not a program that ships with RT.
The README that ships with RT contains a functioning mailgate example,
you appear to have deleted a very important space and -

-kevin

RT Training in Washington DC, USA on Oct 25& 26 2010
Last one this year – Learn how to get the most out of RT!

No, there isn’t any scrip saying “On Create, Notify Owner”, probably i need to create one !

If you want to notify the owner, then yes

It is sending mail to the creator, and also the owner. But when i select a nobody as a owner,
i don’t understand where does the mail go to.

Go back to Configuration → Global → Scrips
Anything that has On Create will send mail On Create.
Nobody means there is no owner, so of course no mail will be sent to
the owner.

Also when i sent an email from a external SMTP
server like GMAIL, it does not record on the RT mail queue, neither does it give back a ticket
creation notification. Neither does it send a rejection notification.

Sounds like a problem with your mail configuration

Do i have to modify any settings. I understood what a notify actor does now. Do i have to use
sendmail instead of a sendmailpipe. Coz i have mailpipes created in master.cf for different
queues.

You’re confusing inbound and outbound mail again.

$MailCommand is used for outbound mail, so setting sendmail or
sendmailpipe is incapable of affecting inbound mail.

-kevin

Did you check my RT_SiteConfig.pm, the LDAP connection does not work.
I have mentioned the apache2 error log below.
I have configured the RT_SiteConfig.pm as instructed, do i have to put
the username blank ?
and the password too.

[Fri Sep 17 15:06:56 2010] [critical]:
RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj : Cannot connect to
server.ammc.local
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:437)
[Fri Sep 17 15:06:56 2010] [error]: FAILED LOGIN for amh from
10.10.0.132 (/opt/rt3/share/html/autohandler:265)
[Fri Sep 17 15:07:01 2010] [critical]:
RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj : Cannot connect to
server.ammc.local
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:437)
[Fri Sep 17 15:07:01 2010] [error]: FAILED LOGIN for amh from
10.10.0.132 (/opt/rt3/share/html/autohandler:265)
[Fri Sep 17 15:07:06 2010] [critical]:
RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj : Cannot connect to
server.ammc.local
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:437)
[Fri Sep 17 15:07:06 2010] [error]: FAILED LOGIN for amh from
10.10.0.132 (/opt/rt3/share/html/autohandler:265)On 9/17/2010 9:10 AM, Kevin Falcone wrote:

On Fri, Sep 17, 2010 at 09:02:01AM -0500, Ashrock wrote:

No, there isn't any scrip saying "On Create, Notify Owner", probably i need to create one !

If you want to notify the owner, then yes

It is sending mail to the creator, and also the owner. But when i select a nobody as a owner,
i don't understand where does the mail go to.

Go back to Configuration → Global → Scrips
Anything that has On Create will send mail On Create.
Nobody means there is no owner, so of course no mail will be sent to
the owner.

Also when i sent an email from a external SMTP
server like GMAIL, it does not record on the RT mail queue, neither does it give back a ticket
creation notification. Neither does it send a rejection notification.

Sounds like a problem with your mail configuration

Do i have to modify any settings. I understood what a notify actor does now. Do i have to use
sendmail instead of a sendmailpipe. Coz i  have mailpipes created in master.cf for different
queues.

You’re confusing inbound and outbound mail again.

$MailCommand is used for outbound mail, so setting sendmail or
sendmailpipe is incapable of affecting inbound mail.

-kevin

RT Training in Washington DC, USA on Oct 25& 26 2010
Last one this year – Learn how to get the most out of RT!

Did you check my RT_SiteConfig.pm, the LDAP connection does not work. I have mentioned the
apache2 error log below.
I have configured the RT_SiteConfig.pm as instructed, do i have to put the username blank ?
and the password too.

[Fri Sep 17 15:06:56 2010] [critical]: RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj :
Cannot connect to server.ammc.local

That error seems straightforward, and is unrelated to the mail
conversation we’ve been having.

If you search the mailing list archives, you’ll find plenty of methods
for debugging a failed ldap connection.

-kevin

Thank you Kevin.
That will help. Thank you for helping out.

I will look at it.On 9/17/2010 10:21 AM, Kevin Falcone wrote:

On Fri, Sep 17, 2010 at 10:10:30AM -0500, Ashrock wrote:

Did you check my RT_SiteConfig.pm, the LDAP connection does not work. I have mentioned the
apache2 error log below.
I have configured the RT_SiteConfig.pm as instructed, do i have to put the username blank ?
and the password too.

[Fri Sep 17 15:06:56 2010] [critical]: RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj :
Cannot connect to server.ammc.local

That error seems straightforward, and is unrelated to the mail
conversation we’ve been having.

If you search the mailing list archives, you’ll find plenty of methods
for debugging a failed ldap connection.

-kevin

RT Training in Washington DC, USA on Oct 25& 26 2010
Last one this year – Learn how to get the most out of RT!

You have suggested to check the mail configuration. as i am facing the
problem of automatic ticket creation from an external requests.
Do you mean, if a ticket is not created automatically from an external
Email address, then it would be problem with mail configuration, and not
with RT_SiteConfig. ?
If you send to the email address mentioned on the queue, then it comes
directly to the email address created, than being recorded as a ticket
and creating a ticket automatically.
Do we need to write a scrip even for that, or does it go through RT.

Thanks.On 9/17/2010 10:21 AM, Kevin Falcone wrote:

On Fri, Sep 17, 2010 at 10:10:30AM -0500, Ashrock wrote:

Did you check my RT_SiteConfig.pm, the LDAP connection does not work. I have mentioned the
apache2 error log below.
I have configured the RT_SiteConfig.pm as instructed, do i have to put the username blank ?
and the password too.

[Fri Sep 17 15:06:56 2010] [critical]: RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj :
Cannot connect to server.ammc.local

That error seems straightforward, and is unrelated to the mail
conversation we’ve been having.

If you search the mailing list archives, you’ll find plenty of methods
for debugging a failed ldap connection.

-kevin

RT Training in Washington DC, USA on Oct 25& 26 2010
Last one this year – Learn how to get the most out of RT!

You have suggested to check the mail configuration. as i am facing the problem of automatic
ticket creation from an external requests.
Do you mean, if a ticket is not created automatically from an external Email address, then it
would be problem with mail configuration, and not with RT_SiteConfig. ?
If you send to the email address mentioned on the queue, then it comes directly to the email
address created, than being recorded as a ticket and creating a ticket automatically.
Do we need to write a scrip even for that, or does it go through RT.

Presumably internal mail goes:

mail client → mail server → RT server

and works? If it doesn’t work, don’t bother testing with gmail yet.

gmail will go

gmail → MX server → depends a lot on your configuration → RT server

You care about that 3rd part, which is site-specific knowledge that
nobody on this list is going to be able to guess.

Your original RT_SiteConfig and MTA configuration was very confused
because you were mixing inbound and outbound email, so it is really
hard for anyone to follow how your mail setup works.

-kevin