PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : sendmail/fetchmail



globesoft
01.09.03, 16:52
Hi,

hoffe Ihr könnt mir helfen. Hab ein Problem mit sendmail/fetchmail und zwar:

Die Mails werden vom Server abgeholt, aber nicht richtig zugeteilt. Der Postmaster bekommt alle Mails, die von außen kommen. Wenn nun aber jemand innerhalb der Firma eine Mail verschickt, wird diese richtig zugeordnet.

Hab keine Ahnung mehr was es sein könnte, hoffe Ihr könnt mir helfen. Ach ja, fetchmail überschreibt da noch was, wenn es die Mails abholt!! Kann mir vielleicht jemand sagen, was das heisen soll??

root@server.de (Cron Daemon) wrote ..
> fetchmail: 6.2.1 querying mail.server.de (protocol POP3) at Mon Sep
> 1 12:15:01 2003: poll started
> fetchmail: POP3< +OK ready <21847.1062411344@www.mailserver.at>
> fetchmail: POP3> CAPA
> fetchmail: POP3< +OK Capability list follows
> fetchmail: POP3< TOP
> fetchmail: POP3< USER
> fetchmail: POP3< LOGIN-DELAY 0
> fetchmail: POP3< EXPIRE 0
> fetchmail: POP3< UIDL
> fetchmail: POP3< RESP-CODES
> fetchmail: POP3< AUTH-RESP-CODE
> fetchmail: POP3< X-MANGLE
> fetchmail: POP3< X-MACRO
> fetchmail: POP3< X-LOCALTIME Mon, 1 Sep 2003 12:15:45 +0200
> fetchmail: POP3< .
> fetchmail: POP3> USER xyz
> fetchmail: POP3< +OK Password required for wts.
> fetchmail: POP3> PASS
> fetchmail: POP3< +OK wts has 1 visible message (0 hidden) in 1104 octets.
> fetchmail: selecting or re-polling default folder
> fetchmail: POP3> STAT
> fetchmail: POP3< +OK 1 1104
> fetchmail: POP3> LAST
> fetchmail: POP3< +OK 0 is the last read message.
> 1 message for wts at www.mailserver.de (1104 octets).
> fetchmail: POP3> LIST
> fetchmail: POP3< +OK 1 visible messages (1104 octets)
> fetchmail: POP3< 1 1104
> fetchmail: POP3< .
> fetchmail: POP3> TOP 1 99999999
> fetchmail: POP3< +OK Message follows
> reading message xyz@www.mailserver.de :1 of 1 (1104 octets)
> About to rewrite Return-Path: <maier@gmx.com>
> Rewritten version is Return-Path: <maier@gmx.com>
>
> About to rewrite From: Meier <meier@gmx.com>
> Rewritten version is From: Meier <meier@gmx.com>
>
> About to rewrite To: pc@server.de
> Rewritten version is To: pc@server.de
>
> fetchmail: no local matches, forwarding to postmaster
> fetchmail: SMTP< 220 fs.intern.server.de ESMTP Sendmail 8.12.7/8.12.7/SuSE
> Linux 0.6; Mon, 1 Sep 2003 12:15:05 +0200
> fetchmail: SMTP> EHLO localhost
> fetchmail: SMTP< 250-fs.intern.server.de Hello localhost [127.0.0.1],
> pleased to meet you
> fetchmail: SMTP< 250-ENHANCEDSTATUSCODES
> fetchmail: SMTP< 250-PIPELINING
> fetchmail: SMTP< 250-8BITMIME
> fetchmail: SMTP< 250-SIZE
> fetchmail: SMTP< 250-DSN
> fetchmail: SMTP< 250-ETRN
> fetchmail: SMTP< 250-AUTH DIGEST-MD5 CRAM-MD5
> fetchmail: SMTP< 250-DELIVERBY
> fetchmail: SMTP< 250 HELP
> fetchmail: forwarding to localhost
> fetchmail: SMTP> MAIL FROM:<meier@gmx.com> BODY=8BITMIME SIZE=1104
> fetchmail: SMTP< 250 2.1.0 <meier@gmx.com>... Sender ok
> fetchmail: SMTP> RCPT TO:<postmaster@localhost>
> fetchmail: SMTP< 250 2.1.5 <postmaster@localhost>... Recipient ok
> fetchmail: SMTP> DATA
> fetchmail: SMTP< 354 Enter mail, end with "." on a line by itself
> #*********fetchmail: SMTP>. (EOM)
> fetchmail: SMTP< 250 2.0.0 h81AF5tH028109 Message accepted for delivery
> flushed
> fetchmail: POP3> DELE 1
> fetchmail: POP3< +OK Message 1 has been deleted.
> fetchmail: POP3> QUIT
> fetchmail: POP3< +OK Pop server at www.mailserver.de signing off.
> fetchmail: 6.2.1 querying mail.mailserver.de (protocol POP3) at Mon Sep
> 1 12:15:05 2003: poll completed
> fetchmail: not swapping UID lists, no UIDs seen this query
> fetchmail: Query status=1 (NOMAIL)
> fetchmail: SMTP> QUIT
> fetchmail: SMTP< 221 2.0.0 fs.intern.server.de closing connection
> fetchmail: Deleting fetchids file.
> fetchmail: normal termination, status 0
> fetchmail: Deleting fetchids file.

Danke im Vorraus!!!

Gruß

Andy

michel19
05.09.03, 19:26
wie sieht den die .fetchmailrc aus.

die müsste ungefähr so sein

poll hostname protocol POP3 aka domain meineDomain.com user loginname password meinpassword is *

Michael

Schärple
04.04.04, 10:48
wie sieht den die .fetchmailrc aus.

die müsste ungefähr so sein

poll hostname protocol POP3 aka domain meineDomain.com user loginname password meinpassword is *

Michael

Am Ende musst Du noch die lokale Mailbox angeben, in die die Mails übergeben
werden solllen (.... to $USER).