Exim or Postfix problem?

rvandam

Verified User
Joined
Aug 28, 2009
Messages
41
I am trying to setup a software pbx (Trixbox). Trixbox uses postfix to send e-mail voicemail notifications. The problem is that these notifications are refused by my Directadmin server. I am 100% sure that the credentials I used for the Directadmin smtp server are right.

This is the error message from my Trixbox server:

Dec 28 17:01:49 trixbox1 postfix/smtp[4589]: A83FC8F6B21: to=<myemailaddress>, relay=mail.myserver.nl[myipnumber]:588, delay=1117, delays=1116/0.97/0.41/0, dsn=5.0.0, status=bounced (SASL authentication failed; server mail.myserver.nl[myipnumber] said: 535 Incorrect authentication data)


This is the error message on my Directadmin server:

2010-12-28 11:18:42 plain authenticator failed for myhomeipnumber (trixbox1.localdomain) [myhomeip]: 535 Incorrect authentication data (set_id=username)

Postfix tries to use SASL to authenticate. Is this supported by the provided Exim? Any hints how to find out where things to wrong?
 
Seems that the postfix client is only sending the credentials partially. So I will go to the Postfix mailinglist for further help.
 
I thought Postfix was sending the credentials partially, but it turned out my network capture program was only capturing the tcp-headers. My real problem is that Trixbox is using an old version of Postfix 2.3.3 These versions try to authenticate with SASL authoriZation ID (authzid); the SASL authentiCation ID (authcid) plus the authcid's password. This results in a
username:username:password string as authentification. This leads to a 535 Incorrect authentication data (set_id=username) error.

In this old Postfix version this behaviour cannot turned off. The newer versions have an option send_cyrus_sasl_authzid = no

Is there a way to configure Exim to deal with this kind of authentification?
 
Is any of this helpful?

Note: search for cyrus.

Or if possible update postfix.

Is your Trixbox machine on a static IP#? If so, set exim up to relay all from that IP#.

Or perhaps set up something on your Trixbox machine to read an empty mailbox on your DirectAdmin machine (perhaps every five minutes) and use popb4smtp for authentication.

Jeff
 
I decided to leave my production server with Exim alone, and to update Postfix. From version 2.4.4 you can set send_cyrus_sasl_authzid = no, and this works perfectly with Exim.

The idea of relaying from a fixed ip address, would be my second bet. I would never had thought of such a solution.

Thanks for the reply.
 
Back
Top