auto check Postmaster mail account

Moderator: crythias

Locked
andersonserra
Znuny newbie
Posts: 25
Joined: 12 Aug 2010, 22:03
Znuny Version: otrs 3.0.11
Real Name: Anderson Serra
Company: Point of Presence of RNP in Maranhao - PoPMA-RNP
Location: São Luís - Maranhão, Brazil
Contact:

auto check Postmaster mail account

Post by andersonserra »

Dears friends,

I have used enough use of OTRS here in the company where I work. I would like to know how I automate the implementation to check the inbox of OTRS, in Postmaster mail account session, in button "run now". I looked at some comments about cron jobs, requiring edit the file "PostMastermailbox.pl". But still I could not solve my problem.Is there a script that I can change to make this run automatically?? I've seen in the manual that the duration is 10 minutes, I would reduce this time.

Can anyone help me?

thanks!

Serra, Anderson - OTRS user in BRAZIL
São Luís - MA / BRAZIL
Anderson Serra
Networks analyst at RNP - Brazil
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: auto check Postmaster mail account

Post by crythias »

you can edit the cronjob for PostMaster to reduce (search the forums), or if you're adventurous, you can check out procmail where the tickets can be handled "instantly."

Anyone who has the ability to use procmail, I would STRONGLY advise taking a look at it.

http://wiki.otrs.org/index.php?title=Us ... POP3/fetch
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
felipefls
Znuny newbie
Posts: 9
Joined: 25 Aug 2010, 21:54
Znuny Version: 2.4

Re: auto check Postmaster mail account

Post by felipefls »

andersonserra wrote:Dears friends,

I have used enough use of OTRS here in the company where I work. I would like to know how I automate the implementation to check the inbox of OTRS, in Postmaster mail account session, in button "run now". I looked at some comments about cron jobs, requiring edit the file "PostMastermailbox.pl". But still I could not solve my problem.Is there a script that I can change to make this run automatically?? I've seen in the manual that the duration is 10 minutes, I would reduce this time.

Can anyone help me?

thanks!

Serra, Anderson - OTRS user in BRAZIL
São Luís - MA / BRAZIL

Hi, i´m the same problem,. My otrs system doesn´t automaticaly update the emails, you gotta do?

Você conseguiu fazer com que o sistema atualize os emails automaticamente?!
ferrosti
Znuny superhero
Posts: 723
Joined: 10 Oct 2007, 14:30
Znuny Version: 3.0
Location: Hamburg, Germany

Re: auto check Postmaster mail account

Post by ferrosti »

- Open "$OTRSHOME/var/cron/postmaster_mailbox"
- Edit this file to your needs
- run "$OTRSHOME/scripts/Cron.sh" or its windows version, depending on your setup
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
theodore
Znuny newbie
Posts: 26
Joined: 09 Jun 2010, 12:51
Znuny Version: 3.3.11

Re: auto check Postmaster mail account

Post by theodore »

Hi,

I have Installed OTRS3.0.4 in windows 2003 server.

I have the same problem the system does not fetch email automatically. I have to always click on fetch mail in the Mail account manager.

I tried to change the time that the system fetches emails by editing the following files...

I have also changed the line in the CRONw\crontab.txt
*/10 * * * * C:/OTRS/StrawberryPerl/perl/bin/perl.exe C:/OTRS/OTRS/bin/otrs.PostMasterMailbox.pl
to
*/2 * * * * C:/OTRS/StrawberryPerl/perl/bin/perl.exe C:/OTRS/OTRS/bin/otrs.PostMasterMailbox.pl

That suppose to change the interleave to 2 min instead of 10.

Also I have changed the var\cron\postmaster_mailbox.dist
to
*/2 * * * * $HOME/bin/otrs.PostMasterMailbox.pl >> /dev/null

Now even if I change them back to 10 the system does not fetch emails automatically.

Any advice?
OTRS 3.3.11 MariaDB CentOS 7
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: auto check Postmaster mail account

Post by crythias »

make sure the cronw service is running
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
theodore
Znuny newbie
Posts: 26
Joined: 09 Jun 2010, 12:51
Znuny Version: 3.3.11

Re: auto check Postmaster mail account

Post by theodore »

Hi again

The service was running and I did restart the system several times.

Today the problem was fixes by its own...
OTRS 3.3.11 MariaDB CentOS 7
Locked