List Info

Thread: Two servers, Sendmail and Postfix(kolab) on the same domain




Two servers, Sendmail and Postfix(kolab) on the same domain
country flaguser name
France
2007-02-11 13:26:17
Hello,
 
I actually use a Sendmail server in my network with two domains, my email addresses are like domain1.com">joedomain1.com and domain2.com">joedomain2.com and both points to the same mailbox (Joes's).
I have just set a new mail server with the "kolab" package which relies on a Postfix server.
 
My purpose is to migrate all existing mailboxes onto this new server. I intend to do it "smoothly" during few weeks.
This means we will have users on both servers during this time, for example Joe in Sendmail and John in Postfix.
Of course, Joe and John must be able to communicate each other.
 
I have found a solution for John to send mail to Joe by adding theses specific lines in the "transport" Postfix file:
domain1.com">joedomain1.com smtp:[ip_Sendmail]
domain2.com">joedomain2.com smtp:[ip_Sendmail]
 
On the opposite side (sendmail server to postfix one), I intended to use the virtusertable with something like:
domain1.com">johndomain1.com ip_Postfix">johnip_Postfix
domain2.com">johndomain2.com ip_Postfix">johnip_Postfix
but it doesn't work ...
 
When I send a mail from Joe to John, I receive an error from the mail server wich relays our messages with Internet telling me he is unable to find 'johnip_Postfix'">'johnip_Postfix'. So sendmail probably doesn't try to send this message locally to the postfix server.
 
If I try:
johndomain1.com">johndomain1.com [ip_Postfix">john[ip_Postfix]
domain2.com">johndomain2.com [ip_Postfix">john[ip_Postfix]
the message is sent localy but my Postfix server complain with:
<[ip_postfix">john[ip_postfix]>: service unavailable. Command output: Failed to set
   ; recipient: Mailbox unknown.  Either there is no mailbox associated with
 ; &nbsp; this name or you do not have authorization to see it. 5.1.1 User unknown,
 &nbsp;  code 550
 
What is wrong, can somebody help me ?
 
Thanks in advance.
 
Mo.
Re: Two servers, Sendmail and Postfix(kolab) on the same domain
user name
2007-02-15 06:39:19
Here are some tips

The easier is to configure sendmail the same way you did
with postfix,
using transport, to set the next hop for some addresse
(without
rewriting the address).

I found on the web :

"Not sure about the preference, but the postfix
equivalent to mailertable
 is transport table."

Anyway if you still want to change postfix config

try a virtual_map table with

john[ip_Postfix] johndomain2.com

but no sure it will works, because john[ip_Postfix]  is a local
address and virtual table are used earlier in the process.
Maybe
local_recipient_maps could work


On 2/11/07, Donald <d.donaldlaposte.net> wrote:
>
>
> Hello,
>
> I actually use a Sendmail server in my network with two
domains, my email
> addresses are like joedomain1.com and joedomain2.com and both points to
> the same mailbox (Joes's).
> I have just set a new mail server with the
"kolab" package which relies on a
> Postfix server.
>
> My purpose is to migrate all existing mailboxes onto
this new server. I
> intend to do it "smoothly" during few weeks.
> This means we will have users on both servers during
this time, for example
> Joe in Sendmail and John in Postfix.
> Of course, Joe and John must be able to communicate
each other.
>
> I have found a solution for John to send mail to Joe by
adding theses
> specific lines in the "transport" Postfix
file:
> joedomain1.com smtp:[ip_Sendmail]
> joedomain2.com smtp:[ip_Sendmail]
>
> On the opposite side (sendmail server to postfix one),
I intended to use the
> virtusertable with something like:
> johndomain1.com johnip_Postfix
> johndomain2.com johnip_Postfix
> but it doesn't work ...
>
> When I send a mail from Joe to John, I receive an error
from the mail server
> wich relays our messages with Internet telling me he is
unable to find
> 'johnip_Postfix'. So sendmail probably doesn't try to send
this message
> locally to the postfix server.
>
> If I try:
> johndomain1.com john[ip_Postfix]
> johndomain2.com john[ip_Postfix]
> the message is sent localy but my Postfix server
complain with:
> <john[ip_postfix]>: service unavailable.
Command output: Failed to set
>     recipient: Mailbox unknown.  Either there is no
mailbox associated with
>     this name or you do not have authorization to see
it. 5.1.1 User
> unknown,
>     code 550
>
> What is wrong, can somebody help me ?
>
> Thanks in advance.
>
> Mo.
> _______________________________________________
> Kolab-users mailing list
> Kolab-userskolab.org
> https:
//kolab.org/mailman/listinfo/kolab-users
>
>


-- 
--
Alain Spineux
aspineux gmail com
May the sources be with you

_______________________________________________
Kolab-users mailing list
Kolab-userskolab.org
https:
//kolab.org/mailman/listinfo/kolab-users

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )