Koozali.org: home of the SME Server

Delete bad mail from ISP server

Offline gbentley

  • *****
  • 482
  • +0/-0
  • Forum Lurker
    • Earth
Delete bad mail from ISP server
« on: November 06, 2008, 12:27:05 PM »
Hi All,

Is there any way to get my SME to actually delete mail on the domain ISP popbox that is deemed 'bad' ?

I see alot of 'Refused Delivery' in the logs and this is often followed by timeouts and no further mail comes in.

If I use popcorn and clear the crap, SME starts pulling mail again.

Any advice appreciated!

-----------

Nov  4 09:25:13 smsf fetchmail[5967]: mail from FETCHMAIL-DAEMON@smsf.seftonmeadow.co.uk bounced to qlj@bluewaterco.com
Nov  4 09:25:13 smsf fetchmail[5967]: SMTP listener refused delivery
Nov  4 09:35:10 smsf fetchmail[6140]: SMTP error: 552 Virus Found: Trojan.Agent-59556 
Nov  4 09:35:10 smsf fetchmail[6140]: mail from FETCHMAIL-DAEMON@smsf.seftonmeadow.co.uk bounced to tehaqa@worcestericecats.com
Nov  4 09:35:10 smsf fetchmail[6140]: SMTP listener refused delivery
Nov  4 09:40:10 smsf fetchmail[6188]: SMTP error: 552 Virus Found: Trojan.Agent-59556 
Nov  4 09:40:10 smsf fetchmail[6188]: mail from FETCHMAIL-DAEMON@smsf.seftonmeadow.co.uk bounced to xibsbss@bpitchcontrol.com
Nov  4 09:40:10 smsf fetchmail[6188]: SMTP listener refused delivery
Nov  4 09:40:13 smsf fetchmail[6188]: SMTP error: 552 Virus Found: Trojan.Agent-59556 
Nov  4 09:40:13 smsf fetchmail[6188]: mail from FETCHMAIL-DAEMON@smsf.seftonmeadow.co.uk bounced to xibsbss@bpitchcontrol.com
Nov  4 09:40:13 smsf fetchmail[6188]: SMTP listener refused delivery
Nov  4 12:10:20 smsf fetchmail[8156]: timeout after 300 seconds.
Nov  4 12:10:20 smsf fetchmail[8156]: socket error while fetching from 216.7.172.196
Nov  4 12:10:20 smsf fetchmail[8156]: Query status=2 (SOCKET)
Nov  4 12:20:17 smsf fetchmail[8300]: timeout after 300 seconds.
Nov  4 12:20:17 smsf fetchmail[8300]: socket error while fetching from 216.7.172.196
Nov  4 12:20:17 smsf fetchmail[8300]: Query status=2 (SOCKET)
Nov  4 12:30:15 smsf fetchmail[8422]: timeout after 300 seconds.
Nov  4 12:30:15 smsf fetchmail[8422]: socket error while fetching from 216.7.172.196
Nov  4 12:30:15 smsf fetchmail[8422]: Query status=2 (SOCKET)
Nov  4 12:40:13 smsf fetchmail[8560]: timeout after 300 seconds.
Nov  4 12:40:13 smsf fetchmail[8560]: socket error while fetching from 216.7.172.196
Nov  4 12:40:13 smsf fetchmail[8560]: Query status=2 (SOCKET)
Nov  4 12:50:16 smsf fetchmail[8693]: timeout after 300 seconds.
Nov  4 12:50:16 smsf fetchmail[8693]: socket error while fetching from 216.7.172.196
Nov  4 12:50:16 smsf fetchmail[8693]: Query status=2 (SOCKET)
Nov  4 13:00:15 smsf fetchmail[8823]: timeout after 300 seconds.
Nov  4 13:00:15 smsf fetchmail[8823]: socket error while fetching from 216.7.172.196

And so until I clean up ...


« Last Edit: November 06, 2008, 12:29:16 PM by gbentley »
"If you don't know what you want, you end up with a lot you don't."

Offline gzartman

  • *
  • 306
  • +0/-0
    • LEI Engineering & Surveying
Re: Delete bad mail from ISP server
« Reply #1 on: November 08, 2008, 04:56:29 AM »
Hi All,

Is there any way to get my SME to actually delete mail on the domain ISP popbox that is deemed 'bad' ?

This is an interesting one.  SME is rejecting those email messages from your isp that contain dangerous content, which it should be doing.   You have 2 options:

1. Disable all of the content filtering on SME, accept everything from your ISP, then deal with what you get in SME.  This is how we used to do things in SME 6 and less, so there are very workable solutions.

2. Do some research on fetchmail and see what other people are doing with email containing harmful content.  I've never used fetchmail, so am not sure if it contains the logic to do more than just retrieve mail from an existing mailbox.

My guess is you are going to need to do a bit of legwork and research on your own to get a solution.  Do some reading and post back what you find.  I think this will help get more feedback and your problem solved.

Greg
----
Greg J. Zartman
LEI Engineering & Surveying

SME user and community member since 2000.