Procmail

From My Mnemonic Rhyme
Revision as of 08:32, 19 July 2011 by >Homaar (→‎= Weiterleitung)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Links

http://wiki.kartbuilding.net/index.php/Procmail_-_setup_with_postfix

http://partmaps.org/era/procmail/mini-faq.html

Hints

The w after the :0 tells procmail to wait for the zarafa-dagent to finish.
Typing the c flag will make a `carbon copy' of the email. This way, the email will be delivered to Zarafa as well as the normal Mailbox or Maildir. Again, <user name> needs to be replaced with the name of the user.

Weiterleitung

Procmail ließt (zusätzlich zu einer ~/.procmailrc) die Datei ~/.forward aus. Dort kann einfach eine Weiterleitung eingetragen werden:

email@gmx.de
web1p1
\root

Die erste Zeile verschickte es an einen GMX-Account. Die zweite Zeile legt die Mail im Postfach web1p1 ab, und die dritte Zeile ist etwas kniffliger: Sie legt die Mail im root-Postfach ab ohne die vorhandene .forward-Datei zu beachten. (Dafür steht der Slash davor.) Natürlich wäre die 3.Zeile als einzige Zeile sinnentleert. Sie macht also lediglich in Kombination mit einer der anderen Zeilen davor Sinn.