Hi,

I use qmail on the main site of my company, Prescom, and now I have to install local mailboxes for the remote site.
We have only one fixed IP address for the domain prescom.fr, at the main site.
When I send a mail to [EMAIL PROTECTED] and toto is on the remote site I forward, with a .qmail file, the mail to the remote bal : [EMAIL PROTECTED]
Then at the remote site I get the mail with fetchmail, pop3, and deliver it localy with qmail.
Ok
Now I am on the remote site and I want to send a mail to [EMAIL PROTECTED] And tyty is at the main site.
How can I sort this mail and put it in the output queue and keep the local [EMAIL PROTECTED]
The discrimination based on the domain name is not enough

So I declare the remote site as a subdomain : bxl.prescom.fr.
So, when I am at bxl.prescom.fr I can send the mail to [EMAIL PROTECTED] and [EMAIL PROTECTED] Note that bxl.prescom.fr is the same IP addresse that prescom.fr. OK

But , If I am at the main site and I send  a mail to [EMAIL PROTECTED] the forward in the .mail don't  change the domain name of  the address
and on the remote site a will reject the mail to [EMAIL PROTECTED]

So, I use formail to process the  "To: " address and pipe the mail to sendmail -oi -t . But unfortunetly, sendmail Reprocess the "Cc" field and I get multiple copies of the mail.
So, I use the -i "Cc:" option of formail to avoid the copies  by replacing the "Cc: " by a "Old-Cc: ". But, in that way the reader don't know who receive the mail and can't use the "reply to all" of the mail reader.

Ok I have no more solution at that moment, So If someone could help me. Itwill be great.

Sincerely.

-- 
        La vie est belle                Pierre Léonard
Prescom                                 Tel : 01 30 85 55 61
http://www.leonard-pierre.nom.fr        [EMAIL PROTECTED]
 

 
 
 
 



Reply via email to