dealing with messages at /opt/otrs/var/spool

Moderator: crythias

Locked
leocertuche
Znuny newbie
Posts: 40
Joined: 12 Apr 2010, 22:50
Znuny Version: 2.4.7
Location: Medellin, Colombia
Contact:

dealing with messages at /opt/otrs/var/spool

Post by leocertuche »

Hello,

After moving to a new server, several messages got stucked at /opt/otrs/var/spool. Is there any way to force OTRS to reprocess them?

Thanks,
Leonardo Certuche
www.itconsultores.com.co
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: dealing with messages at /opt/otrs/var/spool

Post by crythias »

I *think* you might try otrs/bin/otrs.cleanup.

It will try to process the emails and delete them. You should read the code to understand a bit of what it does, but it appears to be what you're looking for. You might want to make sure PostMaster.pl could work in general anyway.

Disclaimer: I don't know enough about what I just posted to say that it's going to work for you. In fact, it might duplicate existing tickets. It might delete tickets without proper parsing. You might want to verify content of the var/spool files to make certain they don't already exist as tickets. OTOH, var/cron/postmaster.dist is supposed to run this otrs.cleanup at 12:10am every day...
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked