Unterbinden Sie das ihre Kunden Spam versenden können - Confixx/Plesk

Aus first-vserver.de
Wechseln zu: Navigation, Suche

Sie nutzen Plesk und ärgern sich immer darüber das Kunden Spam versenden können? Sie landen immer auf Spam-Listen? Schauen Sie sich das unsere Einstellungen an um den grössten Teil der Probleme zu lösen

Öffne nun die /etc/postfix/main.cf und editieren sie entsprechend diese Zeilen ab:

smtpd_sender_restrictions =
       reject_unlisted_sender,
       check_sender_access hash:/var/spool/postfix/plesk/blacklists,
       check_client_access pcre:/var/spool/postfix/plesk/non_auth.re,
       permit_sasl_authenticated,

smtpd_client_restrictions =
       permit_mynetworks,
       permit_sasl_authenticated,
       reject_invalid_hostname,
       reject_rbl_client relays.ordb.org,
       reject_unknown_client,
       reject_rbl_client relays.bl.kundenserver.de,
       reject_rbl_client relays.visi.com,
       reject_rbl_client sbl-xbl.spamhaus.org,
       reject_rbl_client list.dsbl.org,
       reject_rbl_client multihop.dsbl.org,
       reject_rbl_client spamsources.fabel.dk,
       reject_rbl_client combined.njabl.org,
       

smtpd_recipient_restrictions =
       permit_mynetworks,
       check_client_access pcre:/var/spool/postfix/plesk/no_relay.re,
       permit_sasl_authenticated,
       reject_unauth_destination,
       reject_unknown_recipient_domain,
       reject_unknown_sender_domain,
       reject_unverified_recipient,
       reject_non_fqdn_recipient
       reject_non_fqdn_sender
       reject_invalid_hostname

unverified_recipient_reject_code = 550
unverified_sender_reject_code = 550
unknown_local_recipient_reject_code = 550
authorized_submit_users = !www-data, static:all


Auch für Confixx Server haben wir diese Regeln für sie erstellt:

smtpd_recipient_restrictions =
      permit_mynetworks,
      permit_sasl_authenticated,
      reject_unauth_destination,
      reject_unknown_recipient_domain,
      reject_unknown_sender_domain,
      reject_unverified_recipient,
      reject_non_fqdn_recipient,
      reject_non_fqdn_sender,
      reject_invalid_hostname,
      check_policy_service inet:127.0.0.1:12525,

smtpd_sender_restrictions =
       reject_unlisted_sender,
       reject_unknown_sender_domain,
       reject_non_fqdn_sender,
       reject_unauth_pipelining,
       permit_mynetworks,
       permit_sasl_authenticated,
       permit_tls_clientcerts,

smtpd_client_restrictions =
       permit_mynetworks,
       permit_sasl_authenticated,
       reject_invalid_hostname,
       reject_rbl_client relays.ordb.org,
       reject_unknown_client,
       reject_rbl_client relays.bl.kundenserver.de,
       reject_rbl_client relays.visi.com,
       reject_rbl_client sbl-xbl.spamhaus.org,
       reject_rbl_client list.dsbl.org,
       reject_rbl_client multihop.dsbl.org,
       reject_rbl_client spamsources.fabel.dk,
       reject_rbl_client combined.njabl.org,

unverified_recipient_reject_code = 550
unverified_sender_reject_code = 550
unknown_local_recipient_reject_code = 550
authorized_submit_users = !www-data, static:all