ich habe ein Problem mit meinem Mailserver. Froxlor l?uft problemlos und ich habe ?ber das Konfigurationsmen? Postfix/Courier durchkonfiguriert und installiert. Dass es Probleme gibt habe ich gemerkt, nachdem ich ein einfaches HTML Formular mittels der mail() Funktion abschicken wollte.
/var/mail/www-data log
--AB464895C3E1.1332422106/mail.altair.servername.de
Content-Description: Delivery report
Content-Type: message/delivery-status
Reporting-MTA: dns; mail.altair.servername.de
X-Postfix-Queue-ID: AB464895C3E1
X-Postfix-Sender: rfc822; www-data@mail.altair.servername.de
Arrival-Date: Thu, 22 Mar 2012 14:15:06 +0100 (CET)
Final-Recipient: rfc822; info@servername.de
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "info@servername.de"
--AB464895C3E1.1332422106/mail.altair.servername.de
Content-Description: Undelivered Message
Content-Type: message/rfc822
Content-Transfer-Encoding: 8bit
Return-Path: <www-data@mail.altair.servername.de>
Received: by mail.altair.servername.de (Postfix, from userid 33)
id AB464895C3E1; Thu, 22 Mar 2012 14:15:06 +0100 (CET)
To: info@servername.de
Subject: Proweld.de Kontaktanfrage
X-PHP-Originating-Script: 10001:index.php
From: Max Mustermann <max@mustermann.de>
MIME-Version: 1.0
Content-Type: text/plain; format=fixed; charset="utf-8"
Content-Transfer-Encoding: 8bit
Message-Id: <20120322131506.AB464895C3E1@mail.altair.servername.de>
Date: Thu, 22 Mar 2012 14:15:06 +0100 (CET)
Sie haben eine Kontaktanfrage erhalten:
Name: Max Mustermann
Telefon: 0168809494949
E-Mail: max@mustermann.de
Betreff: Testweise 14:13 EUR
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
--AB464895C3E1.1332422106/mail.altair.servername.de--
php.ini Auszug
[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = localhost
; http://php.net/smtp-port
smtp_port = 25
; For Win32 only.
; http://php.net/sendmail-from
;sendmail_from = me@example.com
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-path
;sendmail_path =
sendmail_path = /usr/sbin/sendmail -t -i
; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =
; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
mail.add_x_header = On
; Log all mail() calls including the full path of the script, line #, to address and headers
;mail.log =
postfix main.cf
## General Postfix configuration
# should be the default domain from your provider eg. "server100.provider.tld"
mydomain = altair.servername.de
# should be different from $mydomain eg. "mail.$mydomain"
myhostname = mail.altair.servername.de
mydestination = $myhostname,
$mydomain,
localhost.$myhostname,
localhost.$mydomain,
localhost
mynetworks = 127.0.0.0/8
inet_interfaces = all
append_dot_mydomain = no
biff = no
# Postfix performance settings
default_destination_concurrency_limit = 20
local_destination_concurrency_limit = 2
# SMTPD Settings
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
reject_unauth_pipelining,
reject_non_fqdn_recipient
smtpd_sender_restrictions = permit_mynetworks,
reject_sender_login_mismatch,
permit_sasl_authenticated,
reject_unknown_helo_hostname,
reject_unknown_recipient_domain,
reject_unknown_sender_domain
smtpd_client_restrictions = permit_mynetworks,
permit_sasl_authenticated,
reject_unknown_client_hostname
# Maximum size of Message in bytes (50MB)
message_size_limit = 52428800
## SASL Auth Settings
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes
# Virtual delivery settings
virtual_mailbox_base = /var/customers/mail/
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_mailbox_domains.cf
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_alias_maps.cf
smtpd_sender_login_maps = mysql:/etc/postfix/mysql-virtual_sender_permissions.cf
virtual_uid_maps = static:2000
virtual_gid_maps = static:2000
# Local delivery settings
local_transport = local
alias_maps = $alias_database
# Default Mailbox size, is set to 0 which means unlimited!
mailbox_size_limit = 0
virtual_mailbox_limit = 0
### TLS settings
###
## TLS for outgoing mails from the server to another server
#smtp_tls_security_level = may
#smtp_tls_note_starttls_offer = yes
## TLS for email client
#smtpd_tls_security_level = may
#smtpd_tls_cert_file = /etc/ssl/server/altair.servername.de.pem
#smtpd_tls_key_file = $smtpd_tls_cert_file
#smtpd_tls_CAfile = /etc/ssl/certs/ca-certificates.crt
#smtpd_tls_loglevel = 1
#smtpd_tls_received_header = yes
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
ddd $daemon_directory/$process_name $process_id & sleep 5
Hatte die Konfigurationen alle problemlos machen k?nnen. Hoffe ihr habt eine Idee woran es liegen kann?
Question
ddjjmm
Hallo zusammen,
ich habe ein Problem mit meinem Mailserver. Froxlor l?uft problemlos und ich habe ?ber das Konfigurationsmen? Postfix/Courier durchkonfiguriert und installiert. Dass es Probleme gibt habe ich gemerkt, nachdem ich ein einfaches HTML Formular mittels der mail() Funktion abschicken wollte.
/var/mail/www-data log
php.ini Auszug
postfix main.cf
Hatte die Konfigurationen alle problemlos machen k?nnen. Hoffe ihr habt eine Idee woran es liegen kann?
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.