2009/7/9 Ignacio Garcia <i...@oenus.com>:
> can trigger undesired actions. People sometimes have poorly designed web
> pages with a not-too good php emailing code.

Practically guaranteed :)

> For instance. I'd like to find a way (maybe through some header checks
> in outgoing email) so if it detects a large amount of recipients it
> triggers actions such as:

This check won't be possible in Postfix, but I'm sure there's a milter
for the job.

> 3.- If a non-valid sender address is detected, block the sending (for
> instance,  someone may send bulk-email with a From: www...@ispdomain.com
> (the apache user)

On a tangent, this one is hard. Local submission ("the sendmail
binary") isn't allowed/expected to fail, which is how a lot of web
pages/apps will send their mail. Because you don't get the opportunity
to reject as part of an SMTP transaction, you need to jump through
some hoops to prevent an undesirable From address going out.

Reply via email to