Hi all,
Our current mail system uses qmail as the front end to an MS Mail system.
It looks something like this:
SMTP (*@*.eoc.org.uk)
+--------------> (other hosts)
|
QMQP | SMTP (*@eoc.org.uk)
dido -----------> candace --------------> ms-mail
(qmail-smtpd) (qmail-qmqpd) (MailBeamer)
i.e. Incoming mail is recieved on dido by a "mini-qmail" installation which
forwards all mail to candace using QMQP. candance then re-delivers all mail
addressed to eoc.org.uk to ms-mail. All mail addressed to sub-domains is
processed according to our local DNS MX records, e.g. mail to
[EMAIL PROTECTED] is delivered locally on candace.
The re-direction of eoc.org.uk is done with an smtproutes entry:
eoc.org.uk:ms-mail.eoc.org.uk
I'd like to modify this setup so that candace processes certain addresses in
the eoc.org.uk domain and forwards any it doesn't recognise to the ms-mail
system. This is essentially to allow mailing lists to run from the candace
box with an address like [EMAIL PROTECTED]
So far, here's what I've come up with:
1. Create a virtual domain "eoc.org.uk" (using vpopmail as I use it in
another job and am familiar with how it works)
2. Add .qmail files and mailing lists, etc under the virtual domain as
required. All unrecognised addresses will be handled by .qmail-default for
the virtual domain (/home/vpopmail/domains/eoc.org.uk/.qmail-default)
3. In the .qmail-default put something to re-send all mail to the ms-mail
host, eg:
| redeliver msmail.eoc.org.uk
Where "redeliver" is a program that opens an SMTP session to the specified
host, and writes out the message being read from stdin.
Step 3. is where I'm stuck.
Does such a program exist? Or is there a better/different way to do this?
Thanks,
R.