[Postfixbuch-users] Mails landen in falschem Account

Jochen Stärk jstaerk at usegroup.de
Sa Jul 5 22:50:29 CEST 2003


Hallo Peer,

>Bitte Logs und Configs liefern! 
>
>a) Bitte postconf -n liefern
>
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 = 2
default_privs = daemon
defer_transports =
disable_dns_lookups = no
mail_spool_directory = /var/mail
mailbox_command =
mailbox_transport =
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains = usegroup.de
masquerade_exceptions = root
mydestination = $myhostname, localhost.$mydomain, $mydomain
mydomain = usegroup.de
myhostname = mail.usegroup.de
myorigin = usegroup.de
newaliases_path = /usr/sbin/sendmail
readme_directory = /usr/share/doc/packages/postfix/README_FILES
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_tls_cert_file = /etc/postfix/cert.pem
smtp_use_tls = yes
smtpd_recipient_restrictions = 
permit_mynetworks,permit_sasl_authenticated,check_relay_domains,deny
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = linux
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_tls_cert_file = /etc/postfix/cert.pem
smtpd_tls_received_header = no
smtpd_use_tls = yes
strict_rfc821_envelopes = no
transport_maps = hash:/etc/postfix/transport
virtual_maps = hash:/etc/postfix/virtual


>b) Bitte Log-Auszüge einer solchen Mail liefern (vollständig!)
>
Jul  5 22:46:19 linux postfix/smtpd[13084]: connect from 
pD958D3DA.dip.t-dialin.net[217.88.211.218]
Jul  5 22:46:21 linux postfix/smtpd[13084]: TLS connection established 
from pD958D3DA.dip.t-dialin.net[217.88.211.218]: TLSv1 with cipher 
RC4-MD5 (128/128 bits)
Jul  5 22:46:21 linux postfix/smtpd[13084]: E530711023: 
client=pD958D3DA.dip.t-dialin.net[217.88.211.218], sasl_method=CRAM-MD5, 
sasl_username=jstaerk
Jul  5 22:46:22 linux postfix/cleanup[13087]: E530711023: 
message-id=<3F073805.5010206 at usegroup.de>
Jul  5 22:46:22 linux postfix/qmgr[19794]: E530711023: 
from=<jstaerk at usegroup.de>, size=683, nrcpt=1 (queue active)
Jul  5 22:46:22 linux postfix/local[13089]: warning: database 
/etc/aliases.db is older than source file /etc/aliases
Jul  5 22:46:22 linux postfix/local[13089]: E530711023: 
to=<jstaerk at usegroup.de>, relay=local, delay=1, status=sent (mailbox)
Jul  5 22:46:22 linux postfix/smtpd[13084]: disconnect from 
pD958D3DA.dip.t-dialin.net[217.88.211.218]

>c) Bitte HEADER einer solchen Mail liefern
>

Return-Path: <jstaerk at usegroup.de>
Delivered-To: jstaerk at usegroup.de
Received: from usegroup.de (pD9E498E6.dip.t-dialin.net [217.228.152.230])
	by mail.usegroup.de (Postfix) with ESMTP id 0268570D9
	for <info at jex-treme.de>; Sat,  5 Jul 2003 11:36:06 +0200 (CEST)
Message-ID: <3F069AF1.20304 at usegroup.de>
Date: Sat, 05 Jul 2003 11:31:29 +0200
From: =?ISO-8859-1?Q?Jochen_St=E4rk?= <jstaerk at usegroup.de>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030529
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: info at jex-treme.de
Subject: test23
X-Enigmail-Version: 0.75.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit


>Meine Idee: Du hast die Domain in mydestination eingetragen. Bitte suche 
>in der main.cf danach. Generell: Was sagt 
>
>"grep yex-treme.de main.cf" ?
>
gar nichts (grep jex-treme.de main.cf im /etc/postfix verzeichnis bleibt 
stumm), die domain ist nur in der virtual. Allerdings bin ich mir nicht 
ganz sicher ob ich usegroup.de nicht zu oft in der main.cf habe, da 
stehts unter
myhostname = mail.usegroup.de
masquerade_domains = usegroup.de
mydomain = usegroup.de
myorigin = usegroup.de


Vielen Dank schonmal. Das Buch finde ich trotzdem toll (wie man schritte 
überprüft die man durchgeführt hat ist i.d.r toll und ein telnet-dialog 
mit smtp so früh im buch -- bei IMAP hat mir das damals sehr geholfen, 
es war nur kaum irgendwo beschrieben).

ciao
Jochen




Mehr Informationen über die Mailingliste Postfixbuch-users