Hallo, On Fri, 15 Mar 2002, Christoph Maurer wrote:
Am Fre, 15 Mär 2002 schrieb Peter Blancke:
On Fri, 15 Mar 2002, Andy Feile wrote:
:0 * TO.*testaccount@feile.net | formail -A "X-Loop: blabla" ! mail@localhost
Aus "man procmailrc":
:0 [flags] [ : [locallockfile] ]
<exactly one action line> Du hast mit Deinen _zwei_ "Action lines" die Vorgabe "exactly one action line" einfach zu grosszuegig ausgelegt.
Geht vielleicht :0 * TO.*testaccount@feile.net { :0 | formail -A "X-Loop: blabla"
:0 ! mail@localhost }
Macht das nicht 2 Mails draus? Aus man procmailex: Suppose you have two accounts, you use both accounts regu larly, but they are in very distinct places (i.e. you can only read mail that arrived at either one of the accounts). You would like to forward mail arriving at account one to account two, :0 c * !^X-Loop: yourname@your.main.mail.address | formail -A "X-Loop: yourname@your.main.mail.address" | \ $SENDMAIL -oi yourname@the.other.account Ergo wuerde ich mal folgendes testen: ==== :0 * ^TO_testaccount@feile.net * !^X-Loop: testaccount@feile.net | ( formail -A"X-Loop: testaccount@feile.net" ) \ | $SENDMAIL -oi mail@localhost ==== (Achtung: Eine Actionzeile, da Umbruch mit \ maskiert.) -dnh -- [Java sei nicht das Gelbe vom Ei] Es ist auch nicht das Weiße vom Ei. Eher das grün-bräunliche eines verschimmelten Gammel-Eis. Java ist die gelbliche Ab- lagerung an Pissoirs. Java ist der Schimmelpilz der IT-Branche. Mag sein, daß es eine Funktion erfüllt, aber sie ist noch nicht gefunden worden. -- fefe