[EMAIL PROTECTED] wrote: > Hello > > I have an issue with fetchmail. > I am using james 2.2.0 to download emails via pop and process > them via a mailet.
2.2.0 RC1? > > My emails are not getting deleted on the pop server despite > having leaveonserver="false" > everywhere... > > Once downloaded, the emails are then passed onto a mailet. > The same emails are getting downloaded > over and over (and it seems to do always the same 7 out of > 13). The mailet will change the state > of the email to "Mail.GHOST" once it has finished processing > it as I do not want to store any > processed emails. > > I would like to delete the emails on the POP server... > > Looking at the log below, one can see 2 entries per email. > > 1/ about "Ignoring recipient header" where Delete=false > 2/ about "Spooled message to ..." where Delete=true > > Why do we have conflicting Delete values? That's reporting the process through fetchmail. We start with Delete=false and once the mail is spooled, set Delete=true. > Give the fetchmail config (further below) why doesn't it > delete the emails??? Perhaps your POP3 server is ignoring the POP3 Delete command or your Mailet pipeline is causing a mail loop and resending the mail. Either way, fetchmail seems to be working fine and there is nothing unusual in the log. -- Steve --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]