-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Neil,
On Mon, Sep 26, 2005 at 05:25:49PM +0900, Neil J MacNeil wrote:
>I am looking for some help with queue presorting.
>I am using OTRS 2.0.2/RH Linux 8 (don't ask).
>
>I have strange results trying to use queue presorting with procmail.
>In my otrs users .procmailrc I have the following recipe:
>
># --
># presort NAI email to the VIR queue
># --
>:0 fhw :
>* X-NAI-Header: .*
>| formail -I "X-OTRS-Queue: VIR"
>
>
>I use fetchmail to grab messages from my imap server, these are forwarded
>to procmail,
>and dumped into otrs with Postmaster.pl
>
>I have tested procmail and postmaster using a dummy text file email
>message, and all is fine.
>When I run fetchmail, EVERYTHING works, in that messages get dumped into
>otrs,
>but the queue presort is not being recognised.
>All messages go into the RAW queue.
>Even though, when I check out the plain text of a ticket message, I see the
>X-OTRS-Queue: VIR line - so procmail is doing its thing.
>
>Got me stumped.
>
>The really odd thing is, if I use a test file, with an X-NAI-Header and
>pipe that into procmail, it gets picked up by
>postmaster.pl and correctly dumped into the VIR queue.
>e.g. procmail VERBOSE=on DEFAULT=/dev/null $HOME.procmailrc < ./test.email
>
>Weird.
>I must be doing something wrong, but for the life of me I cant crack it.
>Can anyone help.
Can you send all the logs from fetchmail, procmail and your local
mailserver for a mail that was fetched from your IMAP server and
contains the X-NAI-Header please? Is procmail working for other
fetchmail accounts propperly?
>Neil.
Best regards,
Christian
- --
((otrs)) :: OTRS GmbH :: Europaring 4 :: D - 94315 Straubing
Fon: +49 (0) 9421 1862 760 :: Fax: +49 (0) 9421 1862 769
http://www.otrs.com/ :: Communication with success!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDOYZCTFWOq90iSiERAptjAKCjds+ijtrukt2FcVbW8g6hOpSwgQCgng7f
M+8T78SLcOaCuBDpkvCabV0=
=7Qgi
-----END PGP SIGNATURE-----
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting für Ihr OTRS System?
=> http://www.otrs.de/