Software error when fetch mail in PostMaster Mail Account

Moderator: crythias

Locked
sgol7
Znuny newbie
Posts: 4
Joined: 03 Oct 2011, 17:11
Znuny Version: 3.0.10
Real Name: Sogol
Company: Bizeyes

Software error when fetch mail in PostMaster Mail Account

Post by sgol7 »

Hi,

I recently upgraded OTRS 2.4 to 3.0.10. But when I click on Fetch Mail in Postmaster Mail Account in Admin area it goes to a Software Error page saying:

Software error:
Quantifier follows nothing in regex; marked by <-- HERE in m/? <-- HERE / at /opt/otrs/bin/cgi-bin/../../Kernel/System/PostMaster/Filter/MatchDBSource.pm line 78.

and I don't receive any new email. What is this error and what is preventing the system for fetch emails?

Thanks,
renee
Znuny expert
Posts: 241
Joined: 06 Feb 2009, 11:15
Znuny Version: 3.0.x
Company: Perl-Services.de
Contact:

Re: Software error when fetch mail in PostMaster Mail Accoun

Post by renee »

You seem to have postmaster filters. There is an error in the regular expression. Please post your filters...
Need a Perl/OTRS developer? You can contact me at info@perl-services.de
sgol7
Znuny newbie
Posts: 4
Joined: 03 Oct 2011, 17:11
Znuny Version: 3.0.10
Real Name: Sogol
Company: Bizeyes

Re: Software error when fetch mail in PostMaster Mail Accoun

Post by sgol7 »

renee wrote:You seem to have postmaster filters. There is an error in the regular expression. Please post your filters...

Thanks for reply. I have created so many postmaster filters in order to deliver emails in different queues. here is some examples of my postmaster filters:

Example1:
Filter Condition
Header 1:Subjet Value 1: Arrange Collection

Set Email Headers
Header 1:X-OTRS-Queue Value 1:CUSTOMER SERVICE::CS3.0-ARRANGE COLLECTION


I attached more examples:
Image
Image
Image


All other filters are similar to these. Are there new rules for postmaster filters?

Thanks,
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Software error when fetch mail in PostMaster Mail Accoun

Post by crythias »

Is there a question mark in one of your filters?

So far, it doesn't appear that you've listed filters with regular expressions. (? or [/\.*)
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
sgol7
Znuny newbie
Posts: 4
Joined: 03 Oct 2011, 17:11
Znuny Version: 3.0.10
Real Name: Sogol
Company: Bizeyes

Re: Software error when fetch mail in PostMaster Mail Accoun

Post by sgol7 »

crythias wrote:Is there a question mark in one of your filters?

So far, it doesn't appear that you've listed filters with regular expressions. (? or [/\.*)
Hi,

Thanks for reply. For some reasons after upgrade some non-English characters were converted to question marks (?). I deleted all those filters and I no loger receive that error. However, I still don't receive any email on OTRS. When I click on Fetch Mail, it works and comes up with a Finished message and no error but I don't see any new email in OTRS and after some time all emails return to the mailbox again. What could be the reason please? I restarted the OTRS server but no change.

Thanks,
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Software error when fetch mail in PostMaster Mail Accoun

Post by crythias »

What does the System Log say after you fetch mail?
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
sgol7
Znuny newbie
Posts: 4
Joined: 03 Oct 2011, 17:11
Znuny Version: 3.0.10
Real Name: Sogol
Company: Bizeyes

Re: Software error when fetch mail in PostMaster Mail Accoun

Post by sgol7 »

crythias wrote:What does the System Log say after you fetch mail?
Hi,

Thank you very much for your helps. I had renamed the MatchDBSource.pm file! :shock: that's why no email was receiving!

Thanks again!
Locked