Piet Slaghekke wrote:
> I like to filter my openBSD emails and the only way I can do it
> is if everyone send their email with misc@openBSD.org in the "
> To " field.
>
> Please send email To misc@openBSD.org and do not CC it to this
> address.
>
> Thanks!

I've been struggeling with this as well, and you really can't ask
all those people to comply with your wishes.

You should use a mailfilter, for example like this with maildrop:

R='/home/han/Mail'
# Drop all messages to misc@ in their own specific mailbox.
if (/^Sender:[EMAIL PROTECTED]/)
    to $R/openbsd-misc

# You don't want to miss you are CC-ed after all. You just don't
# want them in your maildir.
if ( /^(Cc|To).*(openbsd|misc|tech|bugs|gnats|source-changes)@/)
    {
        to $R/cc
    }

# This line is for all the mail that passed the filter
to $R/Maildir


# Han

Reply via email to