auto fetchmail problem

Moderator: crythias

Locked
masih
Znuny newbie
Posts: 6
Joined: 04 Feb 2014, 21:08
Znuny Version: nao tenho ainda
Real Name: Masih
Company: Hybrid Data Center

auto fetchmail problem

Post by masih »

guys, my otrs is functioning correctly, but i cant take the e-mails from the acount i registred automatically. i can do it using the comands on terminal and web interface normally and send e-mails too. my only problem is it not collecting e-mails automatically every 10 minutes (or 1 minute like i want. someone cam help me?

I use CentOS 6.5 and OTRS 3.3.5

there is some of my configurations:

/opt/otrs/var/cron/postmaster_mailbox:
# --
# cron/postmaster_mailbox - postmaster_mailbox cron of the OTRS
# Copyright (C) 2001-2009 xxx, http://otrs.org/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --

# fetch emails every 10 minutes
*/1 * * * * /opt/otrs/bin/otrs.PostMasterMailbox.pl -f 1 >> /dev/null
*/1 * * * * /opt/otrs/bin/otrs.PostMasterMailbox.pl -f 1
*/1 * * * * fetchmail -a

/opt/otrs/var/cron/fetchmail:
# --
# cron/fetchmail - fetchmail cron of the OTRS
# Copyright (C) 2001-2009 xxx, http://otrs.org/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --

# fetch every 5 minutes emails via fetchmail
*/1 * * * * [ -x /usr/bin/fetchmail ] && /usr/bin/fetchmail -a >> /dev/null
*/1 * * * * /usr/bin/fetchmail -a --ssl >> /dev/null

IMPORTANT: in the script of fetchmail it points to a location that i dont reach. maybe this is the problem
Locked