Deutsch| English
  #1  
Alt 08.06.2011, 06:25
Benutzer
 
Registriert seit: 22.03.2010
Beiträge: 52
Standard Postfix/SMTPD nicht ansprechbar

Hi!

Ich habe ein KonfigProblem des Postfix unter Opensuse 11.2
Pop/Mail abholen geht super.
Mail senden nicht.
In Outlook funktioniert zwar das Verbinden mit dem Postausgangsserver, aber beim Senden kommt ein Fehler:
"Outlook could not connect to the outgoing mail server (SMTP). The problem could be your SSL or port settings for the outgoing server. Verfify your port and SSL setting sunder the More settings tab."

SSL ist deaktiviert.
Port in Outlook hab ich auf 10025 gestellt, mit 25 gibt es zwei Fehlermeldungen (Testmail UND Verbindung (Verbindung geht mit Port 10025))

Was mit aufgefallen ist, ist dass netstat -tap mir nur "smtp" anzeigt, nicht "smtpd", wobei glaub ich in den Configs immer nur smtpd konfiguriert wird.

Im Log wird aber alle 5 Minuten mit dem smtpd verbunden:
Jun 8 06:20:01 sh3 postfix/smtpd[6843]: connect from localhost[::1]
Jun 8 06:20:01 sh3 postfix/smtpd[6843]: lost connection after CONNECT from localhost[::1]
Jun 8 06:20:01 sh3 postfix/smtpd[6843]: disconnect from localhost[::1]


------------------------------------------------------
******************************************
------------------------------------------------------
master.cf:
# Postfix master process configuration file. For details on the format
# of the file, see the Postfix master(5) manual page.
#
# ================================================== ========================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ================================================== ========================
smtp inet n - n - - smtpd
#amavis unix - - n - 4 smtp
# -o smtp_data_done_timeout=1200
# -o smtp_send_xforward_command=yes
# -o disable_dns_lookups=yes
# -o max_use=20
#submission inet n - n - - smtpd
# -o smtpd_etrn_restrictions=reject
# -o smtpd_client_restrictions=permit_sasl_authenticate d,reject
#smtps inet n - n - - smtpd -o smtpd_tls_wrappermode=yes
# -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#submission inet n - n - - smtpd
# -o smtpd_etrn_restrictions=reject
# -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
#628 inet n - n - - qmqpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 oqmgr
tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - n - - smtp
-o fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
#localhost:10025 inet n - n - - smtpd
# -o content_filter=
# -o smtpd_delay_reject=no
# -o smtpd_client_restrictions=permit_mynetworks,reject
# -o smtpd_helo_restrictions=
# -o smtpd_sender_restrictions=
# -o smtpd_recipient_restrictions=permit_mynetworks,rej ect
# -o smtpd_data_restrictions=reject_unauth_pipelining
# -o smtpd_end_of_data_restrictions=
# -o smtpd_restriction_classes=
# -o mynetworks=127.0.0.0/8
# -o smtpd_error_sleep_time=0
# -o smtpd_soft_error_limit=1001
# -o smtpd_hard_error_limit=1000
# -o smtpd_client_connection_count_limit=0
# -o smtpd_client_connection_rate_limit=0
# -o receive_override_options=no_header_body_checks,no_ unknown_recipient_checks,no_address_mappings
# -o local_header_rewrite_clients=
# -o local_recipient_maps=
# -o relay_recipient_maps=
scache unix - - n - 1 scache

maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient} ${extension} ${recipient} ${user} ${nexthop} ${sender}
cyrus unix - n n - - pipe
user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
# do not filter locally delivered mail when USE_AMAVIS=yes
# (don't set content_filter=vscan in main.cf)
#vscan unix - n n - 10 pipe
# user=vscan argv=/usr/sbin/amavis ${sender} ${recipient}
procmail unix - n n - - pipe
flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient}
retry unix - - n - - error
proxywrite unix - - n - 1 proxymap

