how to apply spam filter to forwarded emails on postfix?

Discussion in 'Server Operation' started by sluggish_homer, Apr 14, 2008.

  1. sluggish_homer

    sluggish_homer New Member


    I have built postfix mail server on fedora. I have Spamassassin and Procmail works well to filter emails coming to my domains but the problem is all the emails which will be forwarded from my mail server to other accounts such as or will not be filtered but will be delivered directly without being filtered first. I tried using Usermin's module Filter and Mail Forwarding but it won't work or maybe i just configured it wrongly.

    Please help.

  2. falko

    falko Super Moderator ISPConfig Developer

  3. sluggish_homer

    sluggish_homer New Member

    Hi Falko,

    The mail server is already being used so i bit hesitate to install any other applications. is there a way to call procmail before forwarding?
    Sorry, i am new to linux.

    Thank very much.
  4. falko

    falko Super Moderator ISPConfig Developer

    Instead of configuring the forwards in Postfix, you could tell procmail to do the forward (of course, after the spam scanning).

    Take a look at
    man procmailex
    and , maybe there's an appropriate example.

Share This Page