Hi Brandon,
Tnx for the explanation!!
It works know and I understand what i did wrong.
Good job.
Greetz,
alitrix
On Sun, May 25, 2008 at 9:41 AM, Brandon Enright <bmenrigh(_at_)ucsd(_dot_)edu>
wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sat, 24 May 2008 23:26:17 +0200 or thereabouts Alitrix aka Ali
<alitrix(_at_)gmail(_dot_)com> wrote:
Hi,
For some reason procmail isn´t duplicating the whole email when it´s
forwarding.
...snip...
:0Hh
* (_dot_)*\(_at_)letscall(_dot_)nl
.INBOX.aliLC/new/.
===================================================
This should forward emails that are ment for *(_at_)letscall(_dot_)nl to a
IMAP-subdir. Don't look at the procmail-rules, those work fine. I
just wanted to test something.
You have several problems here:
'H' is the default (egrep headers) and doesn't need to be specified.
'h' specifically tells procmail to only deliver headers to the
filter/mbox/maildir
If you remove both you'll get the behavior you want.
Also, you shouldn't deliver directly to /new/ but just to the maildir
and let procmail handle putting emails in new.
With your regex, you should probably use ^TO or ^TO_. You don't need
to escape '@' but you do need to escape '.'. Your leading '.*' is
meaningless in the context that you are using it.
Try changing the recipe to:
:0
* ^(To|Cc):(_dot_)*(_at_)letscall\(_dot_)nl
.INBOX.aliLC/
Brandon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkg5GD4ACgkQqaGPzAsl94JvPACgqwv1SwI7C55eu9S/up2OQ02r
N+oAoKvfNyBAcqjIm5Dz8Jqw1rk6DyHx
=4Yfo
-----END PGP SIGNATURE-----
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail