Menu

#48 block spam from my network to outside

open
nobody
None
5
2015-05-26
2015-05-26
No

Hi,
my mail server based on CentOS 6 and uses postfix-2.6.6-6, amavisd-new 2.8.0 and spamassassin-3.3.1.
The system works fine and filter correctly spam mails.
If it detects some spam mails, those mails are put in a special folder "spam" by maildrop packet.

Now i need modify the behavior of mail server to block spam from my network to outside.

E.g.: If one of my users send a spam mail to outside (internet), I want to block it.

This block should be work only for my network, not for inbound spam.

E.g.: If one user from gmail send spam mail to a user of my mail server, I want the system continue to work like now and put this email in a special folder "spam".

I tried several configurations but no one works

E.g.:

$inet_socket_port = [10024,10026]; # listen on multiple TCP ports

$policy_bank{'MYNETS'} = { # mail originating from @mynetworks
originating => 1, # is true in MYNETS by default, but let's make it explicit
sa_kill_level_deflt => [2],
};

Does anyone could give me some suggestion or some configuration example?

Thanks

Discussion


Log in to post a comment.