On Jul 28, 2008, at 3:19 PM, Bowie Bailey wrote:
> Jay Lee wrote:
>>> Matt Miller wrote:
>>>> On Jul 28, 2008, at 2:06 PM, Bowie Bailey wrote:
>>>>
>>>>> 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.
>
> Is this functionally any different from an alias? (besides using
> maildrop for forwarding)
>
> --
> Bowie
It doesn't seem like it to me, but I'm not sure.
In any case, the suggestion of having the other server accept mail for
both the domain and a sub-domain is a good one and will let me get to
where I need to be just using aliases. Should have thought of that
earlier.
Thanks for the help.
--
Matt Miller
IT Freedom
-------------------------------------------------------------------------
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