Am besten per cat main.cf | grep -v ^#nochmal bitte deine aktuelle config (ohne Kommentare)
Postfix-Probleme
-
captaincrunch
- Userprojekt

- Posts: 7066
- Joined: 2002-10-09 14:30
- Location: Dorsten
- Contact:
Re: Postfix-Probleme
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
Re: Postfix-Probleme
also hier is meine main.cf:
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mail_owner = postfix
default_privs = autoresp
myhostname = smtp.kindshuber.de
mydomain = kindshuber.de
inet_interfaces = all
mydestination = $myhostname localhost.$mydomain $mydomain
mynetworks_style = host
relay_domains = $mydestination
relayhost = $mydomain
local_recipient_maps = $alias_maps unix:passwd.byname
in_flow_delay = 0
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mail_spool_directory = /var/mail
ion parameters, the mailbox_command
fast_flush_domains = $relay_domains
smtpd_banner = $myhostname ESMTP $mail_name
debug_peer_level = 2
debugger_command =
PATH=/usr/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/sbin/sendmail
mailq_path = /usr/bin/mailq
setgid_group = maildrop
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/packages/postfix/samples
readme_directory = /usr/share/doc/packages/postfix/README_FILES
#suseconfig:
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual, hash:/etc/postfix/confixx_virtualUsers, hash:/etc/postfix/confixx_localDomains
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
inet_interfaces = all
masquerade_domains = kindshuber.de
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
strict_rfc821_envelopes = no
#smtpd_recipient_restrictions = permit_mynetworks,check_relay_domains
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks , reject_unauth_destination
#SMTPD Auth
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
#TLS Support
smtpd_use_tls = yes
#smtpd_tls_auth_only = yes
smtpd_tls_key_file = /etc/postfix/key.pem
smtpd_tls_cert_file = /etc/postfix/cert.pem
smtpd_tls_CAfile = /etc/postfix/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mail_owner = postfix
default_privs = autoresp
myhostname = smtp.kindshuber.de
mydomain = kindshuber.de
inet_interfaces = all
mydestination = $myhostname localhost.$mydomain $mydomain
mynetworks_style = host
relay_domains = $mydestination
relayhost = $mydomain
local_recipient_maps = $alias_maps unix:passwd.byname
in_flow_delay = 0
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mail_spool_directory = /var/mail
ion parameters, the mailbox_command
fast_flush_domains = $relay_domains
smtpd_banner = $myhostname ESMTP $mail_name
debug_peer_level = 2
debugger_command =
PATH=/usr/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/sbin/sendmail
mailq_path = /usr/bin/mailq
setgid_group = maildrop
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/packages/postfix/samples
readme_directory = /usr/share/doc/packages/postfix/README_FILES
#suseconfig:
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual, hash:/etc/postfix/confixx_virtualUsers, hash:/etc/postfix/confixx_localDomains
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
inet_interfaces = all
masquerade_domains = kindshuber.de
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
strict_rfc821_envelopes = no
#smtpd_recipient_restrictions = permit_mynetworks,check_relay_domains
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks , reject_unauth_destination
#SMTPD Auth
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
#TLS Support
smtpd_use_tls = yes
#smtpd_tls_auth_only = yes
smtpd_tls_key_file = /etc/postfix/key.pem
smtpd_tls_cert_file = /etc/postfix/cert.pem
smtpd_tls_CAfile = /etc/postfix/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
Re: Postfix-Probleme
das ist die main.cf die derzeit in betrieb ist!
und der befehl cat main.cf....
geht net
und der befehl cat main.cf....
geht net
Re: Postfix-Probleme
hmm, bei mir tut der 'cat' prima....
naja, und nun noch ein passender /var/log/mail Auszug
p.s.: hab schon ne Idee - will aber ^^noch abwarten
naja, und nun noch ein passender /var/log/mail Auszug
p.s.: hab schon ne Idee - will aber ^^noch abwarten
Re: Postfix-Probleme
Aug 11 10:25:57 p15135653 postfix/smtpd[29046]: connect from pD905455C.dip.t-dialin.net[217.5.69.92]
Aug 11 10:25:57 p15135653 postfix/smtpd[29046]: 424F834C0DD: client=pD905455C.dip.t-dialin.net[217.5.69.92]
Aug 11 10:25:57 p15135653 postfix/smtpd[29046]: reject: RCPT from pD905455C.dip.t-dialin.net[217.5.69.92]: 554 <jackclown@ghost-fun.de>: Relay access denied; from=<info@kindshuber.de> to=<jackclown@ghost-fun.de>
so das ist der fehler, denk ich!
Aug 11 10:25:57 p15135653 postfix/smtpd[29046]: 424F834C0DD: client=pD905455C.dip.t-dialin.net[217.5.69.92]
Aug 11 10:25:57 p15135653 postfix/smtpd[29046]: reject: RCPT from pD905455C.dip.t-dialin.net[217.5.69.92]: 554 <jackclown@ghost-fun.de>: Relay access denied; from=<info@kindshuber.de> to=<jackclown@ghost-fun.de>
so das ist der fehler, denk ich!
Re: Postfix-Probleme
hmm sehr gut...
also hier nen unterschied zu meiner config: bei
myhostname = smtp.kindshuber.de
hättest du analog zu meiner config
myhostname = p15135653.pureserver.info
stehen - aber das ist es glaub ned
mir fehlt die Zeile bei dir, wo du dich mit smtp-auth authentifizierst...
ich glaub ned, dass das im client richtig eingestellt ist
denn ohne Auth kommt natürlich relay denied
also hier nen unterschied zu meiner config: bei
myhostname = smtp.kindshuber.de
hättest du analog zu meiner config
myhostname = p15135653.pureserver.info
stehen - aber das ist es glaub ned
Code: Select all
Aug 11 11:16:39 p15114099 smtpd[15591]: warning: 80.3.4.5: hostname bapcx verification failed: Host not found
Aug 11 11:16:39 p15114099 smtpd[15591]: connect from unknown[80.3.4.5]
Aug 11 11:16:40 p15114099 smtpd[15591]: 1784A42003F: client=unknown[80.3.4.5], sasl_method=LOGIN, sasl_username=web2p2
Aug 11 11:16:40 p15114099 postfix/cleanup[15754]: 1784A42003F: message-id=<00a201c35fe9$4985ccb0$0294f781@bapcx>
Aug 11 11:16:40 p15114099 postfix/qmgr[15394]: 1784A42003F: from=<test@meinedomain.tld>, size=1373, nrcpt=1 (queue active)
Aug 11 11:16:40 p15114099 smtpd[15591]: disconnect from unknown[80.3.4.5]
Aug 11 11:16:40 p15114099 postfix/smtp[15760]: 1784A42003F: to=<michael@hierhin.de>, relay=mx01.schlund.de[212.227.126.164], delay=0, status=sent (250 OK id=19m8nA-00025i-00)
ich glaub ned, dass das im client richtig eingestellt ist
Code: Select all
Aug 11 11:16:40 p15114099 smtpd[15591]: 1784A42003F: client=unknown[80.3.4.5], sasl_method=LOGIN, sasl_username=web2p2
Re: Postfix-Probleme
also, outlook hab ich nochmal gecheckt,
aber jetzt hab ich schon 2 testmails rausgeschickt, die nicht ankamen, aber ich hab auch keine fehlermeldung erhalten!
8O
soll ich das mal ändern, mit dem myhostname?
vielleicht in kindshuber.de, ohne smtp
aber jetzt hab ich schon 2 testmails rausgeschickt, die nicht ankamen, aber ich hab auch keine fehlermeldung erhalten!
8O
soll ich das mal ändern, mit dem myhostname?
vielleicht in kindshuber.de, ohne smtp
Re: Postfix-Probleme
also wenn ich nun versuche, mit zu authentifizieren per telnet bekomm ich 'Authenication Failed' bei Outlook schickt ers einfach raus, aber es kommt nie an...
ich schick dir mal kurz meine config - vielleicht bekommst du es damit hin....
ich schick dir mal kurz meine config - vielleicht bekommst du es damit hin....
Re: Postfix-Probleme
ich hab ma den ganzen thread gelesen und ich hab das selbe prob NACH! dem upgrade Suse 8.1 -> 8.2 :P
Re: Postfix-Probleme
also bei ihm tuts nun....
sollen wir nun deins angehen ?
sollen wir nun deins angehen ?