|
|
|
|
|
|
| Author |
Message |
Kyle Wheeler *nix forums Guru Wannabe
Joined: 07 Jan 2005
Posts: 208
|
Posted: Thu Jul 06, 2006 11:23 pm Post subject:
Re: intentionally bad delivery
|
|
|
On Thursday, July 6 at 10:28 AM, quoth Charles Cazabon:
| Quote: | Yup. Easy fix is to use new-inject (from the mess822 package)
instead of the sendmail wrapper (which is a wrapper around
qmail-inject). new-inject is much more tolerant of bad message
headers and won't cause these problems.
|
Ahh, excellent. Thanks!
~Kyle
--
Democracy must be something more than two wolves and a sheep voting on
what to have for dinner.
-- James Bovard |
|
| Back to top |
|
 |
Charles Cazabon *nix forums Guru
Joined: 08 Jan 2005
Posts: 805
|
Posted: Thu Jul 06, 2006 4:28 pm Post subject:
Re: intentionally bad delivery
|
|
|
Kyle Wheeler <kyle-qmail@memoryhole.net> wrote:
| Quote: | This may be the wrong place to ask this,
|
Nope, this is fine.
| Quote: | In fetchmail, I'm using the "mda" command to tell it to send it to qmail:
'/var/qmail/bin/sendmail me@here.com' The problem is, every now and then, I
get spam that has badly formed headers.
[...]
Qmail's sendmail can't parse the From header, and so rejects it,
|
Yup. Easy fix is to use new-inject (from the mess822 package) instead of the
sendmail wrapper (which is a wrapper around qmail-inject). new-inject is much
more tolerant of bad message headers and won't cause these problems.
Charles
--
--------------------------------------------------------------------------
Charles Cazabon <qmail@discworld.dyndns.org>
Read http://pyropus.ca/personal/writings/12-steps-to-qmail-list-bliss.html
My services include qmail consulting. See http://pyropus.ca/ for details.
-------------------------------------------------------------------------- |
|
| Back to top |
|
 |
Kyle Wheeler *nix forums Guru Wannabe
Joined: 07 Jan 2005
Posts: 208
|
Posted: Thu Jul 06, 2006 3:11 am Post subject:
intentionally bad delivery
|
|
|
This may be the wrong place to ask this, and if so, just ignore the
email.
I'm trying to do a "single-attempt, failure is always permanent" sort
of delivery. Specifically, I'm using fetchmail to pull down mail from
an old hotmail account. I almost never get non-spam mail there, but
that's why I keep it, as a spamtrap to hand out to random companies
that demand email addresses. In fetchmail, I'm using the "mda" command
to tell it to send it to qmail: '/var/qmail/bin/sendmail me@here.com'
The problem is, every now and then, I get spam that has badly formed
headers. For example, I got one like this:
From: Free Muffins! <foo@bar.com>
Qmail's sendmail can't parse the From header, and so rejects it, which
makes fetchmail retry later (and generate cron email), which wastes
bandwidth as the same mail is fetched every time fetchmail gets run.
Is there a way to make qmail more accepting, or (if not accepting) get
it to simply silently discard such malformed messages? I was thinking
of using some sort of shell-script wrapper around qmail-inject to do
it (e.g. force the return value to be good, and suppress the warning
messages), but I'm not sure what the best way about it is. Anyone have
any advice or suggestions? Or is this a very bad idea for some reason?
~Kyle
--
In the beginning the Universe was created. This has made a lot of
people very angry and been widely regarded as a bad move.
-- Douglas Adams |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Sat Nov 22, 2008 9:29 am | All times are GMT
|
|
Loans | Loan | PHP Photo Gallery | Equity Release | 0 Credit Cards
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|