Kann mir jemand fix sagen, wie ich in postfix das versenden / annehmen von emails von apache/php abschalten kann?
Ich habe zur Zeit das Problem, dass über meinen Server SPAM verschickt wird und ich nicht weiß wie... (authentizierung ist aber eingerichtet, sprich, es ist irgendwo ein loch in php-skripten)
als zwischenlösung wollte ich den versand in meinen skripten auf smtp-basis umstellen (also externe php-klasse mit authentifizierung). und alle mails die mit mail() verschickt werden, sollen gefiltert werden...
gibt es da eine lösung?
ich hab es mit dem rausnehmen von permit_mynetworks versucht, aber es hat leider nichts gebracht...
system: Suse, Postfix, Confixx...
Danke im Voraus!
Code: Select all
/var/log # postconf -n
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter =
daemon_directory = /usr/lib/postfix
debug_peer_level = 1
default_rbl_reply = $rbl_code You can not send us mail today! You're RBL listed ($rbl_class [$rbl_what] blocked using $rbl_domain).
defer_transports =
disable_dns_lookups = no
inet_interfaces = all
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_command =
mailbox_size_limit = 0
mailbox_transport =
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains =
masquerade_exceptions = root
message_size_limit = 32480000
mydestination = $myhostname, localhost.$mydomain
myhostname = [..]
mynetworks_style = host
newaliases_path = /usr/bin/newaliases
program_directory = /usr/lib/postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix/README_FILES
recipient_delimiter = +
relay_clientcerts = hash:/etc/postfix/relay_ccerts
relay_domains = $mydestination
relayhost =
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_sasl_auth_enable = yes
smtp_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtp_tls_cert_file = /etc/postfix/ssl/certs/postfixcert.pem
smtp_tls_key_file = /etc/postfix/ssl/certs/postfixkey.pem
smtp_use_tls = yes
smtpd_client_restrictions = permit_sasl_authenticated, reject
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_sasl_authenticated, #reject_unauth_destination, reject_unauth_pipelining, reject
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = permit_sasl_authenticated, reject #_sender_login_mismatch,
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_ask_ccert = yes
smtpd_tls_cert_file = /etc/postfix/ssl/certs/postfixcert.pem
smtpd_tls_key_file = /etc/postfix/ssl/certs/postfixkey.pem
smtpd_use_tls = no
strict_rfc821_envelopes = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 450
virtual_alias_maps = hash:/etc/postfix/virtual, hash:/etc/postfix/confixx_virtualUsers, hash:/etc/postfix/confixx_localDomains