| |||||||||||||||||||||||||||||||
|
recipient-address if we use alias instead of bcc. Replaced "recipient_bcc_maps = hash:/etc/postfix/recipient_bcc_maps.cf" with "virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf" Best regards, Benjamin Schmidt Benjamin Schmidt wrote: > Hello list members > > Have another problem. I need to pipe all emails to a perl-script, while > keeping the original recipient address (in "X-Original-To"). But this > doesn't work by me, like its descripted in thread > http://www.webservertalk.com/archive281-2004-8-363421.html. > > --- > recipient_bcc_maps = hash:/etc/postfix/recipient_bcc_maps.cf > * alias > > transport_maps = hash:/etc/postfix/transport_maps.cf > alias virtual_alias_maps: > > virtual_alias_maps unix - n n - - > pipe > flags=O user=nobody argv=/usr/lib/postfix/mysql_alias_lookuptable > --lookuptable=/etc/postfix/mysql_virtual_alias_maps.cf sender=${sender} > recipient=${recipient} > --- > > In the perl-script but i do have > "alias" as "X-Original-To". > > > > Only the pipe-flag F works, but I prefer "X-Original-To": > > Received: from [192.168.0.104] (unknown [192.168.1.1]) > by amnesix.t-p.com (Postfix) with ESMTP id C7A2D1140B5 > for <b.schmidt>; Mon, 23 Jul 2007 10:46:15 +0200 (CEST) > > > As descripted in the thread (see above link), this scenario should work > without problems. > > Does anyone know what I did wrong? > > Thanks in advance, > Benjamin Schmidt > > > >
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com