J.J.Gallardo <[EMAIL PROTECTED]> writes on 25 September 2000 at 14:41:22 +0200
> Hello,
>
> I need to manage one virtual-domains (domain1.com) in this way:
> 1) All the accounts *master (postmaster,hostmaster,webmaster,...)
> redirect to [EMAIL PROTECTED]
> (No problem with .qmail-postmaster, etc)
> 2) Any other account (mike, support, ..etc) route via 'smtproutes' to a
> specific host
> But if smtproutes contain --> domain1.com:machine.domain1.com , then all
> incoming mail, include *master are queued to send to
> machine.domain1.com. Any ideas?
You want some treated as local, and some not. This is slightly
tricky.
I see two approaches.
#1, can you use smtproutes to send everything to the other machine,
and then on *that* machine grab the *master accounts and forward them
back?
#2, you can use .qmail-default to grab everything that isn't
specifically handled by other .qmail files and have it delivered to a
maildir. Then use maildirsmtp (or maildirqmtp) in cron to send those
on over to the actual destination machine.
I haven't needed to split a domain this way, so I could be overlooking
a better option; hasn't sprung to mind yet though.
--
David Dyer-Bennet / Welcome to the future! / [EMAIL PROTECTED]
Photos: http://dd-b.lighthunters.net/
SF: http://www.dd-b.net/dd-b/ Minicon: http://www.mnstf.org/minicon/