Page 1 of 1

sending mail while outside network

Posted: Tue Aug 08, 2006 11:28 am
by DDavid
How can my users send or reply to email from outside of our network, using scalix as SMTP server.

Posted: Tue Aug 08, 2006 9:01 pm
by leigh
If your users are on fixed IPs, you can edit /var/opt/scalix/sys/smtpd.cfg and allow relaying from their IP addresses.

Posted: Wed Aug 09, 2006 8:38 am
by btisdall
And of course by default any user can relay from any IP using a valid Scalix authid & password.

Bear in mind the Scalix smtpd relay doesn't support secure authentication or SSL out of the box so you'll need a solution such as Stunnel (easy, search the forum) if you consider your users' logon credentials being sent in clear text over the wire a significant risk.

Posted: Thu Aug 10, 2006 5:01 pm
by florian
Not 100% accurate..... :-)

The authentication mechanism of the SMTP relay relies on SASL, as such some secure authentication mechanisms are supported.

Code: Select all

fvk-mbp:~ fvk$ telnet hagrid.us.scalix.com smtp
Trying 10.17.32.52...
Connected to hagrid.us.scalix.com.
Escape character is '^]'.
220 hagrid.us.scalix.com ESMTP Scalix SMTP Relay 10.0.2.2; Thu, 10 Aug 2006 13:59:32 -0700 (PDT)
EHLO localhost
250-hagrid.us.scalix.com Hello duncan.us.scalix.com [10.17.1.111], pleased to meet you
250-AUTH DIGEST-MD5 GSSAPI PLAIN CRAM-MD5 LOGIN
250-AUTH=LOGIN
250-DSN
250 8BITMIME


Note the "AUTH" lines....

Of course, adding SSL or TLS using stunnel improves the situation further.

Cheers,
Florian.

Posted: Thu Aug 10, 2006 5:03 pm
by btisdall
Oh dear, I must practice my noting :-)