Where am I going wrong?

When I send an email to trial@rt.mydomain.com I get no ticket creation
nor any response.
When I send an email to trial@bob.mydomain.com I get no ticket creation
nor any response.

My machine is called bob.mydomain.com
I have a cname in DNS which makes bob.mydomain.com point to
rt.mydomain.com.
Like so…

rt IN CNAME bob

I have this entry in my system /etc/aliases file.

trial: "|/usr/local/rt2/bin/rt-mailgate --queue ‘Projects’ --action
correspond"
trial-comment: “|/usr/local/rt2/bin/rt-mailgate --queue ‘Projects’
–action comment”

I ran 'newaliases" after entering it.

In the queue Projects, the Requestor has permission to CreateTicket

I have made this symlink :
ln -s /usr/local/rt2/bin/rt-mailgate /etc/smrsh/rt-mailgate

In config.pm,
my $rtname=“mydomain.com”;
my $Organization=“mydomain.com”;
my $LookupSenderInExternalDatabase = undef;
my $SenderMustExistInExternalDatabase = undef;

Currently my Correspond and Comment Address are as follows:
$CorrespondAddress=‘RT::CorrespondAddress.not.set’;
$CommentAddress=‘RT::CommentAddress.not.set’;

My $WebBaseUrl = “http://rt.mydomain.com”;

I am using sendmail. Apache, mysql and rt2 itself are all installed on
the machine bob.mydomain.com

In my Global Scrips I have:
OnCreate AutoreplyToRequestors with template Autoreply

Whether relevant to this problem or not…
In my /usr/local/rt2/logs, I see this error message a lot:
RT::Action::Notify=HASH(0x8e95e68): Could not send mail for
RT::Transaction=HASH(0x8c9a460)

In theory, with the settings I currently have, I believe if i send an
email to
trial@rt.mydomain.com , a ticket should be generated and I should be
notified.
As I stated above, this is not the case.

Any ideas what I have forgotten? Any ideas as to where I should look
further to ascertain
the cause of this problem?

rt2 is currently working and is generating emails as per my rules when
tickets are created manually implying that sendmail is functioning
properly, at least in some form.

So yes, any clues as to my downfall?

Thanks in advance

Dane

When I send an email to trial@rt.mydomain.com I get no ticket creation
nor any response.
When I send an email to trial@bob.mydomain.com I get no ticket creation
nor any response.

[snip much setup which appears to be correct]

In all probability your $MailCommand is not functioning correctly. If you
are using ‘sendmailpipe’, check that $SendmailPath is defined correctly,
and that ‘-t’ is present in $SendmailArguments.

If you are using ‘sendmail’, make sure that Mail::Send is known to work on
your host (or try ‘sendmailpipe’), and that ‘-t’ is not present in
$SendmailArguments.

Finally, turning on excessive debug via “$LogToFile = ‘debug’;” will also
help.

                         Bruce Campbell                            RIPE
               Systems/Network Engineer                             NCC
             www.ripe.net - PGP562C8B1B                      Operations