Limit of 15 incoming mails

Moderator: crythias

Locked
HervE
Znuny wizard
Posts: 391
Joined: 03 Jan 2011, 17:15
Znuny Version: 3.3.8
Location: France

Limit of 15 incoming mails

Post by HervE »

Hello,

It seems there is a limit of 15 incoming mails at one time (or maybe 15 new tickets?)
When I "Run Now!" my IMAP PostMaster Mail Account, only 15 new tickets are created, whereas I've got more mails that should create new tickets.

I guess there is a parameter that sets that limit of 15, and I'd like to increase that number.
But I can't find where it is located. I have checked Config.pm, cron, some of the likely SysConfig's... no way.

Can anybody help me please?

Regards,
HervE
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
BIG_jan
Znuny advanced
Posts: 138
Joined: 05 Jun 2009, 11:32
Znuny Version: 3.3.8
Company: Netzlink Informationstechnik GmbH
Location: Wolfenbüttel,GER
Contact:

Re: Limit of 15 incoming mails

Post by BIG_jan »

I think this should be configured by 'PostMasterReconnectMessage'.
Live: OTRS 3.3.8, ITSM 3.3.8, in vm
Test: otrs 3.3.8, ITSM

OS: RedHat 6.5 64Bit, Apache: 2.2.15, MySQL 5.5.38, Perl: 5.10.1, mod_Perl 2.0.4
HervE
Znuny wizard
Posts: 391
Joined: 03 Jan 2011, 17:15
Znuny Version: 3.3.8
Location: France

Re: Limit of 15 incoming mails

Post by HervE »

Thanks for your answer.
I had seen this one in SysConfig Ticket -> Core::PostMaster.

PostMasterReconnectMessage:
The "bin/PostMasterMailAccount.pl" will reconnect to POP3/POP3S/IMAP/IMAPS host after the specified count of messages.
(Défaut: 20)


But it cannot be the parameter I'm looking for, because default is 20 - I didn't modify it - and not 15.

By the way, there is no "bin/PostMasterMailAccount.pl" as stated! In bin, there are PostMaster.pl, PostMasterClient.pl, PostMasterDaemon.pl, PostMasterMailbox.pl and PostMasterPOP3.pl (this last one is not used anymore).
No one of these files seems to be the one I'm looking for either.

HervE
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Limit of 15 incoming mails

Post by jojo »

perhpas there is a setting on your mailserver?
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
HervE
Znuny wizard
Posts: 391
Joined: 03 Jan 2011, 17:15
Znuny Version: 3.3.8
Location: France

Re: Limit of 15 incoming mails

Post by HervE »

No, I have just asked my network admin.

Where can it be then? It drives me crazy!

By the way, I have tested: it is limited to 15 received mails in the same time (for both new and already open tickets).
I mean, if I've got for instance 20 new mails, including 3 with a ticket number, then:
a) 3 tickets are updated
b) 12 new tickets are created
c) the last 5 mails are ignored.

HervE
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
BIG_jan
Znuny advanced
Posts: 138
Joined: 05 Jun 2009, 11:32
Znuny Version: 3.3.8
Company: Netzlink Informationstechnik GmbH
Location: Wolfenbüttel,GER
Contact:

Re: Limit of 15 incoming mails

Post by BIG_jan »

'15' is a hardcoded value in kernel\modules\AdminMailAccoun.pm (line 64)

so, wehen you fetch your mails by clicking the 'run now', in the admin-view, only 15 mails at one time will be fetched.
to fetch more at one time, build a cron-job to fetch the mails.
( var/cron/postmaster_mailbox )


--
was to easy to find ;)
Live: OTRS 3.3.8, ITSM 3.3.8, in vm
Test: otrs 3.3.8, ITSM

OS: RedHat 6.5 64Bit, Apache: 2.2.15, MySQL 5.5.38, Perl: 5.10.1, mod_Perl 2.0.4
HervE
Znuny wizard
Posts: 391
Joined: 03 Jan 2011, 17:15
Znuny Version: 3.3.8
Location: France

Re: Limit of 15 incoming mails

Post by HervE »

BIG_jan wrote:'15' is a hardcoded value in kernel\modules\AdminMailAccoun.pm (line 64)
so, wehen you fetch your mails by clicking the 'run now', in the admin-view, only 15 mails at one time will be fetched.
Thanks. Is it a problem that I modify this value in AdminMailAccount.pm?
I modified it to 25, just to test.
Result: 19 emails were fetched (1st run), then 19 again (2nd run), then 11 (3rd run)
Why??

By the way, is this limit for "Run now!" only, or does it apply when PostMaster Mail Account is valid and applying automatically every x minutes?
BIG_jan wrote:was to easy to find ;)
When you know where to find...
I feel I'm missing the logic of organization of folder structure and/or SysConfig. Is there a document describing that?

Regards,
HervE
OTRS 3.3.8 - Windows 7 - IIS7 - SQL Server - Firefox 30
ferrosti
Znuny superhero
Posts: 723
Joined: 10 Oct 2007, 14:30
Znuny Version: 3.0
Location: Hamburg, Germany

Re: Limit of 15 incoming mails

Post by ferrosti »

There is no limit when it connects via cron. It does not use the same functions.
openSuSE on ESX
IT-Helpdesk: OTRS 3.0
Customer Service: OTRS 3.0 (upgraded from 2.3)
Customer Service (subsidiary): OTRS 3.0
+additional test and development systems
chetannagaonkar
Znuny advanced
Posts: 149
Joined: 25 Oct 2010, 10:02
Znuny Version: 3.2
Location: Bangalore, India

Re: Limit of 15 incoming mails

Post by chetannagaonkar »

It is interesting as no where it is mentioned about the limit. Is there a way to give a sample example of the cron job that may help to modify the limit pls?

Best Regards
Chetan
Best Regards
Chetan
OTRS 3.06
ITSM 3.1
MySQL
Windows 7 Ultimate
ferrosti
Znuny superhero
Posts: 723
Joined: 10 Oct 2007, 14:30
Znuny Version: 3.0
Location: Hamburg, Germany

Re: Limit of 15 incoming mails

Post by ferrosti »

There IS NO LIMIT when using $OTRS_HOME/bin/otrs.PostMaster.pl
This limit only exists when executing the fetch function using the frontend.

The examples for cron can be found in $OTSR_HOME/var/cron
openSuSE on ESX
IT-Helpdesk: OTRS 3.0
Customer Service: OTRS 3.0 (upgraded from 2.3)
Customer Service (subsidiary): OTRS 3.0
+additional test and development systems
chetannagaonkar
Znuny advanced
Posts: 149
Joined: 25 Oct 2010, 10:02
Znuny Version: 3.2
Location: Bangalore, India

Re: Limit of 15 incoming mails

Post by chetannagaonkar »

Ah... thanks for the clarity, ferrosti. I was wondering if I need to write cron jobs to manage mails more than 20.

Best Regards
Chetan
Best Regards
Chetan
OTRS 3.06
ITSM 3.1
MySQL
Windows 7 Ultimate
Locked