![]() |
Postfix and antispamming - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Development Area (/forum-1.html) +--- Forum: Suggestions (/forum-2.html) +--- Thread: Postfix and antispamming (/thread-1626.html) |
Postfix and antispamming - Sweeny - 10-27-2007 05:49 AM Hi there, I have some improvments for the main.cf in ispcp to prevent faking of email adresses which do not belong to the customers: Code: smtpd_helo_required = yes I think this could be very useful also as rejecting helos which are not rfc conform. And I think adding policy-weightd to ispcp could be a very nice thing. It prevents spam _BEFORE_ queueing <=> spamassasin. Have a look at: http://www.policyd-weight.org/howto.html It is very easy to setup and it has a good performance and prevents much spam. Greetings Sweeny RE: Postfix and antispamming - rbtux - 10-27-2007 06:36 AM the server in default ispcp configuration should not been used to recieve mails... there should be added some restrictions. I post here a sample config how postfix can been secured: Quote:smtpd_recipient_restrictions = check_client_access hash:/etc/postfix/access_client.hash, /etc/postfix/access_client.hash: Black/whitelisting of client hosts/ips /etc/postfix/access_helo.hash: Black/whitelisting of client helos /etc/postfix/access_sender.hash: Black/whitelisting of sender mail address /etc/postfix/access_recipient.hash: Black/whitelisting of recipient mail address /etc/postfix/access_sender_mx_bogus.cidr Black/whitelisting of bogus mx servers /etc/postfix/rfc_addresses.hash Whitelisting of abuse and postmaster addresses RE: Postfix and antispamming - BeNe - 10-28-2007 03:28 AM This looks good! ![]() Maybe we can bring this to the end with some examples and put it in the Wiki and later in ispCP 1.x.x Greez BeNe RE: Postfix and antispamming - raphael - 10-28-2007 09:57 AM We should better include those changes by default; please open a ticket and assign it to me RE: Postfix and antispamming - BeNe - 10-28-2007 07:21 PM Yeah would make more sense ![]() Ticket is open --> http://www.isp-control.net/ispcp/ticket/825 Greez BeNe RE: Postfix and antispamming - BeNe - 11-01-2007 07:52 AM I implemented policyd-weight now in my postfix config and i get no more spam in my inbox ![]() Ok 2-5 Mails a day but this is not the big thing...works damn good. Greez BeNe RE: Postfix and antispamming - Sweeny - 11-01-2007 07:56 AM Yes I have the same experience with policy-weight ![]() Greetings Sweeny RE: Postfix and antispamming - platzwart - 11-01-2007 09:24 AM Sw1fty Wrote:[...] That's the reason why it should be in ISPCP by default or as an option at install like awstats. absolutely!!! RE: Postfix and antispamming - raphael - 11-02-2007 05:51 AM how exactly does policyd-weight work? RE: Postfix and antispamming - BeNe - 11-02-2007 06:01 AM Source --> http://www.policyd-weight.org/ Quote:policyd-weight is a Perl policy daemon for the Postfix MTA (2.1 and later) intended to eliminate forged envelope senders and HELOs (i.e. in bogus mails). It allows you to score DNSBLs (RBL/RHSBL), HELO, MAIL FROM and client IP addresses before any queuing is done. It allows you to REJECT messages which have a score higher than allowed, providing improved blocking of spam and virus mails. policyd-weight caches the most frequent client/sender combinations (SPAM as well as HAM) to reduce the number of DNS queries. Greez BeNe |