Hi,

Here is my problem :

Whe have email in our intranet for internal usage, the adresses
are not internet known (ie: [EMAIL PROTECTED])

Whe have one internet address [EMAIL PROTECTED]
What I want that users can send mail to the internet, and
my qmail rewrite the sender address :

Mails in local :

[EMAIL PROTECTED] (to [EMAIL PROTECTED]) -> qmail -> [EMAIL PROTECTED] (from
[EMAIL PROTECTED])


Internet :
[EMAIL PROTECTED] (to [EMAIL PROTECTED]) -> qmail (rewriting) ->
[EMAIL PROTECTED] (from [EMAIL PROTECTED])

And when a mail come to [EMAIL PROTECTED] it is forwarded to all
internal email acount (only 3-4).

I've tried a lot of things : create a virtualdomain :
:alias-rewrite

.qmail-alias-rewrite
| /var/qmail/bin/inject-rewrite 

whitch is a wrapper to qmail-inject. 
But this wrapper don't work, mail is delivered locally.

I've tryied

.qmail-alias-rewrite
| formail -I "From: [EMAIL PROTECTED]" | forward
another_account_whitch_will_create_a_Maildir

It don't work also.

Do you have any idea about an easy way to do sender adress rewriting ?

David ROBERT.

Reply via email to