On Fri, Oct 15, 1999 at 04:05:36PM +0800, Marlon Anthony Abao wrote:
qmail-smtpd doesn't do header checks at all. Your best solution would be
to write procmail/maildrop filter files for these users, and either
bounce the message, or throw it away, after it is accepted into your
system.
If you're feeling brave, you might want to investigate Sam
Varshavchik's qmail-UCE patches, where he has added filtering
abilities to qmail-smtpd. However, this is not a trivial patch, so
use it at your own risk. Find the patch on www.qmail.org
> hello,
>
> i have been using qmail for sometime and basically just forgot about it
> since it already works. now some of our users are requesting if we can ban
> certain ppl from sending them email based on header information. i don't
> want to do this on the global level since this is already being provided
> for by
> 'badmailfrom' but configurable on the user level. each user has his own
> ban list.
>
> has anyone done this and want to share his code? or do i have to write
> something from scratch? would it be a good idea just to throw the mail to
> the bit bucket or have it returned to sender?
>
> any comment is welcome :)
>
> -marlon
--
See complete headers for more info