Migration Postfix Qmail

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
ingoros
Posts: 22
Joined: 2005-10-02 22:14
Location: Dortmund
 

Migration Postfix Qmail

Post by ingoros »

Hallo!

Hat jemand eine Idee, wie ich die Mails aus einem Postfix in einem Qmail bekomme.

Problem:
Qmail speichert für jede Mail eine Datei.
Postfix speichert alle Mails eines Postfachs in einer Datei.

Nach

#! /bin/bash
Datei=web32p1
zahl=1

while read line
do
if [ "`echo $line | cut -d" " -f1`" = "From" ]
then
echo ${zahl}
zahl=$((zahl + 1))
fi
echo $line >> ${Datei}_${zahl}
done < ${Datei}

Waren viele Mails nicht lesbar.

Danke!
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53
 

Re: Migration Postfix Qmail

Post by Roger Wilco »

rootsvr
Posts: 538
Joined: 2005-09-02 11:12
 

Re: Migration Postfix Qmail

Post by rootsvr »

Postfix speichert mails? ich dachte der Stellt nur zu und man braucht sowas wie Cyrus oder Courier um Mails zu speichern..

seltsam seltsam warum habe ich dann neben dem MTA auch noch nen Mailserver habe..
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53
 

Re: Migration Postfix Qmail

Post by Roger Wilco »

rootsvr wrote:Postfix speichert mails?
Ja, Postfix beinhaltet auch einen/mehrere MDA. man local(8), man virtual(8), man pipe(8).
rootsvr wrote:ich dachte der Stellt nur zu und man braucht sowas wie Cyrus oder Courier um Mails zu speichern..
Nein, nur zum Abrufen.
rootsvr
Posts: 538
Joined: 2005-09-02 11:12
 

Re: Migration Postfix Qmail

Post by rootsvr »

ahh ok..
wieder was gelernt.