[opensuse] Avoiding spam to harvested addresses
Hi, Recently I started receiving spam to a mail-address I setup for a list. To get rid of the spam I removed that mail-address so that's solved. Crude, but it works. But then I read Sandy Drobic's post from 22/8 about those bounced mails from this list ("Why do I get this back all the time"). He mentions that he setup his system to reject mails not coming from the listserver. Where in the Postfix documentation should I look for information about setting this up ? Thanks. -- Met vriendelijke groeten, Koenraad Lelong -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Koenraad Lelong wrote:
Hi, Recently I started receiving spam to a mail-address I setup for a list. To get rid of the spam I removed that mail-address so that's solved. Crude, but it works. But then I read Sandy Drobic's post from 22/8 about those bounced mails from this list ("Why do I get this back all the time"). He mentions that he setup his system to reject mails not coming from the listserver. Where in the Postfix documentation should I look for information about setting this up ?
It is a simple application of a restriction class. The prerequisites of such filtering are, that you must have administrative access to your postfix server and that the postfix server itself is receiving the mails directly from the client (not polled by fetchmail or getmail or any other server in front of Postfix). /etc/postfix/main.cf: smtpd_restriction_classes = suse_only suse_only = check_client_access hash:/etc/postfix/check_recipient_class_suse_only, reject smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination check_recipient_access hash:/etc/postfix/check_restriction_class /etc/postfix/check_restriction_class: suse-linux-e@japantest.homelinux.com suse_only /etc/postfix/check_recipient_class_suse_only: lists4.suse.com OK 195.135.221.135 OK I have included the ip address of lists4.suse.com in case of a DNS error. Don't forget to postmap the hash files. This example only shows the necessary options for one restriction class, my real setup is a bit more complex. (^-^) -- Sandy List replies only please! Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Koenraad Lelong
-
Sandy Drobic