Astaro User Bulletin Board
Go Back   Astaro User Bulletin Board > Closed Forums (read only) > ASG V7 Betas > ASG V7.300 BETA (closed)

Welcome to the Astaro User Bulletin Board.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-23-2008, 08:04 PM
Monarch's Avatar
Wizard
 
Join Date: Apr 2008
Location: Rottweil, Germany
Posts: 665
Default [7.260] Unable to retrieve email from POP3proxy [CONFIRMED]

Hi,

I've just updated my 7.201 virtual machine to 7.260 using the new up2date package.

I'm using fetchmail to retrieve email from a pop3 server and forward it to my mail server. After the update the pop3 proxy still downloads new mail but they cannot be retrieved by fetchmail any longer.

In the mail manager I see some mails waiting for client pickup. While fetchmail is running the same number of mails is displayed but no mail can be downloaded from the proxy:

Quote:
41 messages for xyz at pop.web.de (22807978 octets).
fetchmail: couldn't fetch headers, message xyz@pop.web.de:1 (1047658 octets)
fetchmail: couldn't fetch headers, message xyz@pop.web.de:2 (1066199 octets)
fetchmail: couldn't fetch headers, message xyz@pop.web.de:3 (1065019 octets)
fetchmail: couldn't fetch headers, message xyz@pop.web.de:4 (454044 octets)
fetchmail: couldn't fetch headers, message xyz@pop.web.de:5 (195467 octets)
fetchmail: couldn't fetch headers, message xyz@pop.web.de:6 (727840 octets)
fetchmail: couldn't fetch headers, message xyz@pop.web.de:7 (141956 octets)
fetchmail: couldn't fetch headers, message xyz@pop.web.de:8 (898648 octets)
fetchmail: couldn't fetch headers, message xyz@pop.web.de:9 (147391 octets)
The pop3 proxy log looks fine and no errors are logged.

Regards,
Bastian
__________________

Running Astaro ASG Version 8.001 / Astaro wireless AP10 / Home power user 100 IP license
Intel S3210SHLC / Intel Xeon X3320 / 8192 MB RAM / 3Ware 9650SE 8-Port / APC Smart-UPS 750XL

Last edited by Monarch; 07-23-2008 at 08:09 PM.
  #2 (permalink)  
Old 07-23-2008, 08:16 PM
tom's Avatar
tom tom is offline
Super Moderator
 
Join Date: Nov 2000
Location: Heidelberg, Germany
Posts: 1,267
Default

We've already noticed that fetchmail is a bit special in it's use of the "TOP" POP3 command. Maybe this is related. I'm no specialist on fetchmail (it's been like 12 years since I used it), but does it have a more verbose debug output? Alternatively, can you please "tcpdump -s0 -w out ..." such a session (on the fetchmail host)?

Send that stuff to my colleague Christoph at cgarst@astaro.com. He'll return from holidays on Monday.

Thanks!
__________________
Tom Kistner
Product Development & Administrator
Astaro AG
  #3 (permalink)  
Old 07-23-2008, 08:26 PM
Monarch's Avatar
Wizard
 
Join Date: Apr 2008
Location: Rottweil, Germany
Posts: 665
Default

Thanks for your reply...

I'll check if there are any verbose options. I'm using fetchmail on a windows machine running cygwin , but until today it worked well.

I just tried another pop3 forwarder, EFS from Chimera, which I used some time ago. It doesn't work also as it hangs after downloading one or two mails:


Edit: a third POP3 proxy called pullmail doesn't work either:
Quote:
C:\temp>C:\temp\PULLMAIL.EXE pop.web.de xyc *** /to:abc@def.de /t=60
<< +OK POP3Proxy ready
<< +OK
<< -ERR Proxy: Maildrop is locked
PASS command failed
Edit 2: OK this was because of a hanging pop3 session. After restarting the proxy it is working with pullmail. But fetchmail and EFS still don't work.

This leads me to the assumption that this is not fetchmail-related.

Regards,
Bastian
__________________

Running Astaro ASG Version 8.001 / Astaro wireless AP10 / Home power user 100 IP license
Intel S3210SHLC / Intel Xeon X3320 / 8192 MB RAM / 3Ware 9650SE 8-Port / APC Smart-UPS 750XL

Last edited by Monarch; 07-23-2008 at 08:37 PM.
  #4 (permalink)  
Old 07-23-2008, 08:42 PM
Monarch's Avatar
Wizard
 
Join Date: Apr 2008
Location: Rottweil, Germany
Posts: 665
Default

I'll use pullmail until this problem is solved...

