PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : fetchmail und procmail arbeiten nicht zusammen



leon
28.09.03, 17:46
Hallo Leute

Habe heute meinen Mailserver neu aufgesetzt und mir die alten Konfigs gespeichert.

Als MTA habe ich neu postfix ( früher sendmail), fetchmail zum abholen und procmail zum einsortieren.

Das dumme ist nur, das fetchmail die Mails einfach nicht an procmail übergibt

/etc/fetchmailrc

# POP-Server Angaben
poll SERVER-PROVIDER protocol POP3

...

# Weitergabe an Procmail zum Verteilen
mda "/usr/bin/procmail"


/root/.procmailrc

#!/bin/sh

# Procmailrezepte für die Mailverteilung

VERBOSE=yes
LOGABSTRACT=all
DELIVERMAIL="/usr/cyrus/bin/deliver"
LOGFILE=/var/log/procmail/log






# Allgemeine Zuordnung der Mails zu den Benutzern
#
# Probs mit dem Einsortieren in den Foldern gehabt, Lösung ging so
# Chances are, this error is caused by the "From ..." line added by your
# MTA. You can either configure the MTA not to add this line, or you can
# add this to the top of your procmailrc:
#
#
#
# :0hfw
# | /usr/bin/formail -I "From "
#
#
#
# hope that helps :)
#

:0hfw
| /usr/bin/formail -I "From "


...



Fetchmail holt schön brav die Mails ab. Sendet sie aber dann nach /root/.mail/new
anstatt sie procmail zu übergeben.

Fetchmail meldung

fetchmail -a -k -f /etc/fetchmailrc
fetchmail: Keine Post für ******* bei ******
fetchmail: Keine Post für *******bei *******
fetchmail: Keine Post für******* bei *******
fetchmail: Keine Post für ******* bei *******
1 Nachricht für ******* bei ******* (1143 Oktetts).
Nachricht *******@*******:1 von 1 wird gelesen (1143 Oktetts) . nicht geflusht
fetchmail: Keine Post für ******* bei *******
fetchmail: Keine Post für ******* bei *******
2 Nachrichten für ******* bei ******* (2259 Oktetts).
Nachricht *******@*******:1 von 2 wird gelesen (1127 Oktetts) . nicht geflusht
Nachricht ******* @*******:2 von 2 wird gelesen (1132 Oktetts) . nicht geflusht
fetchmail: Keine Post für ******* bei *******


Was heisst eigentlich dieses nicht geflusht?

Das habe ich auch noch gefunden

fetchmail -V
Dies ist fetchmail Version 6.2.3+RPA+NTLM+SDPS+SSL+NLS
Fallback MDA: (none)
Linux SERVER 2.4.22 #1 Sun Sep 28 09:31:02 CEST 2003 i686 Pentium II (Deschutes) GenuineIntel GNU/Linux
Erhalte Optinen von Kommandozeile


MDA: none

hat das was zu sagen. Beim configure hat er aber procmail gefunden


Hoffe Ihr könnt mir helfen. Vorher ging es alles.


Gruss Leon

leon
28.09.03, 18:19
Abe es jetzt wegbekommen. Ist zwar nicht die schöne Art.

Habe mda = "/usr/bin/procmail" aus der /etc/fetchmailrc weggenommen und lasse fetchmail jetzt mit dem Zusatzparameter -m /usr/bin/procmail aufrufen.


Aber seltsam ist das schon. Vorher ging es doch.




Gruss Leon