Is there a way to only allow email from a whitelist?

SST Berlin mail at soost-berlin.de
Tue May 9 07:29:32 CEST 2006


Hi Alex,

Add the following Lines to the file
"/kolab/etc/kolab/templates/main.cf.template" :

[...]
smtpd_client_restrictions =
#
smtpd_helo_restrictions =
#
smtpd_sender_restrictions =
#
smtpd_recipient_restrictions =
    permit_mynetworks,
    permit_sasl_authenticated,
#
# SPAM checks START
    reject_rbl_client	ix.dnsbl.manitu.net,
    reject_rbl_client	cbl.abuseat.org,
    reject_rbl_client	sbl-xbl.spamhaus.org,
    reject_rbl_client	list.dsbl.org,
    reject_rbl_client	relays.ordb.org,
    reject_rbl_client	opm.blitzed.org,
    reject_rbl_client	bl.spamcop.net,
    check_sender_access
hash:/kolab/etc/postfix/rhsbl_sender_domain_exceptions,
    reject_rhsbl_sender	dsn.rfc-ignorant.org,
# SPAM checks END
#
[...]

After changes run "/kolab/sbin/kolabconf" .

This works fine on my server. My complete check looks like this:

[...]
#
smtpd_client_restrictions =
#
smtpd_helo_restrictions =
#
smtpd_sender_restrictions =
#
smtpd_recipient_restrictions =
    permit_mynetworks,
    permit_sasl_authenticated,
#
    reject_rbl_client	ix.dnsbl.manitu.net,
    reject_rbl_client	cbl.abuseat.org,
    reject_rbl_client	sbl-xbl.spamhaus.org,
    reject_rbl_client	list.dsbl.org,
    reject_rbl_client	relays.ordb.org,
    reject_rbl_client	opm.blitzed.org,
    reject_rbl_client	bl.spamcop.net,
    check_sender_access
hash:/kolab/etc/postfix/rhsbl_sender_domain_exceptions,
    reject_rhsbl_sender	dsn.rfc-ignorant.org,
#
    check_client_access hash:/kolab/etc/postfix/client_checks,
    check_helo_access hash:/kolab/etc/postfix/helo_checks,
    check_sender_access hash:/kolab/etc/postfix/sender_checks,
    check_recipient_access
regexp:/kolab/etc/postfix/recipient_checks.regexp,
    check_recipient_access hash:/kolab/etc/postfix/recipient_checks,
#
    reject_non_fqdn_sender,
    reject_non_fqdn_recipient,
    reject_unknown_sender_domain,
    reject_unknown_recipient_domain,
    reject_unauth_pipelining,
    reject_unauth_destination,
    reject_invalid_hostname,
    reject_non_fqdn_hostname,
#
    check_policy_service unix:private/kolabpolicy,
    permit
#
[...]

regards
Dieter

> -----Ursprüngliche Nachricht-----
> Von: kolab-users-bounces at kolab.org
> [mailto:kolab-users-bounces at kolab.org]Im Auftrag von Alex Chejlyk
> Gesendet: Dienstag, 9. Mai 2006 03:22
> An: kolab users
> Betreff: Is there a way to only allow email from a whitelist?
>
>
> I was wondering if there was a way to only allow email from certain
> addresses. We are being spammed to death, about 200 spams per mailbox
> per workday. A disgruntled ex-employee put us on several spam lists....






More information about the users mailing list