Here is the requested verbose output from fetchmail:
Quote:
fetchmail: 6.3.8 querying pop.web.de (protocol POP3) at Wed Jul 23 22:40:59 2008: poll started
Trying to connect to 217.72.192.134/110...connected.
fetchmail: POP3< +OK POP3Proxy ready
fetchmail: POP3> CAPA
fetchmail: POP3< -ERR Unknown command
fetchmail: Unknown command
fetchmail: Repoll immediately on xyz@pop.web.de
Trying to connect to 217.72.192.134/110...connected.
fetchmail: POP3< +OK POP3Proxy ready
fetchmail: POP3> USER xyz
fetchmail: POP3< +OK
fetchmail: POP3> PASS *
fetchmail: POP3< +OK Identified account 1
fetchmail: POP3> STAT
fetchmail: POP3< +OK 3 44064
fetchmail: POP3> LAST
fetchmail: POP3< -ERR Unknown command
fetchmail: Unknown command
fetchmail: POP3> UIDL
fetchmail: POP3< +OK
fetchmail: POP3< 1 627879753
fetchmail: POP3< 2 627879754
fetchmail: POP3< 3 627879755
fetchmail: POP3< .
3 messages for xyz at pop.web.de (44064 octets).
fetchmail: POP3> LIST 1
fetchmail: POP3< +OK 1 14707
fetchmail: POP3> TOP 1 99999999
fetchmail: POP3< -ERR No more than 10 lines allowed
fetchmail: No more than 10 lines allowed
fetchmail: couldn't fetch headers, message xyz@pop.web.de:1 (14707 octets)
fetchmail: POP3> LIST 2
fetchmail: POP3< +OK 2 14721
fetchmail: POP3> TOP 2 99999999
fetchmail: POP3< -ERR No more than 10 lines allowed
fetchmail: No more than 10 lines allowed
fetchmail: couldn't fetch headers, message xyz@pop.web.de:2 (14721 octets)
fetchmail: POP3> LIST 3
fetchmail: POP3< +OK 3 14636
fetchmail: POP3> TOP 3 99999999
fetchmail: POP3< -ERR No more than 10 lines allowed
fetchmail: No more than 10 lines allowed
fetchmail: couldn't fetch headers, message xyz@pop.web.de:3 (14636 octets)
fetchmail: POP3> QUIT
fetchmail: POP3< +OK
fetchmail: 6.3.8 querying pop.web.de (protocol POP3) at Wed Jul 23 22:40:59 2008: poll completed
fetchmail: normal termination, status 1
Regards and a nive evening,
Bastian
__________________

Running Astaro ASG Version 8.001 / Astaro wireless AP10 / Home power user 100 IP license
Intel S3210SHLC / Intel Xeon X3320 / 8192 MB RAM / 3Ware 9650SE 8-Port / APC Smart-UPS 750XL
  #5 (permalink)  
Old 07-23-2008, 08:52 PM
tom's Avatar
tom tom is offline
Super Moderator
 
Join Date: Nov 2000
Location: Heidelberg, Germany
Posts: 1,267
Default

We have intentionally limited the TOP account, because it could otherwise be used to circumvent the content scanning (Note: A "TOP 0" should normally fetch all the headers - the number appended to the command specifies the number of BODY lines to fetch in addition).

As you see, fetchmail has the habit of retrieving both headers AND the whole message with "TOP". This may be creative, but is a bit fishy. Christoph may elaborate more on this later ...
__________________
Tom Kistner
Product Development & Administrator
Astaro AG
  #6 (permalink)  
Old 07-29-2008, 08:24 AM
Senior Member
 
Join Date: Jul 2008
Location: Karlsruhe
Posts: 143
Default

There are some problems if you retrieve all mails with the TOP-command. Because of this, we have limited the TOP-command. It will work if you specify the fetchall option (-a on commandline). For more information please read "RETR or TOP" in the fetchmail manual.
  #7 (permalink)  
Old 07-29-2008, 11:13 AM
Monarch's Avatar
Wizard
 
Join Date: Apr 2008
Location: Rottweil, Germany
Posts: 665
Default

Your right, it works using the -a switch.
__________________

Running Astaro ASG Version 8.001 / Astaro wireless AP10 / Home power user 100 IP license
Intel S3210SHLC / Intel Xeon X3320 / 8192 MB RAM / 3Ware 9650SE 8-Port / APC Smart-UPS 750XL
 

Tags
email, fetchmail, pop3

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:16 AM.

 

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.


These pages are specifically maintained for the discussion of firewall issues within the Open Source community, and might already reflect new alpha/beta releases under development. Please refer to our product specifications for the functionality of the actual release. Discussions of new/enhanced functionality does not constitute a commitment of Astaro, to integrate this functionality into future releases. issues within the Open Source community, and might already reflect new alpha/beta releases under development. Please refer to our product specifications for the functionality of the actual release. Discussions of new/enhanced functionality does not constitute a commitment of Astaro, to integrate this functionality into future releases.