SMTP AUTH passthrough?

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

burhankhalid
Posts: 137
Joined: Mon Dec 19, 2005 8:31 am

SMTP AUTH passthrough?

Postby burhankhalid » Tue Nov 14, 2006 7:47 am

I have scalix setup as an outgoing MTA only, as incoming emails are received at a separate machine, scanned and then forwarded to Scalix.

Everything is working flawlessly IF the user is accessing Scalix from inside the local lan or via SWA, the minute you try to access Scalix from another client -- this happens:

Nov 14 14:42:12 localhost postfix/smtpd[21397]: NOQUEUE: reject: RCPT from unknown[217.69.191.66]: 450 <burhan.khalid@am-ul.com>: Recipient address rejected: Greylisted, see http://isg.ee.ethz.ch/tools/postgrey/he ... .com.html; from=<burhan.khalid@am-ul.com> to=<burhan.khalid@am-ul.com> proto=ESMTP helo=<PC461715146293>


This is a test message that I sent to myself from Outlook running on a machine outside the network. It rejected my message, and I think its because eventhough I have enabled outgoing email authentication, it is not taking place in this setup.

In this case, my incoming email server is postfix running on a separate machine with mailwasher and a bunch of scanning+anti-spam+anti-virus applications, it then passes on the message via local smtp to the scalix machine for delivery.

I googled for a while and I found a way to check email addresses in postfix via ldap lookup (this example) but then I read in the forums that user passwords in Scalix are not stored in the ldap directory, but somewhere else.

Is there a way to configure this so that users can authenticate before sending? Am I barking up the wrong tree here?

hindog
Posts: 29
Joined: Mon Nov 20, 2006 5:31 pm

Postby hindog » Tue Nov 28, 2006 2:28 am

I also need this functionality

burhankhalid
Posts: 137
Joined: Mon Dec 19, 2005 8:31 am

Postby burhankhalid » Tue Nov 28, 2006 4:33 am

I managed to solve this problem using SASL and having it authenticate users via IMAP. Worked great :)

hindog
Posts: 29
Joined: Mon Nov 20, 2006 5:31 pm

Postby hindog » Tue Nov 28, 2006 6:03 pm

Using what SASL provider? Cyrus SASL?

burhankhalid
Posts: 137
Joined: Mon Dec 19, 2005 8:31 am

Postby burhankhalid » Wed Nov 29, 2006 1:31 am

Yes Cyrus SASL, make sure you have the rimap mechanism installed for your library (check saslauthd -v):

Code: Select all

[root@guardian ~]# saslauthd -v
saslauthd 2.1.20
authentication mechanisms: getpwent kerberos5 pam rimap shadow ldap


Then just adjust your configuration for saslauthd and add the rimap option:

Code: Select all

MECH=shadow
MECH="rimap -O your.scalix.server"

FLAGS="-r"


(I have -r because my authentication token requires the domain name, not just the email username).

Hope that helps

hindog
Posts: 29
Joined: Mon Nov 20, 2006 5:31 pm

Postby hindog » Wed Nov 29, 2006 5:45 pm

works great, thanks


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 1 guest

cron