为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Is it possible to delete junk emails off POP3 server but leave them in Thunderbird Junk folder?

  • 6 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 Moph

more options

I have a POP3 server with spam filtering disabled at the ISP's end, so Thunderbird handles all spam to my accounts via adaptive filtering to the Junk folder. I have mail retention set at 14 days to give adequate email history on my phone when away from home.

Unfortunately that means while my desktop inbox looks great - as Thunderbird's adaptive filter is pretty good at diverting spam to the Junk folder - my phone inbox shows everything INCLUDING the spam emails. That's starting to get a bit painful.

Moving to IMAP isn't an option, so I'm hoping there might be a way to set Thunderbird to:

1) continue diverting spam to the Junk folder using adaptive filters as it is presently doing; 2) remove those spam messages from the POP3 server immediately on classification as Junk; and 3) retain the Junk messages within Thunderbird indefinitely as a safeguard should a valid email be misclassified as spam.

I'm aware that I can set Junk to delete immediately which would tidy up my phone inbox, but that would leave me without a local desktop copy of the Junk messages should I need to search them for an incorrectly classified email.

Is this possible?

I have a POP3 server with spam filtering disabled at the ISP's end, so Thunderbird handles all spam to my accounts via adaptive filtering to the Junk folder. I have mail retention set at 14 days to give adequate email history on my phone when away from home. Unfortunately that means while my desktop inbox looks great - as Thunderbird's adaptive filter is pretty good at diverting spam to the Junk folder - my phone inbox shows everything INCLUDING the spam emails. That's starting to get a bit painful. Moving to IMAP isn't an option, so I'm hoping there might be a way to set Thunderbird to: 1) continue diverting spam to the Junk folder using adaptive filters as it is presently doing; 2) remove those spam messages from the POP3 server immediately on classification as Junk; and 3) retain the Junk messages within Thunderbird indefinitely as a safeguard should a valid email be misclassified as spam. I'm aware that I can set Junk to delete immediately which would tidy up my phone inbox, but that would leave me without a local desktop copy of the Junk messages should I need to search them for an incorrectly classified email. Is this possible?

被采纳的解决方案

Have you tried the following: Via 'Menu Bar' toolbar: 'Tools' > 'Message Filters' OR Via 'Mail Toolbar' toolbar 'Menu icon' > 'Message Filters' > 'Message Filters'

  • click on 'New'
  • Give filter suitable name like 'POP Junk'
  • select 'Getting new mail'
  • Select 'Filter after Junk Classification'
  • select 'Match all following'
  • Select : 'Junk Status' and 'is' and 'Junk'

Perform these actions:

  • 'Delete from pop server'
  • click on 'OK'
  • Make sure filter is enabled
定位到答案原位置 👍 1

所有回复 (6)

more options

Moph said

Moving to IMAP isn't an option

Why not? POP on mobile phones just doesn't make sense.

I think your best bet would be to make use of your email provider's filtering. If you want Thunderbird to use its filtering capabilities you need to have it running 24/7. Even then there would be a race to decide whether a message got to your phone before Thunderbird did something about it.

more options

My mail folder is 20.6GB but I have a 1GB maibox limit. Hence IMAP isn't possible without moving service providers completely, which is a fair bit of hassle given they host my web services as well. Two weeks of mail history on my phone is more than I need for the work I do.

Historically I have used the service provider's spam filtering but have had issues with emails being misclassified as spam or simply not turning up at all. I had them turn off spam filtering a few weeks ago and everything that should be is coming through now which is great, but obviously a huge amount of spam is coming through also. Thunderbird is handling the spam great apart from the above issue.

Thunderbird runs 24/7 on my NAS and checks for email every minute, so the 'race' you speak of isn't really a problem. My phone only polls when I manually sync as I prefer not to be distracted by email alerts.

If it can't be done then I'll have to look at other solutions, but I thought it worth asking =)

由Moph于修改

more options

Moph said

Thunderbird runs 24/7 on my NAS and checks for email every minute, so the 'race' you speak of isn't really a problem. My phone only polls when I manually sync as I prefer not to be distracted by email alerts.

Checking mail every minute is more than likely to cause many more issues than it is ever likely to fix. Thunderbird has a default 10 times that for a reason. Connecting, checking , downloading etc usually take significantly longer than 1 minute.

Your NAS should be running a mail server software implementation (perhaps dovecote) and hosting your mail in an imap format locally. Your phone should also be connecting to the NAS through your local router. Either through static IP address to your location or through a dyndns type connection. The NAS in it's capacity as a mail server should be getting your mail from the current hosting service.

I see folk trying to do networking with cheap domestic hardware and consumer products all the time, rarely with any real long term success.

But now to ask the truly serious question. Do you really need 209GB of mail at your fingertips? Sure I probably have that much from my many accounts, but I am lazy in archiving and storage. I also use IMAP on my phone and POP on my local machine with Thunderbird.

more options

I have a 100 Mbit link so checking for mail never takes more than a couple of seconds, regardless of what's coming down. My total mailbox is also only 20.6GB not 209GB - but yes, I do need those archive folders handy as it's quite common that I have reason to search them.

Running a local mail server on my NAS isn't something I'd considered - thanks. I didn't realise that I could POP3 from my provider to a mail server on my NAS and sync my other devices to it using IMAP. Makes sense now that I think about it =)

From a quick search it looks like hMailServer would do the job? I'm running Win 10 Pro x64 on the NAS.

I see your point about consumer grade hardware but I'm running a single person consultancy from a home office with no plans for expansion. Running enterprise level equipment would be overkill for my needs.

more options

选择的解决方案

Have you tried the following: Via 'Menu Bar' toolbar: 'Tools' > 'Message Filters' OR Via 'Mail Toolbar' toolbar 'Menu icon' > 'Message Filters' > 'Message Filters'

  • click on 'New'
  • Give filter suitable name like 'POP Junk'
  • select 'Getting new mail'
  • Select 'Filter after Junk Classification'
  • select 'Match all following'
  • Select : 'Junk Status' and 'is' and 'Junk'

Perform these actions:

  • 'Delete from pop server'
  • click on 'OK'
  • Make sure filter is enabled
more options

That ... looks perfect! Thanks =)

Have implemented it and will see how it goes over the next few days. It looks like it should absolutely sort out my issue though.

Cheers

Edit: Works brilliantly. Thanks again!

由Moph于修改