mailnode forward to external non-scalix server

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

hazem95

mailnode forward to external non-scalix server

Postby hazem95 » Wed Dec 12, 2007 6:47 am

I have two email servers, currently both qmail, I wish to make one of them Scalix. Can I create a mailnode, and have all the email for that mailnode forwarded to the other non-scalix email server?
The configuration I have in mind, that scalix.domain.com server is the hub for domain.com. For a specific group of users, lets put them in a mailnode called qmailusers, scalix should forward their email to qmail.domain.com.
All users have aliases user@domain.com, and either user@scalix.domain.com, or user@qmail.domain.com.
Scalix by default assumes that all standard users (i.e. those in mailnodes) are to be delivered locally. I need to change this, and the solution is probably with omaddrt. Though I am not sure of the omaddrt options to send just a specific mailnode in non-scalix format to the qmail server.
I don't think a redirect catch-all will work, as it is setup to send to the same domain, not a sub-domain.
Appreciate any advise. Keep in mind, that once I get this working on my standard scalix installation, I will change the authentication to Openldap.

mikevl
Scalix Star
Scalix Star
Posts: 596
Joined: Mon Feb 02, 2004 8:32 pm
Location: New Zealand

Postby mikevl » Wed Dec 12, 2007 3:26 pm

Hi

One of many possible solutions is to use sxaa to put a copy or redirect on the users accounts. sxaa will certianly allow you to redirect mail fro user@scalix.domain.com to user@qmail.domain.com this is just a simple case of adding a DNS and or /etc/hosts record which points to the qmail.domain.com server.

This is often one of the methods we use for cutting over from legacy servers.

Mike

hazem95

Postby hazem95 » Sat Dec 15, 2007 4:43 am

Thanks Mike
I tried
# sxaa --user qmailuser@domain.com --forward [qmailuser@qmail.domain.com | S=user/G=qmail/OU1=qmailusers]

# sxaa --user qmailuser@domain.com

gives:

OOF FLT OLK AANO ACTION TITLE STATE
--- --- --- ---- ---------- ------------------------------ --------
600 FORWARD SXAA FORWARD:600 enabled

sending an email to this user from a scalix user, sends it to a mailbox on scalix, not to the qmail server.
Any ideas on what I'm doing wrong?
Even if this works. This would be per user, not per mailnode. What syntax should I use to forward a whole maildnode to that server. So USER@domain.com becomes USER@qmail.domain.com?
Appreciate any help you can give. I'm a qmail guy, in a Scalix world.

mikevl
Scalix Star
Scalix Star
Posts: 596
Joined: Mon Feb 02, 2004 8:32 pm
Location: New Zealand

Postby mikevl » Sat Dec 15, 2007 2:33 pm

Hi

is there a DNS record that points to the qmail server?

forward [qmailuser@qmail.domain.com |

ie

/etc/hosts

xxx.xxx.xxx.xxx qmail.domain.com qmail

but this would be better set up in you DNS server records

Mike


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 1 guest

cron