* Myles Chippendale <[EMAIL PROTECTED]> [001113 09:05]:
> I have a domain (call it mydom.co.uk) whose email is handled by qmail on
> a server (call it myserver.com). What I want to do is have email
> sent to [EMAIL PROTECTED] sent to a custom SMTP server
> running on myserver.com (on port 1615). I can get the ISP to create
> an MX record pointing boards.mydom.co.uk to myserver.com. I
> assume I then want to add boards.mydom.co.uk to virtualdomains
> but I'm not sure how to get any incoming emails sent off to the SMTP
> server on port 1615 rather than a particular user.
On myserver.com, set up qmail to listen on port 25. Add ``mydom.co.uk'' to
rcpthosts. Add:
mydom.co.uk:myserver.com:1615
to smtproutes. Remove *all* other instances of ``mydom.co.uk'' from the
control files, including and especially locals and virtualdomains.
Alternatively, depending on how much you trust the custom SMTP server on
1615, you might make it listen *only* to localhost (127.0.0.1) and alter the
smtproutes line above to deliver it to localhost. This will prevent people
from randomly probing and attacking the server on that port... YMMV...
/pg
--
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
"We all know Linux is great...it does infinite loops in 5 seconds."
(Linus Torvalds about the superiority of Linux on the Amterdam
Linux Symposium)