POP/IMAP tests not working
POP/IMAP tests not working
Hi there, I'm having some trouble getting the POP and IMAP tests to work.
I have setup a node (my pop/imap server) and it is respondingt o ping fine, set up TCP port open tests for port 110 etc. all working fine, but when I set up the POP/IMAP tests they never complete.
set up test as follows:
Test type: IMAP
Test Options:
Hostname: hostname of pop server
Username: my pop username
Password: my password
Protocol: pop3
Port: 110
SSL: NOT ticked
Custom Name: POP check
Test Enabled: ticked
Recorded: ticked
Simple Evaluation: ticked
Custom attempts: 0
Custom timeout: 0
and then saved settings, which then cleared to password field so looks like it worked.
The logs show no error, the test just never completes and get stuck, I have to manually kill it to continue.
I would have thought if I had details wrong like UN:PW etc. then it would at least fail and give an error..
any suggestions?
thank you
Matt
I have setup a node (my pop/imap server) and it is respondingt o ping fine, set up TCP port open tests for port 110 etc. all working fine, but when I set up the POP/IMAP tests they never complete.
set up test as follows:
Test type: IMAP
Test Options:
Hostname: hostname of pop server
Username: my pop username
Password: my password
Protocol: pop3
Port: 110
SSL: NOT ticked
Custom Name: POP check
Test Enabled: ticked
Recorded: ticked
Simple Evaluation: ticked
Custom attempts: 0
Custom timeout: 0
and then saved settings, which then cleared to password field so looks like it worked.
The logs show no error, the test just never completes and get stuck, I have to manually kill it to continue.
I would have thought if I had details wrong like UN:PW etc. then it would at least fail and give an error..
any suggestions?
thank you
Matt
Re: POP/IMAP tests not working
Hi,
Hmm... The only time I have come across the IMAP test just dying and taking out the whole test script was on a Windows box I was experimenting with.
What environment are you running? Are you using the VM or source install (if source, what's the host OS/version).
I'm wondering if perhaps you don't have the required PHP libraries for IMAP.
From the shell (as root) can you try running the tester.sh script against the node e.g.
And see if you get an error there perhaps?
Regards,
Dave.
Hmm... The only time I have come across the IMAP test just dying and taking out the whole test script was on a Windows box I was experimenting with.
What environment are you running? Are you using the VM or source install (if source, what's the host OS/version).
I'm wondering if perhaps you don't have the required PHP libraries for IMAP.
From the shell (as root) can you try running the tester.sh script against the node e.g.
Code: Select all
cd /opt/freenats/server/bin
tester.sh nodeid
Regards,
Dave.
Re: POP/IMAP tests not working
Will give that a go and let you know, I'm using the VM by the way, it was on 0.04.14b but I upgraded to .25b hoping that might fix it
Re: POP/IMAP tests not working
Hmm... Well on the VM all should work fine as it's one of the few environments we have some control over!
Hopefully running the script may help.
You may also like to try doing
Immediately afterward and see what is in there.
Regards,
Dave.
Hopefully running the script may help.
You may also like to try doing
Code: Select all
tail /var/log/httpd/error_log
Regards,
Dave.
Re: POP/IMAP tests not working
well tried running it manually and got following output
NodeID: my node IP
Ping test: Yes
Ping returned: 0.016
Ping Test: Passed
Doing Local Tests
Test: tcp (110)
Result: 1
Eval: 0
Recording Test
Test: imap (my hostname)
Theng get dumped back at the prompt, it's almost like its not actually doing the test...
NodeID: my node IP
Ping test: Yes
Ping returned: 0.016
Ping Test: Passed
Doing Local Tests
Test: tcp (110)
Result: 1
Eval: 0
Recording Test
Test: imap (my hostname)
Theng get dumped back at the prompt, it's almost like its not actually doing the test...
Re: POP/IMAP tests not working
And even though I get chucked back to the prompt on the local console, in the webadmin it shows the session as 'Still Running'
Re: POP/IMAP tests not working
Nothing cropping up in the apache error_logs
Re: POP/IMAP tests not working
Hi,
Hmm... Well if the test script dumps the "still running" flag would stay on - it's just a flag rather than any actual check of the script running.
IMAP not working and not displaying anything at all is really really weird.
Do you get anything in the /var/log/httpd/error_log ?
I'm afraid I'm out right now but when I get home later on I'll have a play with the code and see what I can find.
Regards,
Dave.
Hmm... Well if the test script dumps the "still running" flag would stay on - it's just a flag rather than any actual check of the script running.
IMAP not working and not displaying anything at all is really really weird.
Do you get anything in the /var/log/httpd/error_log ?
I'm afraid I'm out right now but when I get home later on I'll have a play with the code and see what I can find.
Regards,
Dave.
Re: POP/IMAP tests not working
nothing at all relating to this problem, the only entries in the appache error log are relating to lack of favicon about 6 hours ago
I've tried using POP, IMAP, secure, non-secure, my pop server, 3rd party pop servers and same thing happens on all of them
thanks for looking into it!
I've tried using POP, IMAP, secure, non-secure, my pop server, 3rd party pop servers and same thing happens on all of them
thanks for looking into it!
Re: POP/IMAP tests not working
Balls! I have found the problem. Double Balls!
Sorry but it appears the VM PHP doesn't have IMAP support included. TBH I'm surprised nobody mentioned this before but there you go.
IMAP early testers must have been running source installs on a fuller PHP environment.
Sorry.
Erm... I'll look into adding the module which I think is doable (I hope).
Sorry again.
I'll get back to you when I've looked at the options.
Regards,
Dave.
Sorry but it appears the VM PHP doesn't have IMAP support included. TBH I'm surprised nobody mentioned this before but there you go.
IMAP early testers must have been running source installs on a fuller PHP environment.
Sorry.
Erm... I'll look into adding the module which I think is doable (I hope).
Sorry again.
I'll get back to you when I've looked at the options.
Regards,
Dave.