PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : fetcmail probleme



shb
07.05.04, 10:06
hi ich hab mir gester fetchmail eingerichtet und hat auch super funzioniert
aber heute ruft er keine mails mehr ab. wenn keine nachrichten vorhanden sind sagt er das auchaber sobald er welche abholenen soll (egal auf welchem konto ) kommt diese fehlermelfung ( entsprechend dem anderen konto wenn da mails drauf sind)

fetchmail: Keine Post für Stefan256@gmx.net bei pop.gmx.net
1 Nachricht für 259629 bei pop3.blue-stripes.de (1371 Oktetts).
Nachricht 259629@popserver4.ispgateway.de:1 von 1 wird gelesen (1371 Oktetts) fetchmail: SMTP-Verbindung zu localhost fehlgeschlagen
fetchmail: SMTP-Transaktion-Fehler beim Abholen von pop3.blue-stripes.de
fetchmail: Abfragestatus=10 (SMTP)

da er den smtp auf locahlost nicht finden kann habe ich da vieleicht noch was istalliert ?

cu SHB

shb
07.05.04, 10:10
ich hab mal etwas weiter probiert sobald ich einen mailserver starte funzioniert es wieder! aber es kann doch nicht sein das ich umbedingt einen mailserver brauche, oder?
habt ihr einen tipp woran das liegt?

cu SHB

L00NIX
07.05.04, 11:24
Mapage of fetchmail:



Delivery Control Options

...

-m <command>, --mda <command>
(Keyword: mda) You can force mail to be passed to an MDA directly (rather
than forwarded to port 25) with the -mda or -m option. To avoid losing
mail, use this option only with MDAs like procmail or sendmail that return
a nonzero status on disk-full and other resource-exhaustion errors; the
nonzero status tells fetchmail that delivery failed and prevents the
message from being deleted off the server. If fetchmail is running as root,
it sets its userid to that of the target user while delivering mail throug
an MDA. Some possible MDAs are "/usr/sbin/sendmail -oem -f %F %T",
"/usr/bin/deliver" and "/usr/bin/procmail -d %T" (but the latter is usually
redundant as it's what SMTP listeners normally forward to). Local delivery
addresses will be inserted into the MDA command wherever you place a
%T; the mail message's From address will be inserted where you place an
%F. Do not use an MDA invocation like "sendmail -oem -t" that dispatches
on the contents of To/Cc/Bcc, it will create mail loops and bring the just
wrath of many postmasters down upon your head.

...


Und hier die Übersetzung:

Probier mal, bei fetchmail einen mda mitzugeben (per Parameter oder im rcfile):

--mda /usr/sbin/sendmail -oem -f %F %T

Das Kommando sendmail ist normalerweise aus Kompatibilitätsgründen auch dann vorhanden, wenn ein anderer Mailserver benutzt wird. Der Mailserver muss hierzu nicht laufen, muss aber richtig konfiguriert sein!

Harry
07.05.04, 11:24
Hallo,

fetchmail benötigt entweder einen MTA, der lokal läuft oder Du gibst über die Option "--mda <Kommando>" einen MDA an, der lokal installiert ist -> beispielsweise procmail.

Alternativ kannst Du fetchmail auch dazu bringen, die abgeholten Mails über LMTP beispielsweise direkt an den Cyrus-imapd-Server auszuliefern (-lmtp und -smtphost <Socketpfad>).

Schau' Dir halt einfach die Optionen in der ManPage zu fetchmail an (man 1 fetchmail).

Harry