Astaro User Bulletin Board
Go Back   Astaro User Bulletin Board > Astaro Gateway Products > Mail Security: SMTP, POP3, Antispam and Antivirus

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.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-18-2009, 02:48 PM
Junior Member
 
Join Date: Feb 2009
Posts: 26
Default [7.400] My Astaro pop3 proxy ate an email

I use the pop3 proxy and fetch through fetchmail to another linux machine (of which the below is the mail log).
Code:
Mar 18 11:47:19 [postfix/smtpd] connect from localhost[127.0.0.1]
Mar 18 11:47:19 [postfix/smtpd] 627D327007: client=localhost[127.0.0.1]
Mar 18 11:47:19 [postfix/cleanup] 627D327007: message-id=<EXCHANGEHzNkJwBMMkk000a709f@exchange.ds1.interview-nss.com>
Mar 18 11:52:19 [fetchmail] reading message whoever@pop.1und1.de:1 of 39 (8457 octets) (log message incomplete)
Mar 18 11:52:19 [fetchmail] timeout after 300 seconds._
Mar 18 11:52:19 [postfix/smtpd] lost connection after DATA (8706 bytes) from localhost[127.0.0.1]
Mar 18 11:52:19 [postfix/smtpd] disconnect from localhost[127.0.0.1]
Mar 18 11:52:19 [fetchmail] socket error while fetching from whoever@pop.1und1.de_
I had to delete the mail by hand from the mail spool directory so I can receive mail again.

Now it works again, but I get this one:
Code:
Warning: Mail 0/27283-1-1237198645 not local, but no cluster configured
Unfortunately I deleted the email in question.
Reply With Quote
  #2 (permalink)  
Old 03-18-2009, 03:38 PM
Senior Member
 
Join Date: Jul 2008
Location: Karlsruhe
Posts: 123
Default

Deleting mail from spool doesn't work this way, because it's still referenced in the database. There is no need to do that anyway, because fetchmail will retrieve the mail next time it connects.
I've sent you an PM how to correct your database.
Reply With Quote
  #3 (permalink)  
Old 03-18-2009, 03:49 PM
Junior Member
 
Join Date: Feb 2009
Posts: 26
Default

Quote:
Originally Posted by frickler View Post
Deleting mail from spool doesn't work this way, because it's still referenced in the database. There is no need to do that anyway, because fetchmail will retrieve the mail next time it connects.
I've sent you an PM how to correct your database.
That's what I tried to tell you: fetchmail could not fetch the mail, and could not delete it either. The pop3proxy just froze the connection at that point, it seems.

My fetchmail tried to fetch that mail for 2 days.
Reply With Quote
  #4 (permalink)  
Old 03-18-2009, 03:56 PM
Senior Member
 
Join Date: Jul 2008
Location: Karlsruhe
Posts: 123
Default

Did the connection freeze before or after you've deleted the spoolfile? If the proxy can't read a spoolfile it sends "-ERR Can't read mail" and prints the warning message to the logfile.
Reply With Quote
  #5 (permalink)  
Old 03-18-2009, 04:17 PM
Junior Member
 
Join Date: Feb 2009
Posts: 26
Default

Quote:
Originally Posted by frickler View Post
Did the connection freeze before or after you've deleted the spoolfile? If the proxy can't read a spoolfile it sends "-ERR Can't read mail" and prints the warning message to the logfile.
Before that, without my help.

Deleting the spoolfile was the fix.

There must have been something inside that mail which the pop3proxy did not like. Alas, I deleted it.
Reply With Quote
  #6 (permalink)  
Old 03-19-2009, 12:42 AM
Junior Member
 
Join Date: Feb 2009
Posts: 26
Default

It not only ate this mail (which was btw a customer survey from Microsoft), it did not delete it from the source pop3 server, so it instantly fetched it again after I deleted it, thereby blocking my mail system again.

On the positive side, I now have the mail and could open a support case.
Reply With Quote
  #7 (permalink)  
Old 03-19-2009, 08:13 AM
Senior Member
 
Join Date: Jul 2008
Location: Karlsruhe
Posts: 123
Default

Thats the intended behaviour of fetchmail to not delete mail which it can't fetch. Otherwise one really would have data loss if the pop3 server temporarily can't deliver the mail.
Can you please send me the mail as attachment to astaro (at) codefrickler (dot) de (this address is non-filtered)?
Reply With Quote
  #8 (permalink)  
Old 03-19-2009, 10:38 AM
Junior Member
 
Join Date: Feb 2009
Posts: 26
Default

As home user, they don't allow me to open a case.

Even if it is basically a bug report.

You may be right, I don't think my fetchmail is set to delete if it can't fetch, but then the astaro did not even delete it from the target pop3 server, even though it prefetched normally and deleted the rest of the mails.

quite strange.

I sent you an email, but I'm not absolutely sure that the email I attached is the whole email, I took that one from the astaro mail spool, it could be, that it did not fetch the whole mail due to some error.

Last edited by barkas; 03-19-2009 at 10:44 AM.
Reply With Quote
Reply

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:22 PM.

 

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.