kleines Problem mit Postfixx

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
grabber66
Posts: 36
Joined: 2004-04-17 11:53

kleines Problem mit Postfixx

Post by grabber66 » 2004-04-29 18:02

So ich habe ein kleines Problem mit Postfixx.
Zum System
Suse 8
Confixx 2.0 pro
Webmin

Wenn ich mit dem Webmailproggy von Confixx Mail senden will klappt das
wunderbar. Wenn ich per Shell mails schicke geht das auch. Nur wenn
per Outlook was versenden will, geht es nicht. Auch wenn ich per Outlook
an meine Adresse (von nem gmx Account) was senden will, geht es auch nicht. Ich bekomme dann Folgende Meldung zurück :

Code: Select all

    **********************************************
    **      THIS IS A WARNING MESSAGE ONLY      **
    **  YOU DO NOT NEED TO RESEND YOUR MESSAGE  **
    **********************************************

The original message was received at Thu, 29 Apr 2004 09:03:50 +0200
from dsl-213-023-174-137.arcor-ip.net [213.23.174.137]

   ----- The following addresses had transient non-fatal errors -----
<christoph.koepp@e-w-k.net>

   ----- Transcript of session follows -----
451 4.4.1 <christoph.koepp@e-w-k.net>... reply: read error from e-w-k.net.
<christoph.koepp@e-w-k.net>... Deferred: Connection reset by e-w-k.net.
Warning: message still undelivered after 4 hours
Will keep trying until message is 5 days old
Hier mal meine main.cf

Code: Select all

# SOFT BOUNCE
#soft_bounce = no

# LOCAL PATHNAME INFORMATION
queue_directory = /var/spool/postfix

command_directory = /usr/sbin

daemon_directory = /usr/lib/postfix

mail_owner = postfix

default_privs = autoresp

# INTERNET HOST AND DOMAIN NAMES

myhostname = a15151273.alturo-server.de

mydomain = e-w-k.net

# SENDING MAIL
#myorigin = $myhostname
#myorigin = $mydomain

# RECEIVING MAIL

inet_interfaces = all
#inet_interfaces = $myhostname
#inet_interfaces = $myhostname, localhost


#mydestination = $myhostname, localhost.$mydomain
#mydestination = $myhostname, localhost.$mydomain $mydomain
#mydestination = $myhostname, localhost.$mydomain, $mydomain,
#	mail.$mydomain, www.$mydomain, ftp.$mydomain
mydestination = $myhostname, localhost.$mydomain, $mydomain, smtp.$mydomain

# TRUST AND RELAY CONTROL

#mynetworks_style = class
#mynetworks_style = subnet
mynetworks_style = host

#mynetworks = 168.100.189.0/28, 127.0.0.0/8
#mynetworks = $config_directory/mynetworks
#mynetworks = hash:/etc/postfix/network_table


#relay_domains = $mydestination
relay_domains = $mydestination, hash:/usr/local/etc/postfix/relaydomains

# INTERNET OR INTRANET

#relayhost = $mydomain
#relayhost = gateway.my.domain
#relayhost = uucphost
#relayhost = [an.ip.add.ress]

# REJECTING UNKNOWN LOCAL USERS

local_recipient_maps = $alias_maps unix:passwd.byname

# INPUT RATE CONTROL

#in_flow_delay = 1s
in_flow_delay = 0

# ADDRESS REWRITING

# ADDRESS REDIRECTION (VIRTUAL DOMAIN)

# TRANSPORT MAP

# ALIAS DATABASE

#alias_maps = dbm:/etc/aliases
#alias_maps = hash:/etc/aliases
#alias_maps = hash:/etc/aliases, nis:mail.aliases
#alias_maps = netinfo:/aliases
alias_maps = hash:/etc/aliases

#alias_database = dbm:/etc/aliases
#alias_database = dbm:/etc/mail/aliases
#alias_database = hash:/etc/aliases
#alias_database = hash:/etc/aliases, hash:/opt/majordomo/aliases
alias_database = hash:/etc/aliases

