linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jens Knoell" <jens@ing.twinwave.net>
To: Linux Admin ML <linux-admin@vger.kernel.org>
Subject: Re: Proper procedure for bounced mails?
Date: Mon, 22 Jul 2002 13:24:58 -0600	[thread overview]
Message-ID: <02f801c231b5$8ab03300$0264a8c0@wombie> (raw)
In-Reply-To: 20020722122857.GH29481@piku.org.uk

From: "James" <james@piku.org.uk>
> On Mon, Jul 22, 2002 at 02:29:59AM -0600, Jens Knoell wrote:
> | It's probably somewhat OT - is there an established procedure for
bouncing
> | mails? Special headers and the like? A net search wasn't exactly
helpful...
> | does anyone know a good resource to read up on that?
>
> How and why do you want to bounce email?

How: from a custom, not-yet-totally-finished script that is supposed to
filter all incoming mail based on certain per-user conditions in an SQL
database.

The idea is to bounce mails only once per sender per day. So far, I've been
using "custom" reply mails, as well as informing the recipient by sending
them some tiny email. So far so good - but I'd like to re-format the reply
mails to be a little more compliant to standards (if there are any for such
things).

> Sendmail and friends automatically bounce mail if the recipient address
> is unknown. I don't recommend bouncing spam as the sender address is
> likely to be fake and you could accidentally mailbomb someone innocent.

Correct. That's why I'd like to make sure the bounces are somewhat
conforming to standard formats. On the other hand, bouncing spam does get
people off spamlists - yet I can't just pretend that the user doesn't exist,
as that will confuse the rare legit sender whose mail gets rejected for one
reason or another.
Unconditionally dropping them doesn't get people off spamlists either
(tested that in lengthy experiments). To prevent mailbombing, I'd rather
like to use a "warn once per day" filter on my side.

> And it's probably not OT if you're using Linux mail servers ;-)

*G* I am using sendmail, and started off with the old AMaViS mailfilter...
by now it's not AMaViS anymore, but yes, it's Linux+sendmail+mySQL+... all
the way :)

Before anyone asks: The script isn't ready for prime time yet (too
site-specific, lots of things hardcoded, still a few critical bugs), but I
am considering to wrap it up and release it someday, although probably not
in the near future - it is too embarrassing at the moment ;)

Jens


  reply	other threads:[~2002-07-22 19:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-22  8:29 Proper procedure for bounced mails? Jens Knoell
2002-07-22 12:28 ` James
2002-07-22 19:24   ` Jens Knoell [this message]
2002-07-22 21:11     ` Glynn Clements
2002-07-22 22:45       ` Jens Knoell
2002-07-23  1:01         ` Glynn Clements

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='02f801c231b5$8ab03300$0264a8c0@wombie' \
    --to=jens@ing.twinwave.net \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).