Error handling receiving pop3 mail with incorrect project id
I have a bitnami native redmine 1.4.1 implementation in a RedHat 6 virtualized machine, and I configured reception mail with pop3 (http://www.redmine.org/projects/redmine/wiki/RedmineReceivingEmails).
My command is like:
$REDMINE_INST/ruby/bin/rake -f $REDMINE_ROOT/Rakefile --silent redmine:email:receive_pop3 RAILS_ENV="production" host=nn.nn.nn.nn username=redmine password=xxxxxxxx project=MyProyect tracker=Bug allow_override=project,tracker no_permission_check=1"
If the users write correctly the "Project:" word, but the project identificator isn´t correct (e.g.:desa_001 instead desa_0001), mail is marked as read, but I have not this in my project. Obviously, because allow_override is configured.
How can I handle this issue? can I control the project identifier?
I think about other command immediately next, without to override the project, handling these cases. But the risk is any correct mail received between both commands.
Thanks for any idea.