OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Manipulate RPCT from an specified SENDER.

From: Francisco Ruiz (franciscocancilleria.gov.ar)
Date: Wed Oct 01 2008 - 15:14:52 CDT


Hi all,

This is my first message here so please tell me if i'm doing something wrong or perhaps what I'm asking has been already resolved.

I have two servers running postfix. A just sends mails while B acts as a relay host for it.

A --> B --> INTERNET

What i'm looking for is to rewrite the DESTINATION of e-mails send by a given SOURCE. Lets say:

If server A sends:

FROM: example@source.com
TO: example@destination.com

Then server B or A should see that if it comes from example@source.com, no matter which recipients does it have, it should rewrite the TO statement to something@destination.com:

FROM: example@source.com
TO: something@destination.com

The thing is that the TO is constantly changing so I have to filter mails by FROM and not TO.


Any clues ?

Thanks in advance =)

Regards,

-- 
Francisco Martín Ruiz

Responsable de Seguridad Informática

Ministerio de Relaciones Exteriores,

Comercio Internacional y Culto.

Esmeralda 1212, Piso 3, OF. COINF

TEL: (54-11)-4819-7651

E-Mail: rzf@mrecic.gov.ar