> Matt Miller wrote:
>> On Jul 28, 2008, at 2:06 PM, Bowie Bailey wrote:
>>
>> > Matt Miller wrote:
>> > > I'm trying to have some of my users under a domain off of my
>> > > Courier server be hosted on another server.  Does Courier have
>> > > some kind of functionality to redirect certain accounts to
>> > > another server?
>> > >
>> > > These are all users that I'll be migrating from the Courier
>> > > install temporarily to another mail system and I'd prefer not to
>> > > have to destroy the accounts on the Courier server (i.e.,
>> > > hopefully the only option isn't to have "if mailbox doesn't exist
>> > > for this domain here, redirect to this server".)
>> > >
>> > > Is there some kind of way to shunt mail for certain addresses
>> > > hosted on on a Courier install over to another mail server?
>> >
>> > Create an alias from the original address to the new server.
>> >
>> > In /etc/courier/aliases:
>> >
>> > [EMAIL PROTECTED]: [EMAIL PROTECTED]
>> >
>> > And then make sure courier knows how to deliver mail to
>> > newserver.domain.com.
>>
>> I'm trying to make a truly split domain, where each server believes
>> that it is responsible for example.com.  I did it that way for
>> testing, but now I'm trying to run the two side-by-side if possible.
>
> As far as I know, this is not possible.  If the server believes it is
> responsible for example.com, it will attempt to deliver all example.com
> mail locally unless there is an alias directing it elsewhere.

Configure the other server to accept mail for example.com as well as
other.example.com.  Then add the following into your
etc/courier/maildroprc:

`test -f to-other.txt`
if ($RETURNCODE==0)
{
  to "[EMAIL PROTECTED]"
}

do a:

touch /path/to/users/home/to-other.txt

for each and every user who should have mail sent to the other server.

Jay
-- 
Jay Lee
Network / Systems Administrator
Information Technology Dept.
Philadelphia Biblical University
--


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to