ubuntuusers.de

Postfixkonfiguration

Status: Ungelöst | Ubuntu-Version: Ubuntu 9.10 (Karmic Koala)
Antworten |

mwks2802

Anmeldungsdatum:
25. November 2010

Beiträge: Zähle...

Hallo,

ich versuche verzeifelt mein Postfix zu konfigurieren. Wenn E-Mails versendet werden, wird sowohl der Absender als auch der Sender angegeben.

FROM: info@meinedomain.de Sender: apache@hostname

Jetzt möchte ich aber, dass entweder kein Sender angegeben wird, oder dass der Sender durch eine X-beliebige E-Mail Adresse ersetzt wird.

Kann mir da jemand helfen?

Danke

Roger_Wilco

Anmeldungsdatum:
11. August 2010

Beiträge: 224

Wie ist dein MTA konfiguriert? Die Ausgabe von postconf -n ist hier hilfreich.

Wie verschickst du die E-Mails (geraten: durch ein PHP-Skript)? Hier ist ggf. ein Blick in deine php.ini auf die Einstellung sendmail_path hilfreich. Lies auch den Abschnitt in der PHP-Dokumentation dazu. Darin findest alles wichtige.

mwks2802

(Themenstarter)

Anmeldungsdatum:
25. November 2010

Beiträge: 2

folgende Konfiguration:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
header_checks = regexp:/etc/postfix/header_checks
html_directory = no
luser_relay = info@ez-deutschland.de
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydomain = meinedomain.de
myhostname = meinedomain.de
mynetworks = 127.0.0.0/8
myorigin = ez-deutschland.de
newaliases_path = /usr/bin/newaliases.postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_tls_note_starttls_offer = yes
smtp_use_tls = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain = 
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
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
virtual_alias_domains = meinedomain.de
Antworten |