My recent upgrade to 3.0.5 has left 1 major problem I have not been able to solve. OTRS is not checking the incoming email boxes at all. I can hit fetch mail in admin and get the emails without any problems. I can even manually run the postmaster script and fetch emails without a problem. I have tried fiddling around with postmaster_mailbox in case the crontab line is wrong and manually creating the cron job. At this point every line I have changed is back to it's original coding. When I restart the otrs service, postmaster is clearly shown as successfully starting. Even at first start emails are not automatically checked.
I have looked around and so far have not found anything to help with getting the email automatically checked. I even checked the docs and can't find anything that is understandable regarding getting emails to automatically checked.
Any help is appreciated.
Postmaster Cron Job Not Running
Moderator: crythias
-
- Znuny newbie
- Posts: 29
- Joined: 09 Oct 2010, 01:57
- Znuny Version: 2.4.8
Postmaster Cron Job Not Running
OTRS 3.2.6
Centos 6 with default httpd and mysqld packages
Centos 6 with default httpd and mysqld packages
-
- Znuny newbie
- Posts: 29
- Joined: 09 Oct 2010, 01:57
- Znuny Version: 2.4.8
Re: Postmaster Cron Job Not Running
If I run postmastermailbox as otrs (if I am doing it the right way), no error messages show up:
sudo -u otrs ./otrs.PostMasterMailbox.pl
POP3: Message 1/1 (****/******)
POP3: Connection to ******** closed.
sudo -u otrs ./otrs.PostMasterMailbox.pl
POP3: Message 1/1 (****/******)
POP3: Connection to ******** closed.
OTRS 3.2.6
Centos 6 with default httpd and mysqld packages
Centos 6 with default httpd and mysqld packages
Re: Postmaster Cron Job Not Running
are your cronjobs running? Please fill your signature with details of your installation
"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 29
- Joined: 09 Oct 2010, 01:57
- Znuny Version: 2.4.8
Re: Postmaster Cron Job Not Running
I ran crontab -l -u otrs | grep -E ^[^#] and got the following:
MAILTO="root@localhost"
20 0 * * 0 $HOME/bin/otrs.DeleteCache.pl --expired >> /dev/null
30 0 * * 0 $HOME/bin/otrs.LoaderCache.pl -o delete >> /dev/null
*/20 * * * * $HOME/bin/otrs.GenericAgent.pl >> /dev/null
*/10 * * * * $HOME/bin/otrs.GenericAgent.pl -c db >> /dev/null
45 */2 * * * $HOME/bin/otrs.PendingJobs.pl >> /dev/null
10 0 * * * $HOME/bin/otrs.cleanup >> /dev/null
*/1 * * * * $HOME/bin/PostMasterMailbox.pl
01 01 * * * $HOME/bin/otrs.RebuildTicketIndex.pl >> /dev/null
55 */2 * * * $HOME/bin/otrs.DeleteSessionIDs.pl --expired >> /dev/null
01 * * * * /opt/otrs/bin/PostMaasterMailbox.pl
35 * * * * $HOME/bin/otrs.UnlockTickets.pl --timeout >> /dev/null
Looks like it is running. Need the mail boxes checked every minute due to the volume of tickets we receive.
System specs:
centos 5.5
2 gig ram
xeon dual core processor
apache 2
mysql 5
MAILTO="root@localhost"
20 0 * * 0 $HOME/bin/otrs.DeleteCache.pl --expired >> /dev/null
30 0 * * 0 $HOME/bin/otrs.LoaderCache.pl -o delete >> /dev/null
*/20 * * * * $HOME/bin/otrs.GenericAgent.pl >> /dev/null
*/10 * * * * $HOME/bin/otrs.GenericAgent.pl -c db >> /dev/null
45 */2 * * * $HOME/bin/otrs.PendingJobs.pl >> /dev/null
10 0 * * * $HOME/bin/otrs.cleanup >> /dev/null
*/1 * * * * $HOME/bin/PostMasterMailbox.pl
01 01 * * * $HOME/bin/otrs.RebuildTicketIndex.pl >> /dev/null
55 */2 * * * $HOME/bin/otrs.DeleteSessionIDs.pl --expired >> /dev/null
01 * * * * /opt/otrs/bin/PostMaasterMailbox.pl
35 * * * * $HOME/bin/otrs.UnlockTickets.pl --timeout >> /dev/null
Looks like it is running. Need the mail boxes checked every minute due to the volume of tickets we receive.
System specs:
centos 5.5
2 gig ram
xeon dual core processor
apache 2
mysql 5
OTRS 3.2.6
Centos 6 with default httpd and mysqld packages
Centos 6 with default httpd and mysqld packages
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Postmaster Cron Job Not Running
if you're getting tickets that quickly, you might want to change to procmail instead of pop3. 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
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
-
- Znuny ninja
- Posts: 1029
- Joined: 13 Apr 2009, 12:26
- Znuny Version: 6.0.13
- Real Name: Wolfgang Fürtbauer
- Company: PBS Logitek GmbH
- Location: Pinsdorf
Re: Postmaster Cron Job Not Running
you can change the settings in
to
and then restart otrs
I'm running this setting since more than a year with a total ticketvolume of 12.000 tickets p.Y - no performance problem at all
Code: Select all
/opt/otrs/var/cron/postmaster_mailbox
Code: Select all
*/1 * * * * $HOME/bin/PostMasterMailbox.pl >> /dev/null
I'm running this setting since more than a year with a total ticketvolume of 12.000 tickets p.Y - no performance problem at all
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
Re: Postmaster Cron Job Not Running
Have you checked the syslog to see that the cronjobs are actually running? The jobs being in the crontab doesn't mean they actually run successfully, it just means they're scheduled to do so. See if there's an errors in the syslog around the times the jobs are supposed to run.
OTRS 3.0.7 | Ubuntu 10.04 LTS | Postgresql 8.4.7