OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
using original recipient in external command delivery

From: Albert Dengg (a_dgmx.at)
Date: Sun Feb 03 2008 - 03:48:12 CST


hi

i'm currently impleneting a solution where mail vor multiple users is
delivered to one user using virtual_alias_maps and should then be
processed through a procmail rule.

so far, so good...
but the problem is that an external command that get's called while
proccessing the mail need the orignial recipient address.

i'm using postfix 2.3.8 from debian, and now i have 2 questions:
1) is the X-Original-To header usable for that? (what happens if the
mails for some reason already contains a X-Original-To header?)
2) if i won't get a stable (and upgrade-save) result this way, is there
another way to implement this?

tia

yours
albert dengg

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQCVAwUBR6WN1iIMiEpzxsFKAQLDOwQAjtp5yFWyuwVzzceY6VF9HEPIIQBLy/Yi
4EY/WwJyA4tnMfi0XAwudFo0RdrX7xKdCl8WUGUdNdiizSd1HkuhKvtitDB0E2/d
6XzAqmdvgWsAADUaKT78x2HEUydZzKJ2LGqK4RsBOqAHedg3Mj161su3TSv8lldz
OhhdxLX6b3s=
=F77Z
-----END PGP SIGNATURE-----