Multiple domains in scalix & local delivery problem

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

Shaun
Posts: 47
Joined: Mon Nov 12, 2007 10:54 am

Multiple domains in scalix & local delivery problem

Postby Shaun » Fri Dec 14, 2007 11:54 am

Hi there,

I have an issue at present that I'm hoping someone can help me with.

I have a scalix box (11.x community edition) which has a single mailnode. The server has 3 emails domains defined (a.com,b.com,c.com)

If I telnet into port 25 and send a test email to a user in domain a - that's fine. if I try and send a message to the same user, but using an address set up for them as user@b.com or user@c.com, it gets delivered locally to the unix mailbox, rather than through scalix.

My assumption, is that the rules that scalix uses through sendmail, check to see if the email domain is a scalix one (possibly by using an ldap mapper), and then routes it to the scalix mailer.

How does sendmail know which domains should be routed to the scalix mailer for delivery? Is this a sendmail problem, or is it a setting in scalix I've missed?

Thanks in advance.

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Tue Dec 18, 2007 4:35 am

Does your mailboxes have all 3 addresses defined when you view the user in SAC? By default the Scalix SMTP relay listens to incoming mail and delivers it to all the local mailboxes before passing the remainder on to sendmail.

Sendmail can do LDAP lookups and pass mail back into Scalix, but only if that address is explicitly associated with a mailbox.

dwerthmu
Posts: 84
Joined: Wed Apr 04, 2007 11:19 am

Postby dwerthmu » Tue Dec 18, 2007 4:39 pm

I'm having the same issue,

sendmail is delivering mail locally and not passing it off to scalix

scalix can send to its self

users where created with
opt/scalix/bin/omaddu -n "FirstName Lastname/mailnode/IA=username@center.tld" -l en_US -p --locked-password username

When I send an email to the server via an internet based webmail to username@mailnode.center.tld it goes to the users local sendmail folder and stays there.

Host is a rhel5 with licensed scalix 11.2, this worked before on a test machine same setup with 11.1.

thoughts?

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Wed Dec 19, 2007 3:30 am

That's because the email address being sent to must exist exactly as it was sent to. This was the case since I started with Scalix, so I am not sure how you got it to work with 11.1.

You need to either add the second address to the user or rewrite the recipient address before Scalix gets it. Or add a .forward to the local mailbox.

dwerthmu
Posts: 84
Joined: Wed Apr 04, 2007 11:19 am

Postby dwerthmu » Wed Dec 19, 2007 1:15 pm

created an alias email for the user and that works. so we are good.

when we create the accounts on the production machine we will create them like
sudo omaddu -n "Firstname Lastname/mailnode/IA=username@domain.tld=username@host.domain.tld" -l en_US -p --locked-password username

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Thu Dec 20, 2007 3:42 am

The address that's named first is used for outgoing mail. I suggest you swap the two around, but it's your choice.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 3 guests

cron