smarthost works but not as expected

Discuss the Scalix Messaging Services

Moderator: ScalixSupport

TCWardrobe
Posts: 64
Joined: Fri Aug 18, 2006 7:33 pm

smarthost works but not as expected

Postby TCWardrobe » Mon Nov 05, 2007 6:01 am

Hi folks, long time no see ;)

it took longer than expected but now I am about to roll out scalix CE on a small network. Now I have some small things that confuse me. One at a time:

The scalix server is inside a corporate network, no direct access to it from the outside and dynamic ip addresses are used so sendimg directly to mail recipients other than the local scalix users would not work due to RBL spamlists (error 550 iirc), no big deal, it works in general (even if fetchmail is not set up yet). I did set up a /etc/mail/authinfo and in there for every user one line. As I did this, somewhere in the process (took me a while to figure out what to do to make the changes known to scalix / the system in general, so don't remember when exactly) "make" or "omsendin" (as said, dunno) or whatever complained about duplicate entries in /etc/mail/authinfo for the smarthost I use. I tested this a day later, added another scalix user (same e-mail domain as the others) but did not provide an entry for this user in authinfo, sent a mail, tail -f /var/log/mail.log, mail sent correctly, mail arrived...
No big deal here too... for mail users with the exact same mail domain / smarthost, but what if mail users with other mail domains hosted at other service providers come into the game?

Btw. this is on Debian Etch... some glitches during install but works in general

greetings
Michael

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

Postby Valerion » Mon Nov 05, 2007 9:41 am

I am not quite following your explanation there, maybe you can clarify a little?

I gather you want to send mail out through a server that requires authentication (ISP, perhaps). In this case you just need a single entry in authinfo, for the server itself. And have the SMART_HOST in sendmail.mc, of course (or DS in sendmail.cf).

TCWardrobe
Posts: 64
Joined: Fri Aug 18, 2006 7:33 pm

Postby TCWardrobe » Wed Nov 07, 2007 3:34 pm

Valerion wrote:I am not quite following your explanation there, maybe you can clarify a little?

I gather you want to send mail out through a server that requires authentication (ISP, perhaps). In this case you just need a single entry in authinfo, for the server itself. And have the SMART_HOST in sendmail.mc, of course (or DS in sendmail.cf).


that is exactly what I did... but what if some mail accounts require another smarthost? I did this once with exim not a real issue, what about sendmial there?

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

Postby Valerion » Thu Nov 08, 2007 8:05 am

On a per-domain/machine level you can set certain exclusions easily in the mailertable file. eg:

Code: Select all

domain1.com<TAB>esmtp:relay-host1.domain.com
domain2.com<TAB>esmtp:relay-host2.domain.com


Return to “Scalix Messaging Services”



Who is online

Users browsing this forum: No registered users and 2 guests