Hi Pierre!
 
It's quite a difficult construction you have. I had to draw a picture first,
but I think I can solve it. On your main site you create a virtual domain
called bxl.prescom.fr. (You know how?!) In the directory all mail for
bxl.prescom.fr gets delivered you create a .qmail-default file with �forward
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  . The last thing to
change is .qmail-toto in the directory prescom.fr-mail gets delivered to:
�forward [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>   I think this
should work.
 
CU 
Holger
 
 

  -----Urspr�ngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von
Pierre L�onard
Gesendet am: Mittwoch, 24. November 1999 10:48
An: [EMAIL PROTECTED]
Betreff: subdomaine adressing and qmail
  

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 <http://www.leonard-pierre.nom.fr>
[EMAIL PROTECTED]
  


  
  
  

Reply via email to