Malformed message headers block my message queue

by Volker Weber

Since Domino is unable to collect mail from POP3 mailboxes, I am retrieving my mail from a number of mailboxes and deliver them to the SMTP router with NT Pullmail. This has worked very well for years. In an effort to fight the ever increasing amount of spam I have included SpamPal into this loop, which does a good job of marking spam messages so they can be sorted out by Domino.

However, I am seeing an increasing number of malformed spam messages that look like this:

malformedmail.png

The FROM address is malformed. It should be "David Young" <HJYXke715DpAIKe@alpha4.ct.astro.it>. NT Pullmail has trouble understanding the header and aborts with this error:

501 Syntax error, parameters in command "MAIL FROM: <"David>" unrecognized or missing

The message is not retrieved and is stuck in the queue. Every subsequent fetch will hit the same roadblock.

Does anybody have a suggestion? Either a more robust POP retriever or a Spam Filter that will remove the spam on the server?

Comments

Don't know if it solves this particular problem, but have you looked into Key Solution's POP3Fido? It's a Domino server add-in that collects mail from POP3 mailboxes.

http://www.keysolutions.com/webhome/pop3fido.html

-rich

By having ecactly the same problem I currently think about continuing development on a JAVAMail enabled agent for Domino again...

This looks like a good candidate for a Java package: http://mailfetcher.sourceforge.net/>

Maybe this would be something for users who don't want a Java based solution: http://www.chimera.co.nz/efsmain.htm. Haven't tested it, though, for I'm quite happy with fetchd ;-)

I am testing IGetMail. It has a very interesting option that will discard a message after it failed to download it three times. That is exactly what I was missing with PullMail.

Nice! I am having the exact same problems with PullMail :(

Colin Williams, 2004-07-02 00:02

We had similar problems at a client's site, but with addresses that contained ä ü or ö in the Name. Pullmail failed to get any messages until the problem message has been deleted from the POP3 box with another client.

We didn't test another retriever but changed the MX for that domain. :-/

And when you mean Domino with "the server" asking for a Spam filter I'd recommend kSpam from OpenNTF. Together with some minor modifications to the mail template (like these) it's a great tool.

No, "the server" should read "the POP3 server".

The problem that NT Pullmail is running into would be trivial to fix. Unfortunately the company which developed the tool did not publish the source code when it abandoned the product.

So, while IGetMail looks as if it solves the problem, I will switch to open source when possible. There is actually a Windows port of Fetchmail but it requires Cygwin.

If you want to run a local mail server, it might make sense to route all incoming SMTP to an external mail relay on qmail, while pulling the stored mail queues with serialmail over ssh to your local mail server.
From there you can POP or IMAP them as you wish. This would also provide two points for hooking up a maildrop or procmail/formail filter which corrects malformed stuff and/or filters it out.
Sending outgoing SMTP mail can be implemented using the same route in reverse, or another, depending on your needs.

YMMV, depending on the number of mails you get via the number of accounts; you got to decide if it is worth the work and time.

Regards,
/k

I had the same problem with pullmail. I tried the EFS and ERC utils from Chimera Computing web site as posted above (http://www.chimera.co.nz/), works a treat - and it's free!

Tim Curtsey, 2005-04-07 03:39

Post a comment











Shall I remember this for you?




Use your full name and a working email address. Unless you want your comment to be removed. No kidding.



Recent comments

Ben Poole on Finally getting started on last.fm at 12:41
Volker Weber on Finally getting started on last.fm at 12:31
Ben Rose on Finally getting started on last.fm at 12:22
Yves Luther on Coming up next Thursday: sticky and sweet at 12:19
Hartmut Wiehr on Wo gibt es gescheite CD-Läden? at 11:13
Michael Becker on Wo gibt es gescheite CD-Läden? at 10:26
heiko hebig on Amazing photos - all taken with a mobile phone at 01:50
Chris Reckling on Finally getting started on last.fm at 00:53
Alexander Kluge on Finally getting started on last.fm at 22:31
Volker Weber on Finally getting started on last.fm at 22:22
Jamey Shiels on Synchronizing iPhone with ... Lotus Notes at 22:10
Dominik Schwind on Finally getting started on last.fm at 21:25
Kevin Pettitt on Showstopper for Lotus Connections at 20:45
Martin Hiegl on Showstopper for Lotus Connections at 19:27
goran angelov on iPhone: Can't hear through the receiver or speakers? at 18:53
Sean Cull on I have seen faster at 18:27
Matthias Leisi on Coming up next Thursday: sticky and sweet at 18:21
Ted Stanton on Showstopper for Lotus Connections at 18:17
Handly Cameron on Showstopper for Lotus Connections at 18:15
Volker Weber on Showstopper for Lotus Connections at 18:11
Alan Lepofsky on Showstopper for Lotus Connections at 18:09
Volker Weber on Showstopper for Lotus Connections at 18:04
Ben Rose on Showstopper for Lotus Connections at 18:04
Ted Stanton on Showstopper for Lotus Connections at 17:52
Ben Poole on Showstopper for Lotus Connections at 17:48

Ceci n'est pas un blog

vowe.net is a personal website published by Volker Weber a.k.a. vowe. I am an author, consultant and systems architect based in Darmstadt, Germany.

rss Click here to subscribe

Hello

About me
Contact
Publications
Certificates
Frequently asked questions

Twitter Updates

More >

Poll

Can you bring a camera phone to work?

Getting poll results. Please wait...

Local time is 16:43

visitors.gif
149 visitors online

News

Other sources of news, imported into my own format to make them more accessible:

Heise Online
Schlagzeilen
Weather

Archives

As most of my articles roll off the front page rather quickly, I am making an archive of previous posts available here. You can also use the handy search box at the top of the page if you are looking for something particular.

Last 30 days
More archives

Got the T-shirt?

Got the T-shirt?
Are you buying from the US?

Systems Architecture

This site runs on an Apache web server on top of the Linux operating system. The content is managed with MovableType which is implemented in Perl. Last but not least the HTML code your browser sees is put together with PHP.

© 1992-2008 Volker Weber.
All Rights Reserved.

Impressum