amavis unix - - - - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
127.0.0.1:10025 inet n - - - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,rej ect
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o receive_override_options=no_unknown_recipient_chec ks,no_header_body_checks
-o smtpd_bind_address=127.0.0.1
------------------------------------------------------
******************************************
------------------------------------------------------


Irgendwelche Ideen, wo ich noch gucken kann?

Danke!
Mit Zitat antworten
  #2  
Alt 08.06.2011, 09:06
Administrator
 
Registriert seit: 08.08.2007
Beiträge: 8.823
Standard

Der outgoing port für smtp ist 25 und nicht 10025. Ändere bitte mal in outlook den Port auf 25 und stell sicher dass smtp authentifizierung beim senden in outlook für das Konto aktiviert ist.

Zitat:
Im Log wird aber alle 5 Minuten mit dem smtpd verbunden:
Jun 8 06:20:01 sh3 postfix/smtpd[6843]: connect from localhost[::1]
Jun 8 06:20:01 sh3 postfix/smtpd[6843]: lost connection after CONNECT from localhost[::1]
Jun 8 06:20:01 sh3 postfix/smtpd[6843]: disconnect from localhost[::1]
Das ist ok, es ist der system monitor der checkt ob postfix läuft.
Mit Zitat antworten
  #3  
Alt 08.06.2011, 09:41
Benutzer
 
Registriert seit: 22.03.2010
Beiträge: 52
Standard

Hi Till,

thanks a lot for the answer.
If I change to port 25, then I get two errors. Not only does the test send message fail (which it also did on port 10025), but also I get an error for the "Find outgoing server" (which was successfull with port 10025).

The new err message is similar:
"Outlook could not connect to the outgoing mail server (SMTP). The problem could be the server name or port, or your server may not support SSL. Verify your port and SSL settings in "More Settings"...."
Mit Zitat antworten
  #4  
Alt 08.06.2011, 09:43
Benutzer
 
Registriert seit: 22.03.2010
Beiträge: 52
Standard

Arrg.. sorry, noch im english-Modus....

Hi Till,
Vielen Dank für die Antwort.
Wenn ich auf Port 25 umschalte, dann bekomme ich 2 Fehler. Neben dem "Send Test Message" bekomme ich nun auch noch einen "Find outgoing server" Error (dieser kommt nicht bei Einstellung auf Port 10025).

Die neue Fehlermeldung ist ähnlich:
"Outlook could not connect to the outgoing mail server (SMTP). The problem could be the server name or port, or your server may not support SSL. Verify your port and SSL settings in "More Settings"...."
Mit Zitat antworten
  #5  
Alt 08.06.2011, 17:55
Administrator
 
Registriert seit: 08.08.2007
Beiträge: 8.823
Standard

poste mal die Ausgabe von:

netstat -tap

und

iptables -L

und die Fehlermedlungen aus dem mail.log des Servers.
Mit Zitat antworten
  #6  
Alt 09.06.2011, 04:11
Benutzer
 
Registriert seit: 22.03.2010
Beiträge: 52
Standard

Vielen Dank Till!