# ADDRESS EXTENSIONS (e.g., user+foo)

#recipient_delimiter = +

# DELIVERY TO MAILBOX

#home_mailbox = Mailbox
#home_mailbox = Maildir/
 
#mail_spool_directory = /var/mail
#mail_spool_directory = /var/spool/mail
mail_spool_directory = /var/mail

#mailbox_command = /some/where/procmail
#mailbox_command = /some/where/procmail -a "$EXTENSION"

#mailbox_transport = lmtp:unix:/file/name
#mailbox_transport = cyrus

#fallback_transport = lmtp:unix:/file/name
#fallback_transport = cyrus
#fallback_transport =

#luser_relay = $user@other.host
#luser_relay = $local@other.host
#luser_relay = admin+$local
  
# JUNK MAIL CONTROLS

#header_checks = regexp:/etc/postfix/header_checks

# FAST ETRN SERVICE

#fast_flush_domains = $relay_domains
#fast_flush_domains =
fast_flush_domains = $relay_domains

# SHOW SOFTWARE VERSION OR NOT

#smtpd_banner = $myhostname ESMTP $mail_name
#smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
smtpd_banner = $myhostname ESMTP $mail_name

# PARALLEL DELIVERY TO THE SAME DESTINATION

#local_destination_concurrency_limit = 2
#default_destination_concurrency_limit = 10

# DEBUGGING CONTROL

debug_peer_level = 2

#debug_peer_list = 127.0.0.1
#debug_peer_list = some.domain


debugger_command =
	 PATH=/usr/bin:/usr/X11R6/bin
	 xxgdb $daemon_directory/$process_name $process_id & sleep 5

# INSTALL-TIME CONFIGURATION INFORMATION
 
sendmail_path = /usr/sbin/sendmail

newaliases_path = /usr/bin/newaliases

mailq_path = /usr/bin/mailq

setgid_group = maildrop

manpage_directory = /usr/share/man

# sample_directory: The location of the Postfix sample configuration files.
#
sample_directory = /usr/share/doc/packages/postfix/samples

# readme_directory: The location of the Postfix README files.
#
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 = alturo.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, reject_unauth_destination

#SMTPD Auth
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes

#TLS Support
smtpd_use_tls = yes
smtpd_enforce_tls = no
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
Ich bin leider noch nicht so fit mit dem Server.
Die Mailadressen hatte ich über Confixx angelegt.

Kann mir jemand sagen, was ich ändern muss, damit ich die Mailaddy's
auch extern nutzen kann. THX
Last edited by grabber66 on 2004-04-29 21:59, edited 1 time in total.

adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA

Re: kleines Problem mit Postfixx

Post by adjustman » 2004-04-29 21:17

wieder einer, der alle Kommentare mit pastet. :twisted:

EDIT:

Code: Select all

 smtpd_tls_auth_only = yes
ist schon mal Unsinn. Hast Du überhaupt SMTP-Auth und TLS laufen?

grabber66
Posts: 36
Joined: 2004-04-17 11:53

Re: kleines Problem mit Postfixx

Post by grabber66 » 2004-04-29 22:09

Ich habe dann mal einiges wieder rausgenommen. Sorry....
ist schon mal Unsinn. Hast Du überhaupt SMTP-Auth und TLS laufen?
Ich denke nicht.
Ich habe in dem Bereich Mails noch gar nichts eingestellt.
Wie kann ich denn nachsehen ob die laufen?

adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA

Re: kleines Problem mit Postfixx

Post by adjustman » 2004-04-29 22:15

auf der shell

telnet localhost 25
ehlo foo.bar

und dann steht da was. Das mal posten

grabber66
Posts: 36
Joined: 2004-04-17 11:53

Re: kleines Problem mit Postfixx

Post by grabber66 » 2004-04-29 22:28

also wenn ich
telnet localhost 25 [enter]
ehlo foo.bar [enter]
eingebe tut sich gar nichts....

