RT Queue mails with errors on Postfix

Hi RT Community,
I have an issue I want to troubleshoot and resolve. I have

I keep seeing this error in my postfix logs (tail -f /var/log/maillog)

Jan 5 14:08:10 noc postfix/cleanup[6000]: warning:
database /etc/postfix/virtual.db is older than source
file /etc/postfix/virtual

Jan 5 14:51:14 noc postfix/local[6094]: C11C85F696D:
to=nops@myrtdomain.com, relay=local, delay=11811,
delays=11811/0.01/0/0.2, dsn=4.3.0, status=deferred (temporary failure.
Command output: RT server error. The RT server which handled your email
did not behave as expected. It said: temporary failure - RT couldn’t
find the queue: CoreNetwork )

My /etc/aliases has the queue specified, matching the CoreNetwork queue
I created on RT webinterface with my root account:

core: “|/opt/rt3/bin/rt-mailgate --queue CoreNetwork --action
correspond --url http://myrtdomain.com
core-response: “|/opt/rt3/bin/rt-mailgate --queue CoreNetwork --action
comment --url http://myrtdomain.com

Any ideas on how I can resolve this? I have tried these steps in
sequence
newaliases
postfix reload
service postfix restart [ok]
service httpd restart [ok]

Regards,

Gregory Okoth
NOC Engineer

Email:noc@accesskenya.com
Tel: (254 20) 360 0908
Fax: (254 20)(254 20) 360 0001

The command newaliases I was led to believe was only for sendmail. What you need is:
postalias /etc/aliases

Unless you have newaliases somehow linked to the above, postfix won’t read the aliases file.

At least I hope that is it. :)-----Original Message-----
From: Gregory Greafers gregory@accesskenya.com
Sender: rt-users-bounces@lists.bestpractical.com
Date: Wed, 05 Jan 2011 15:34:21
To: rt usersrt-users@lists.bestpractical.com
Reply-To: gregory@accesskenya.com
Subject: [rt-users] RT Queue mails with errors on Postfix

Hi RT Community,
I have an issue I want to troubleshoot and resolve. I have

I keep seeing this error in my postfix logs (tail -f /var/log/maillog)

Jan 5 14:08:10 noc postfix/cleanup[6000]: warning:
database /etc/postfix/virtual.db is older than source
file /etc/postfix/virtual

Jan 5 14:51:14 noc postfix/local[6094]: C11C85F696D:
to=nops@myrtdomain.com, relay=local, delay=11811,
delays=11811/0.01/0/0.2, dsn=4.3.0, status=deferred (temporary failure.
Command output: RT server error. The RT server which handled your email
did not behave as expected. It said: temporary failure - RT couldn’t
find the queue: CoreNetwork )

My /etc/aliases has the queue specified, matching the CoreNetwork queue
I created on RT webinterface with my root account:

core: “|/opt/rt3/bin/rt-mailgate --queue CoreNetwork --action
correspond --url http://myrtdomain.com
core-response: “|/opt/rt3/bin/rt-mailgate --queue CoreNetwork --action
comment --url http://myrtdomain.com

Any ideas on how I can resolve this? I have tried these steps in
sequence
newaliases
postfix reload
service postfix restart [ok]
service httpd restart [ok]

Regards,

Gregory Okoth
NOC Engineer

Email:noc@accesskenya.com
Tel: (254 20) 360 0908
Fax: (254 20)(254 20) 360 0001

Jan� 5 14:08:10 noc postfix/cleanup[6000]: warning: database
/etc/postfix/virtual.db is older than source file /etc/postfix/virtual

you should probably run postmap /etc/postfix/virtual

Jan� 5 14:51:14 noc postfix/local[6094]: C11C85F696D:
to=nops@myrtdomain.com, relay=local, delay=11811,
delays=11811/0.01/0/0.2, dsn=4.3.0, status=deferred (temporary failure.
Command output: RT server error.� The RT server which handled your email
did not behave as expected. It said:� temporary failure - RT couldn’t find
the queue: CoreNetwork )

if rt-mailgate tell you that he could not find a queue named
“CoreNetwork”, that’s certainly true. Maybe there is some typo in the
queue name or maybe you’re not working on the same RT?

The command newaliases I was led to believe was only for sendmail. What
you need is:

that’s off topic for this list, but no, newaliases exists and works also
with postfix if you set variable alias_database correctly in your
postfix main.cf. For example:

Where postfix local find aliases

alias_maps = hash:/etc/aliases

What format:files should be updated when running newaliases

alias_database = hash:/etc/aliases