I fixed it by making my own script and running it as a cron job. Here's
my script:
=====
#!/bin/bash
# This script is for a cron job that will write the results to a log
file with date stamping.
DATE=`date +'%Y-%m-%d %H:%M:%S'`
# For easier to read logs...
echo " " >> /var/log/OTRS_Connection.log
echo "=======================" >> /var/log/OTRS_Connection.log
echo "$DATE" >> /var/log/OTRS_Connection.log
echo "Starting connection to Mail Server..." >> /var/log/OTRS_Connection.log
echo "Processing..." >> /var/log/OTRS_Connection.log
# OTRS Command for retrieving mail.
/opt/otrs/bin/PostMasterPOP3.pl >> /var/log/OTRS_Connection.log
echo "Complete!" >> /var/log/OTRS_Connection.log
exit 0
=====
I've minimized the amount of messages that I get by doing this, but I
haven't eliminated it completely. I actually had to do the same thing
for the Generic Agent since none of those schedules were running either.
Jeff
Mike Dent wrote:
I see several references to this but I could not see a fix.
I noticed no mail coming in for a few days. Manually running
PostMasterPOP3.pl:-
[EMAIL PROTECTED]:/opt/otrs/bin# ./PostMasterPOP3.pl
Notice: PostMasterPOP3.pl is already running (use '-f 1' if you want
to start it forced)!
[EMAIL PROTECTED]:/opt/otrs/bin#
Even though it does not seem to be running:-
[EMAIL PROTECTED]:/opt/otrs/bin# ps -ef |grep -i post
root 4338 1 0 May09 ? 00:00:07 /usr/lib/postfix/master
postfix 4358 4338 0 May09 ? 00:00:05 qmgr -l -t fifo -u
postfix 4913 4338 0 May09 ? 00:00:00 tlsmgr -l -t unix -u -c
postfix 27554 4338 0 15:14 ? 00:00:00 pickup -l -t fifo -u -c
postfix 27916 4338 0 16:30 ? 00:00:00 cleanup -z -t unix -u -c
postfix 27917 4338 0 16:30 ? 00:00:00 trivial-rewrite -n
rewrite -t unix -u -c
postfix 27918 4338 0 16:30 ? 00:00:00 local -t unix
root 27929 4532 0 16:30 pts/0 00:00:00 grep -i post
Please advise? 'add -f on crontab?'
thanks
Mike
version 2.1.7 ORTS on Ubuntu.
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support or consulting for your OTRS system?
=> http://www.otrs.com/
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support or consulting for your OTRS system?
=> http://www.otrs.com/