[Solved] Duplicated tickets ('mails' are stuck in spool)

Moderator: crythias

Locked
silkgoat
Znuny newbie
Posts: 11
Joined: 29 Nov 2011, 16:26
Znuny Version: 2.4, 3.0.11

[Solved] Duplicated tickets ('mails' are stuck in spool)

Post by silkgoat »

Hi,

We have a problem with our new installation (otrs 3.0.11). We use ftechmail->procmail->(pipe)otrs.PostMaster.pl to deliver mails to the queues. Every mail we get is delivered successfully to the queues. They are created in the proper queues. But they are also appearing in the $OTRS_HOME/var/spool directory. After the otrs.cleanup process has run after midnight, the tickets get duplicated.

We migrated our system from 2.4.

Any suggestion what should we set up in config to avoid this behavior or how we disable spooling (we get all the mails in the queues, no missing tickets).

Regards,
Robert
Last edited by silkgoat on 29 Nov 2011, 17:28, edited 1 time in total.
silkgoat
Znuny newbie
Posts: 11
Joined: 29 Nov 2011, 16:26
Znuny Version: 2.4, 3.0.11

Re: Duplicated tickets ('mails' are stuck in spool)

Post by silkgoat »

Hi,

OK I found the problem. We used the PostMaster in a block in the .procmailrc earlier but after the update we didn't need this block anymore. But I left the 'c' flag in the rule.

So the solution was changing:
:0 c
| $SYS_HOME/bin/otrs.PostMaster.pl
:0 :
$SYS_HOME/var/spool/.

to

:0 :
| $SYS_HOME/bin/otrs.PostMaster.pl
:0 :
$SYS_HOME/var/spool/.


Regards,
Robert
Locked