Multiple Email-Accounts and different smart hosts

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

darkwave
Posts: 35
Joined: Tue Aug 21, 2007 3:47 am

Multiple Email-Accounts and different smart hosts

Postby darkwave » Tue Dec 04, 2007 2:35 pm

Hi @ all

I just set up a scalix sever. Now I have a basic question.
how is it possible to assign multiple emails to a user? The user should be able to choose over witch email-address (smart host) a new message will be delivered.
The scalix server is in an local lan with a non public domain name. I have 4 smart hosts over witch I can send emails. According to the chosen email-address, the right smart host should be used.

Actually I have one smart host in the sendmail config and a user has one email with the local domain. before the sending process the local email address is translated to a valid address of the smart host. that's the only possibility to send an email over this smart host. other domains are not accepted.

So, based on the email address with witch a message should delivered, the right smart host should be chosen by sendmail.
But how can I add multiple emails to one account and how do I tell sendmail witch smart host should be used??

any ideas??

thanks a lot
darkwave

darkwave
Posts: 35
Joined: Tue Aug 21, 2007 3:47 am

Postby darkwave » Wed Dec 05, 2007 5:46 am

No ideas?

I can't believe that there is no possibility to send messages over different email accounts?
I'm pretty sure that nearly everyone is using / would like to use this "feature" ;) isn't it??

thanks

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

Postby Valerion » Wed Dec 05, 2007 6:44 am

You cannot use Outlook or SWA to send as multiple email addresses, unless you use delegation. Yes, it is something I want as well :) However, doing it through an IMAP/POP3 client works.

I just can't think of a way to direct to multiple smarthosts based on the sender address, it is fairly easy to do based on the recipient's domain.

darkwave
Posts: 35
Joined: Tue Aug 21, 2007 3:47 am

Postby darkwave » Wed Dec 05, 2007 12:49 pm

thanks for the answer..

and what about if I configure different domains? Based on the chosen domain (From field), when I write a new message, it should be possible to use different smart hosts for each source-domain?? isn't it?

All I need is something the check in sendmail from witch domain the message was sent. based on that, the right smart host can be used!?

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

Postby Valerion » Thu Dec 06, 2007 5:36 am

Unfortunately this is out of my field of expertise in sendmail. You will have to contact a sendmail expert, or look in the sendmail documentation.

darkwave
Posts: 35
Joined: Tue Aug 21, 2007 3:47 am

Postby darkwave » Thu Dec 06, 2007 8:34 am

I found a way. it is described in here [url]http://groups.google.com/group/comp.os.linux.setup/browse_thread/thread/6dd01d889fccfd50/31fb588a9c55fc4d%2331fb588a9c55fc4d
[/url]
Seems to be a bit complicated but works fine.
If there are any questions, I probably can help..

I'm still wondering how it works if scalix is used in a company with a lot of users which like to use different smtp-servers ?? do they have to use all the same one? and what about if the primary smtp-server fails, is there a possibility in scalix to use an other one??

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

Postby Valerion » Thu Dec 06, 2007 8:52 am

Mmm ... at a quick glance it doesn't look too hard to do.

Scalix doesn't use an SMTP server for UAL connections (via Outlook), and it uses its own SMTP server for POP3/IMAP/SWA connections, so that should never go down either. For outgoing mail a different MTA is used (usually either sendmail or postfix). It is the job of this MTA to deliver outgoing email, Scalix is acting as a mail client in this scenario.

So if you need to select a fall-back mechanism, you need to put it in the sendmail config files. I know sendmail has got the concept of differing delivery locations and links, and costs associated with each (cost here can be e.g. latency, not just money), so I am certain it's possible.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 3 guests

cron