On Mon, 2009-10-19 at 13:50 +0200, Martin Schiøtz wrote: > Hi > > I'm configuring a simple postfix smtp-server that is only used for > outgoing emails for lots of users. > I want to do some simple spam checking with postfix. I was thinking of: > > rbl > spf
RBL and SPF are techniques only used for incoming mail. > > Any other sugestions? > > I'm not sure were to configure rbl and spf for outgoing emails in main.cf? > > postconf -n > --------------------------------- > broken_sasl_auth_clients = yes > command_directory = /usr/sbin > config_directory = /etc/postfix > daemon_directory = /usr/libexec/postfix > debug_peer_level = 2 > html_directory = no > mail_owner = postfix > mailq_path = /usr/bin/mailq.postfix > manpage_directory = /usr/share/man > message_size_limit = 21000000 > message_strip_characters = \0 > mynetworks = 127.0.0.0/8, 10.... etc. > newaliases_path = /usr/bin/newaliases.postfix > queue_directory = /var/spool/postfix > readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES > sample_directory = /usr/share/doc/postfix-2.3.3/samples > sendmail_path = /usr/sbin/sendmail.postfix > setgid_group = postdrop > smtpd_banner = $myhostname ESMTP $mail_name > smtpd_recipient_restrictions = permit_mynetworks, > permit_sasl_authenticated, reject_unauth_destination > smtpd_sasl_auth_enable = yes > smtpd_sasl_authenticated_header = yes > smtpd_sasl_type = cyrus > smtpd_tls_CAfile = /etc/ssl/blackpete.cirque.dk.pem > smtpd_tls_cert_file = /etc/ssl/blackpete.cirque.dk.pem > smtpd_tls_key_file = /etc/ssl/blackpete.cirque.dk.pem > smtpd_tls_loglevel = 1 > smtpd_tls_received_header = yes > smtpd_tls_session_cache_timeout = 3600s > smtpd_use_tls = yes > tls_random_source = dev:/dev/urandom > unknown_local_recipient_reject_code = 550 > --------------------------------- > > Best regards, > Martin >