Code: Select all

a15151273:/ # telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
ehlo foo.bar

Hier auch noch mal ein Abschnitt aus meiner mail log

Code: Select all

Apr	29	22:24:25	a15151273	postfix/master[475]: daemon started
Apr	29	22:26:28	a15151273	postfix/smtpd[638]: fatal: open database /usr/local/etc/postfix/relaydomains.db: No such file or directory
Apr	29	22:26:29	a15151273	postfix/master[475]: warning: process /usr/lib/postfix/smtpd pid 638 exit status 1
Apr	29	22:26:29	a15151273	postfix/master[475]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Apr	29	22:27:29	a15151273	postfix/smtpd[643]: fatal: open database /usr/local/etc/postfix/relaydomains.db: No such file or directory
Apr	29	22:27:30	a15151273	postfix/master[475]: warning: process /usr/lib/postfix/smtpd pid 643 exit status 1
Apr	29	22:27:30	a15151273	postfix/master[475]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Apr	29	22:28:30	a15151273	postfix/smtpd[651]: fatal: open database /usr/local/etc/postfix/relaydomains.db: No such file or directory
Apr	29	22:28:31	a15151273	postfix/master[475]: warning: process /usr/lib/postfix/smtpd pid 651 exit status 1
Apr	29	22:28:31	a15151273	postfix/master[475]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Apr	29	22:29:31	a15151273	postfix/smtpd[656]: fatal: open database /usr/local/etc/postfix/relaydomains.db: No such file or directory
Apr	29	22:29:32	a15151273	postfix/master[475]: warning: process /usr/lib/postfix/smtpd pid 656 exit status 1
Apr	29	22:29:32	a15151273	postfix/master[475]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Apr	29	22:30:32	a15151273	postfix/smtpd[699]: fatal: open database /usr/local/etc/postfix/relaydomains.db: No such file or directory
Apr	29	22:30:33	a15151273	postfix/master[475]: warning: process /usr/lib/postfix/smtpd pid 699 exit status 1
Apr	29	22:30:33	a15151273	postfix/master[475]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Apr	29	22:31:33	a15151273	postfix/smtpd[704]: fatal: open database /usr/local/etc/postfix/relaydomains.db: No such file or directory
Apr	29	22:31:34	a15151273	postfix/master[475]: warning: process /usr/lib/postfix/smtpd pid 704 exit status 1
Apr	29	22:31:34	a15151273	postfix/master[475]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Apr	29	22:32:34	a15151273	postfix/smtpd[882]: fatal: open database /usr/local/etc/postfix/relaydomains.db: No such file or directory
Apr	29	22:32:35	a15151273	postfix/master[475]: warning: process /usr/lib/postfix/smtpd pid 882 exit status 1
Apr	29	22:32:35	a15151273	postfix/master[475]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Apr	29	22:33:35	a15151273	postfix/smtpd[946]: fatal: open database /usr/local/etc/postfix/relaydomains.db: No such file or directory
Apr	29	22:33:36	a15151273	postfix/master[475]: warning: process /usr/lib/postfix/smtpd pid 946 exit status 1
Apr	29	22:33:36	a15151273	postfix/master[475]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Apr	29	22:34:36	a15151273	postfix/smtpd[954]: fatal: open database /usr/local/etc/postfix/relaydomains.db: No such file or directory
Apr	29	22:34:37	a15151273	postfix/master[475]: warning: process /usr/lib/postfix/smtpd pid 954 exit status 1
Apr	29	22:34:37	a15151273	postfix/master[475]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling

adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA

Re: kleines Problem mit Postfixx

Post by adjustman » 2004-04-29 22:40

Grabber66 wrote:

Code: Select all

a15151273:/ # telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Also, wenn hier danach nix von selbst kommt, is was faul. Da nützt auch keine Eingabe was. ;)
Es muss sowas kommen:

220 server.domain.de ESMTP Postfix

EDIT: Dein Postfix läuft gar nicht nicht. :)