netstat:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost:imap *:* LISTEN 1743/couriertcpd
tcp 0 0 *:sunrpc *:* LISTEN 1659/rpcbind
tcp 0 0 *:ftp *:* LISTEN 2368/pure-ftpd (SER
tcp 0 0 *:ssh *:* LISTEN 2462/sshd
tcp 0 0 *:smtp *:* LISTEN 6288/master
tcp 0 0 localhost:npmp-local *:* LISTEN 1706/famd
tcp 0 0 localhost:10024 *:* LISTEN 2226/amavisd (maste
tcp 0 0 localhost:10025 *:* LISTEN 6288/master
tcp 0 0 *:mysql *:* LISTEN 2210/mysqld
tcp 0 0 localhost:dyna-access *:* LISTEN 1790/clamd
tcp 0 0 localhost:39212 localhost:mysql ESTABLISHED 2257/amavisd (ch6-a
tcp 0 0 localhost:32831 localhost:mysql ESTABLISHED 2256/amavisd (ch7-a
tcp 0 248 h1832697.stratoserv:ssh xxx.xxx.xxx.xxx:14293 ESTABLISHED 27241/0
tcp 0 0 localhost:mysql localhost:32831 ESTABLISHED 2210/mysqld
tcp 0 0 localhost:mysql localhost:39212 ESTABLISHED 2210/mysqld
tcp 0 0 *:sunrpc *:* LISTEN 1659/rpcbind
tcp 0 0 *:http-alt *:* LISTEN 2260/httpd2-prefork
tcp 0 0 *:www-http *:* LISTEN 2260/httpd2-prefork
tcp 0 0 *:sunproxyadmin *:* LISTEN 2260/httpd2-prefork
tcp 0 0 *:ftp *:* LISTEN 2368/pure-ftpd (SER
tcp 0 0 *:ssh *:* LISTEN 2462/sshd
tcp 0 0 *:smtp *:* LISTEN 6288/master
tcp 0 0 *:imaps *:* LISTEN 1739/couriertcpd
tcp 0 0 *op3s *:* LISTEN 1786/couriertcpd
tcp 0 0 *op3 *:* LISTEN 1779/couriertcpd
tcp 0 0 h1832697.strat:www-http b3091212.cra:filenet-re TIME_WAIT -
tcp 0 0 h1832697.strat:www-http b3091212.crawl.ya:32940 TIME_WAIT -

------------------------------
iptables:

Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

-----------------------------
/var/log/mail.err:
Jun 9 02:28:52 sh3 amavis[2256]: (02256-07) (!!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/run$
Jun 9 02:28:52 sh3 amavis[2256]: (02256-07) (!!)WARN: all primary virus scanners failed, considering backups

sonst nichts seit Tagen.
--------------------------


Bis dann!
Mit Zitat antworten
  #7  
Alt 09.06.2011, 14:59
Administrator
 
Registriert seit: 08.08.2007
Beiträge: 8.823
Standard

Postfix läuft auf Port 25:

tcp 0 0 *:smtp *:* LISTEN 6288/master

und laut iptables ist port 25 auch nicht blockiert. An sich sollte daher Outlook funktionieren. Versuch bitte mal einen anderen mail client, der aussagekräftigere Fehlermeldungen macht wie z.B. Thunderbird portable. Den kannst Du nutzen ohne ihn installieren zu müssen.
Mit Zitat antworten
  #8  
Alt 09.06.2011, 17:08
Benutzer
 
Registriert seit: 22.03.2010
Beiträge: 52
Standard

Hi TIm,

ok, hab thunderbird Portable installiert.
Der schnappt sich auch eine richtig aufgelöste URL als SMTP Server. Beim Senden kommt aber:
"
Senden der Nachricht fehlgeschlagen.
Die Nachricht konnte nicht gesendet werden, weil der Verbindungsaufbau mit dem SMTP-Server "[url]" fehlgeschlagen ist. Der Server ist entweder nicht verfügbar oder lehnt SMTP-Verbindungen ab. Bitte kontrollieren Sie die SMTP-Server-Einstellungen und versuchen Sie es nochmals oder kontaktieren Sie Ihren Netzwerkadministrator."

??

Gibts da irgendwas aussagekräftigeres?
Mit Zitat antworten
  #9  
Alt 09.06.2011, 18:08
Administrator
 
Registriert seit: 08.08.2007
Beiträge: 8.823
Standard

Steht der Server in einem Rechenzentrum, oder ist er auf einer DSL leitung gehostet?
Mit Zitat antworten
  #10  
Alt 09.06.2011, 19:36
Benutzer
 
Registriert seit: 22.03.2010
Beiträge: 52
Standard

Hi Till,

ist ein virtueller Server in Rechenzentrum (Strato Multiserver). Ich habe allerdings auf anderen virtuellen Servern dieser Art diese Probleme nicht.

Hmm... vielleicht einfach nochmal aufsetzen...?
Mit Zitat antworten
Antwort


Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an



Alle Zeitangaben in WEZ +2. Es ist jetzt 06:08 Uhr.


Powered by vBulletin® Version 3.8.1 (Deutsch)
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0