• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

fetchmail : SMTP to localhost failed

Status
Für weitere Antworten geschlossen.
Hallo ich versuche schon seit zwei Tagen einen eMail Server zu installieren :-( ich bekomme immer diese Nachricht

woran kann das liegen?
 
Hallo Leute noch einmal langsam verläßt mich die Hoffnung das ich das ding zum laufen bekomme :-(

Also ich habe ein Konto bei 1und1 mein mail server soll das smtp.1und1.com benutzen also habe ich im bei relayhost =

Code:
smtp.1und1.com

angegeben

die

Code:
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps=hash:/etc/postfix/smtp_auth
smtp_sasl_security_option= noanonymous

im vi syntax on zeeigt mir auch keine syntax fehler.

in der smtp_auth

Code:
smtp.1und1.com               benutzer:Kennwort

so leider kann ich immer noch nicht mit einem

echo "test für meine smtp" | mail tux.meinedomain.de senden

WAS MACHE ICH DEN FALSCH??????????
 
du wirfst zwei sachen durcheinander - fetchmail und email ueber die konsole senden.

fetchmail kann keinen connect ueber 127.0.0.1 auf port 25 herstellen.
ein versenden ueber den mail-befehl scheitert auch. laeuft dein postfix
ueberhaupt?

mach mal ein telnet auf localhost port 25 oder netstet -lntp
 
Also das funktioniert habe

telnet localhost 25 und bin auf postfix

Ich kann auch mit mail eMails senden im system. leider kann ich mit postfix nicht senden und fetchmail holt mir auch keine Daten
 
mach mal "fetchmail -avv" - was kommt dann fuer eine meldung?

poste mal deine .fetchmailrc - ohne passes natuerlich.
 
Hallo das kommt bei Deinem Befehl
Code:
linux:~ # fetchmail -avv
fetchmail: 6.2.5 querying pop.1und1.com (protocol POP3) at Tue Jul  5 20:05:46 2005: poll started
fetchmail: POP3< +OK POP server ready H mimap22
fetchmail: POP3> CAPA
fetchmail: POP3< +OK Capability list follows
fetchmail: POP3< TOP
fetchmail: POP3< USER
fetchmail: POP3< UIDL
fetchmail: POP3< STLS
fetchmail: POP3< IMPLEMENTATION nemesis
fetchmail: POP3< .
fetchmail: POP3> STLS
fetchmail: POP3< +OK Begin TLS negotiation
fetchmail: pop.1und1.com key fingerprint: FD:F7:D1:89:F7:9D:E2:6B:06:97:44:FC:9C:53:E1:08
fetchmail: POP3> CAPA
fetchmail: POP3< +OK Capability list follows
fetchmail: POP3< TOP
fetchmail: POP3< USER
fetchmail: POP3< UIDL
fetchmail: POP3< IMPLEMENTATION nemesis
fetchmail: POP3< .
fetchmail: POP3> USER 000000-00
fetchmail: POP3< +OK password required for user "000000-00"
fetchmail: POP3> PASS *
fetchmail: POP3< +OK 000000-00's mailbox has 0 messages (0 octets) H mimap22
fetchmail: selecting or re-polling default folder
fetchmail: POP3> STAT
fetchmail: POP3< +OK 0 0
fetchmail: No mail for 000000-00 at pop.1und1.com
fetchmail: POP3> QUIT
fetchmail: POP3< +OK POP3 server signing off
fetchmail: 6.2.5 querying pop.1und1.com (protocol POP3) at Tue Jul  5 20:05:50 2005: poll completed
fetchmail: not swapping UID lists, no UIDs seen this query
fetchmail: Query status=1 (NOMAIL)
fetchmail: Deleting fetchids file.
fetchmail: normal termination, status 1
fetchmail: Deleting fetchids file.

Meine .fetchmail

Code:
# Edit carefully, see /usr/share/doc/packages/yast2-mail/fetchmailrc.txt
poll "pop.1und1.com"
proto pop3
user "000000-00"
pass "linuxonline"
is Tux
nokeep
fetchall

Leider kann ich KEINE Verbindung über telnet 25 machen :-(

Ich kann auch nicht über postfix senden :-( biete helfe mir
 
Hier ich hoffe die passt

l
Code:
inux:~ # netstat -lnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:5801            0.0.0.0:*               LISTEN      6711/xinetd
tcp        0      0 0.0.0.0:5802            0.0.0.0:*               LISTEN      6711/xinetd
tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN      6248/mysqld-max
tcp        0      0 0.0.0.0:5803            0.0.0.0:*               LISTEN      6711/xinetd
tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      6617/smbd
tcp        0      0 0.0.0.0:5901            0.0.0.0:*               LISTEN      6711/xinetd
tcp        0      0 0.0.0.0:5902            0.0.0.0:*               LISTEN      6711/xinetd
tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN      6711/xinetd
tcp        0      0 0.0.0.0:5903            0.0.0.0:*               LISTEN      6711/xinetd
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      6060/portmap
tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN      6711/xinetd
tcp        0      0 0.0.0.0:631             0.0.0.0:*               LISTEN      6139/cupsd
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      6628/master
tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      6617/smbd
tcp        0      0 :::80                   :::*                    LISTEN      6344/httpd2-prefork
tcp        0      0 :::22                   :::*                    LISTEN      6714/sshd
udp        0      0 0.0.0.0:1024            0.0.0.0:*                           6046/mdnsd
udp        0      0 10.0.0.1:137            0.0.0.0:*                           6084/nmbd
udp        0      0 192.168.1.4:137         0.0.0.0:*                           6084/nmbd
udp        0      0 0.0.0.0:137             0.0.0.0:*                           6084/nmbd
udp        0      0 10.0.0.1:138            0.0.0.0:*                           6084/nmbd
udp        0      0 192.168.1.4:138         0.0.0.0:*                           6084/nmbd
udp        0      0 0.0.0.0:138             0.0.0.0:*                           6084/nmbd
udp        0      0 127.0.0.1:3123          0.0.0.0:*                           10613/smbd
udp     2860      0 0.0.0.0:68              0.0.0.0:*                           4271/dhcpcd
udp        0      0 127.0.0.1:2128          0.0.0.0:*                           7176/smbd
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           6046/mdnsd
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           6046/mdnsd
udp        0      0 0.0.0.0:111             0.0.0.0:*                           6060/portmap
udp        0      0 0.0.0.0:631             0.0.0.0:*                           6139/cupsd
Active UNIX domain sockets (only servers)
Proto RefCnt Flags       Type       State         I-Node PID/Program name    Path
unix  2      [ ACC ]     STREAM     LISTENING     21124  6906/dcopserver [kd /tmp/.ICE-unix/dcop6906-1120576940
unix  2      [ ACC ]     STREAM     LISTENING     21267  6924/artsd          /tmp/ksocket-TorBla/linux.blankertz.intern-1b0c-42caa5b1
unix  2      [ ACC ]     STREAM     LISTENING     42875  7139/uim-helper-ser /tmp/uimhelper-TorBla
unix  2      [ ACC ]     STREAM     LISTENING     21145  6908/klauncher [kde /tmp/ksocket-TorBla/klauncherwPwzea.slave-socket
unix  2      [ ACC ]     STREAM     LISTENING     21273  6927/ksmserver [kde /tmp/.ICE-unix/6927
unix  2      [ ACC ]     STREAM     LISTENING     43770  7151/gconfd-2       /tmp/orbit-TorBla/linc-1bef-0-3d661330e0cc2
unix  2      [ ACC ]     STREAM     LISTENING     17476  5954/resmgrd        /var/run/.resmgr_socket
unix  2      [ ACC ]     STREAM     LISTENING     17665  6046/mdnsd          /var/run/mDNSResponder
unix  2      [ ACC ]     STREAM     LISTENING     7708   3045/dbus-daemon-1  /var/run/dbus/system_bus_socket
unix  2      [ ACC ]     STREAM     LISTENING     18195  6269/kdm            /var/run/xdmctl/dmctl/socket
unix  2      [ ACC ]     STREAM     LISTENING     19280  6492/acpid          /var/run/acpid.socket
unix  2      [ ACC ]     STREAM     LISTENING     18217  6269/kdm            /var/run/xdmctl/dmctl-:0/socket
unix  2      [ ACC ]     STREAM     LISTENING     18482  6373/nscd           /var/run/nscd/socket
unix  2      [ ACC ]     STREAM     LISTENING     19550  6595/powersaved     /var/run/powersave_socket
unix  2      [ ACC ]     STREAM     LISTENING     19554  6595/powersaved     /var/run/powersave_clientsocket
unix  2      [ ACC ]     STREAM     LISTENING     19728  6628/master         public/cleanup
unix  2      [ ACC ]     STREAM     LISTENING     19735  6628/master         private/rewrite
unix  2      [ ACC ]     STREAM     LISTENING     19739  6628/master         private/bounce
unix  2      [ ACC ]     STREAM     LISTENING     19743  6628/master         private/defer
unix  2      [ ACC ]     STREAM     LISTENING     19747  6628/master         private/trace
unix  2      [ ACC ]     STREAM     LISTENING     19751  6628/master         private/verify
unix  2      [ ACC ]     STREAM     LISTENING     19755  6628/master         public/flush
unix  2      [ ACC ]     STREAM     LISTENING     19759  6628/master         private/proxymap
unix  2      [ ACC ]     STREAM     LISTENING     19763  6628/master         private/smtp
unix  2      [ ACC ]     STREAM     LISTENING     19767  6628/master         private/relay
unix  2      [ ACC ]     STREAM     LISTENING     19771  6628/master         public/showq
unix  2      [ ACC ]     STREAM     LISTENING     19775  6628/master         private/error
unix  2      [ ACC ]     STREAM     LISTENING     19779  6628/master         private/discard
unix  2      [ ACC ]     STREAM     LISTENING     19783  6628/master         private/local
unix  2      [ ACC ]     STREAM     LISTENING     19787  6628/master         private/virtual
unix  2      [ ACC ]     STREAM     LISTENING     19791  6628/master         private/lmtp
unix  2      [ ACC ]     STREAM     LISTENING     19795  6628/master         private/anvil
unix  2      [ ACC ]     STREAM     LISTENING     19799  6628/master         private/scache
unix  2      [ ACC ]     STREAM     LISTENING     19803  6628/master         private/maildrop
unix  2      [ ACC ]     STREAM     LISTENING     19807  6628/master         private/cyrus
unix  2      [ ACC ]     STREAM     LISTENING     19811  6628/master         private/uucp
unix  2      [ ACC ]     STREAM     LISTENING     19815  6628/master         private/ifmail
unix  2      [ ACC ]     STREAM     LISTENING     19819  6628/master         private/bsmtp
unix  2      [ ACC ]     STREAM     LISTENING     19823  6628/master         private/procmail
unix  2      [ ACC ]     STREAM     LISTENING     18138  6248/mysqld-max     /var/lib/mysql/mysql.sock
unix  2      [ ACC ]     STREAM     LISTENING     21063  6866/gpg-agent      /tmp/gpg-qWPYXy/S.gpg-agent
unix  2      [ ACC ]     STREAM     LISTENING     21067  6867/ssh-agent      /tmp/ssh-siDhyv6817/agent.6817
unix  2      [ ACC ]     STREAM     LISTENING     19432  6550/smpppd         /var/run/smpppd/control
unix  2      [ ACC ]     STREAM     LISTENING     18200  6274/X              /tmp/.X11-unix/X0
unix  2      [ ACC ]     STREAM     LISTENING     21115  6903/kdeinit Runnin /tmp/ksocket-TorBla/kdeinit__0
unix  2      [ ACC ]     STREAM     LISTENING     21117  6903/kdeinit Runnin /tmp/ksocket-TorBla/kdeinit-:0
 
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 6628/master




dein postfix hoert aber auf alle adressen.

mach mal telnet 127.0.0.1 25 und poste die ausgabe.
 
Code:
linux:~ # telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 linux.blankertz.intern ESMTP Postfix
 
Das ist die Fehlermeldung

Code:
1 message for m8618878-10 at pop.1und1.com (2121 octets).
reading message m8618878-10@pop.1und1.com:1 of 1 (2121 octets) .fetchmail: SMTP connect to localhost failed
fetchmail: SMTP transaction error while fetching from pop.1und1.com
fetchmail: Query status=10 (SMTP)
vieleicht kannst Du damit was anfangen
 
zeige mal die letzten zeilen von /var/log/mail - mal sehen was der postfix dazu sagt.


evtl. hast du smtp-authentification aktiviert....
 
Code:
Jul  5 22:55:41 linux postfix/qmgr[7673]: 530C23925E0: from=<root@linux.blankertz.intern>, size=442, nrcpt=1 (queue active)
Jul  5 22:55:41 linux postfix/qmgr[7673]: 5E30F3925E1: from=<root@linux.blankertz.intern>, size=442, nrcpt=1 (queue active)
Jul  5 22:55:41 linux postfix/qmgr[7673]: 4617A3925DD: from=<root@linux.blankertz.intern>, size=415, nrcpt=1 (queue active)
Jul  5 22:55:41 linux postfix/qmgr[7673]: 6F3843925DF: from=<root@linux.blankertz.intern>, size=439, nrcpt=1 (queue active)
Jul  5 22:56:02 linux postfix/smtp[10843]: 5E30F3925E1: to=<tblankertz@blankertzwebdesign.de>, relay=none, delay=83902, status=deferred (Host or domain name not found. Name service error for name=auth.smtp.1und1.com type=MX: Host not found, try again)
Jul  5 22:56:02 linux postfix/smtp[10842]: 530C23925E0: to=<tblankertz@blankertzwebdesign.de>, relay=none, delay=83912, status=deferred (Host or domain name not found. Name service error for name=auth.smtp.1und1.com type=MX: Host not found, try again)
Jul  5 22:56:02 linux postfix/smtp[10841]: 5907C3925D6: to=<tblankertz@blankertzwebdesign.de>, relay=none, delay=86823, status=deferred (Host or domain name not found. Name service error for name=auth.smtp.1und1.com type=MX: Host not found, try again)
Jul  5 22:56:02 linux postfix/smtp[10840]: AD6703925DE: to=<tblankertz@freenet.de>, relay=none, delay=83937, status=deferred (Host or domain name not found. Name service error for name=auth.smtp.1und1.com type=MX: Host not found, try again)
Jul  5 22:56:02 linux postfix/smtp[10844]: 4617A3925DD: to=<tblankertz@freenet.de>, relay=none, delay=86179, status=deferred (Host or domain name not found. Name service error for name=auth.smtp.1und1.com type=MX: Host not found, try again)
Jul  5 22:56:02 linux postfix/qmgr[7673]: 6F3843925DF: to=<support@blankertzwebdesign.de>, relay=none, delay=83922, status=deferred (delivery temporarily suspended: Host or domain name not found. Name service error for name=auth.smtp.1und1.com type=MX: Host not found, try again)
 
es muss "smtp.1und1.com" heissen - deinen relayhost gibt es nicht. daher ist diese fehlermeldung nicht relevant fuer dein problem.

so - machen wir naegel mit koepfen. ich merke das du nicht sehr gut bist was die bedienung deines systems angeht.


- konsole oeffnen: tail -f /var/log/mail
- konsole oeffnen: fetchmail -avv

zurueck zur konsole eins und die meldung die jetzt gekommen ist posten.
 
Status
Für weitere Antworten geschlossen.
Oben