
Hi, we are using OTRS 1.2.3 on Windows 2003 server, every thing seems to be working fine except POP emails, we have defined a POP3 account from web admin consol i.e. Admin-Area -> POP3 Account, screen shot of my settings is as below Login: Password: Host: Trusted: No Yes Dispatching: Dispatching by email To: field. Dispatching by selected Queue. Queue: - Network Support Valid: invalid invalid-temporarily valid Comment: Find below the entry in c$\otrs\otrs\var\cron\postmaster_pop3 */10 * * * * $HOME/bin/PostMasterPOP3.pl >> /dev/null I can see the logs in c:\otrs\CRONw\logs\cron.20041027.log the following entries **************************************************************************** **************************************** [10/27/04 18:35:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\UnlockTickets.pl" --timeout> [10/27/04 18:40:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\GenericAgent.pl"> [10/27/04 18:45:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\PendingJobs.pl"> [10/27/04 18:55:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\DeleteSessionIDs.pl" --expired> [10/27/04 19:00:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\GenericAgent.pl"> [10/27/04 19:20:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\GenericAgent.pl"> [10/27/04 19:35:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\UnlockTickets.pl" --timeout> [10/27/04 19:40:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\GenericAgent.pl"> [10/27/04 19:45:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\PendingJobs.pl"> [10/27/04 20:00:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\GenericAgent.pl"> [10/27/04 20:20:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\GenericAgent.pl"> [10/27/04 20:35:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\UnlockTickets.pl" --timeout> **************************************************************************** **************************************** I am not sure why it is not running postmaster_pop3 cron job and also there is no entry in log file about this. Also I need if someone tell me how can I POP mails after 1 minute instead of default 10 minutes. Thanks in Advance. Asim

On Wed, 27 Oct 2004 20:48:18 +0500, Asim Ansari
Hi, we are using OTRS 1.2.3 on Windows 2003 server, every thing seems to be working fine except POP emails, we have defined a POP3 account from web admin consol i.e. Admin-Area -> POP3 Account, screen shot of my settings is as below
Find below the entry in c$\otrs\otrs\var\cron\postmaster_pop3
*/10 * * * * $HOME/bin/PostMasterPOP3.pl >> /dev/null
I can see the logs in c:\otrs\CRONw\logs\cron.20041027.log the following entries
********************************************************************************************************************
[10/27/04 18:35:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\UnlockTickets.pl" --timeout>
[10/27/04 18:40:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\GenericAgent.pl">
[10/27/04 18:45:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\PendingJobs.pl">
[10/27/04 18:55:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\DeleteSessionIDs.pl" --expired>
[10/27/04 19:00:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\GenericAgent.pl">
[10/27/04 19:20:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\GenericAgent.pl">
[10/27/04 19:35:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\UnlockTickets.pl" --timeout>
[10/27/04 19:40:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\GenericAgent.pl">
[10/27/04 19:45:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\PendingJobs.pl">
[10/27/04 20:00:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\GenericAgent.pl">
[10/27/04 20:20:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\GenericAgent.pl">
[10/27/04 20:35:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\UnlockTickets.pl" --timeout>
********************************************************************************************************************
I am not sure why it is not running postmaster_pop3 cron job and also there is no entry in log file about this. Also I need if someone tell me how can I POP mails after 1 minute instead of default 10 minutes.
Make sure that PostMasterPOP3.pl has execute permissions. You do not want to pop mail every 1 minute. You will get duplicate tickets if it does not pull all of the messages in less than 1 minute. I've been down that road. I set my fetch to 5 minutes and it works fine for me. If you want it to run every 1 minute then you will need to use another solution like fetchmail. Hth, Tyler

Thanks for your email Tyler.
I have double checked that PostMasterPOP3.pl has execute rights
Administrator Full Control
SYSTEM Full Control
Users Read & Execute, Read
With this settings it is not popping emails from the mail server, to further
resolve it I have added Everyone with Full Control but still its not
working.
Asim
-----Original Message-----
From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of
Tyler Hepworth
Sent: Wednesday, October 27, 2004 9:48 PM
To: User questions and discussions about OTRS.
Subject: Re: [otrs] Not able to POP emails
On Wed, 27 Oct 2004 20:48:18 +0500, Asim Ansari
Hi, we are using OTRS 1.2.3 on Windows 2003 server, every thing seems to
be
working fine except POP emails, we have defined a POP3 account from web admin consol i.e. Admin-Area -> POP3 Account, screen shot of my settings is as below
Find below the entry in c$\otrs\otrs\var\cron\postmaster_pop3
*/10 * * * * $HOME/bin/PostMasterPOP3.pl >> /dev/null
I can see the logs in c:\otrs\CRONw\logs\cron.20041027.log the following entries
**************************************************************************** ****************************************
[10/27/04 18:35:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\UnlockTickets.pl" --timeout>
[10/27/04 18:40:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\GenericAgent.pl">
[10/27/04 18:45:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\PendingJobs.pl">
[10/27/04 18:55:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\DeleteSessionIDs.pl" --expired>
[10/27/04 19:00:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\GenericAgent.pl">
[10/27/04 19:20:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\GenericAgent.pl">
[10/27/04 19:35:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\UnlockTickets.pl" --timeout>
[10/27/04 19:40:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\GenericAgent.pl">
[10/27/04 19:45:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\PendingJobs.pl">
[10/27/04 20:00:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\GenericAgent.pl">
[10/27/04 20:20:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\GenericAgent.pl">
[10/27/04 20:35:00]:ACT: Executing Command <"C:\otrs\perl\bin\perl.exe" "C:\otrs\otrs\bin\UnlockTickets.pl" --timeout>
**************************************************************************** ****************************************
I am not sure why it is not running postmaster_pop3 cron job and also
there
is no entry in log file about this. Also I need if someone tell me how can I POP mails after 1 minute instead of default 10 minutes.
Make sure that PostMasterPOP3.pl has execute permissions. You do not want to pop mail every 1 minute. You will get duplicate tickets if it does not pull all of the messages in less than 1 minute. I've been down that road. I set my fetch to 5 minutes and it works fine for me. If you want it to run every 1 minute then you will need to use another solution like fetchmail. Hth, Tyler _______________________________________________ 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 oder Consulting f|r Ihr OTRS System? => http://www.otrs.de/

On Wed, 27 Oct 2004 22:14:29 +0500, Asim Ansari
Thanks for your email Tyler.
I have double checked that PostMasterPOP3.pl has execute rights
Administrator Full Control SYSTEM Full Control Users Read & Execute, Read
With this settings it is not popping emails from the mail server, to further resolve it I have added Everyone with Full Control but still its not working.
Hmmm, been too long since I used OTRS on Windows. Everything sounds right so I am not sure what else to suggest. See if you can get a hold of Robert Kehl (or wait for him to reply to this). He is the resident OTRS Windows expert on this list. Tyler
participants (2)
-
Asim Ansari
-
Tyler Hepworth