Block Certain Yahoo Mail List

Bahadir Kiziltan bahadir.kiziltan at gmail.com
Mon Aug 27 06:27:49 IST 2007


On 8/27/07, anas asree <eersana at yahoo.com> wrote:
> I'm using Postfix + Mailscanner
>
> Some of my users subscribe to certain yahoo mail list which is not related
> to their work..
>
> How can I reject/blacklist that particular mail list ?
>

take a look at the header of a mail coming from the mail list. you
should see a line with "List-ID" string. then add the similar entry
below to header_cheks file located at /etc/postfix directory by
modifying the mail list name accordingly.

/^List-Id: <hot_female_pics\.yahoogroups\.com>$/        REJECT

lastly, stop/start postfix daemon.


More information about the MailScanner mailing list