OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Adding a domain to remote mail (with apologies for any duplicates)

From: Jens Stark (jens.starkgmail.com)
Date: Thu Jul 28 2005 - 05:50:20 CDT


Hi !

I try to do the following :

A device sends a fax (encapsulated in an email) to my postfix server.
This server is supposed to forward it to the fax provider.

My problem is that the device will only use the fax number as the
email address and I need to find a way to slap the fax service domain
name on that.
(i.e. device sends 12345, I need to send 123345faxprovider.net).

So far, i use a solution abusing local delivery, which will examine
the incoming email, do some editing and resubmit it via sendmail.

I also tried remote_header_rewrite_domain, but can't get it to work.

Any advice ?

Best,
    Jens