You can use the smtproutes control file to send domains on to another machine from the queue.
 
eg:
 
echo domain.com:[xxx.xxx.xxx.xxx{ >> /var/qmail/control/smtproutes
 
where domain.com is the domain to send to machine2 and xxx.xxx.xxx.xxx is the IP address of machine2
 
Regards,
 
Charles Warwick
-----Original Message-----
From: RamKumar [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 15 November 2000 3:47 PM
To: [EMAIL PROTECTED]
Subject: Help Required .....

My proposed setup is something like this. clients connect for smtp and pop to this machine mach1. When i receive a mail from remote or from local, it goes through the usual routine of checking for receipt host and other things and writes to the qmail queue. From the queue the mail has to be taken and sent to the machine 2 (where i do some checking for virus and spam) and put it in the mailboxes which are shared by both these machines machine1 and machine 2.
 
 
                       Machine1 ---------------------------------------------------------------------------------- Machine2
                             |                                                                                                                       |
                             |                                                                                                                       |
                             |                                                                                                                       |
                             ------------------------------------MailBOXes----------------------------------------------
 
I wanted to know how i could get the mails from the queue and pump it out to the machine 2. Can somebody help ?
 
thanks and regards.
ram


Please Note:

The information contained in this email is confidential. If you are not the intended recipient, you may not disclose or use the information in this email in any way. If you have received this email in error, kindly notify the sender. The sender does not guarantee the integrity of this email or any attached files.

Reply via email to