Scalix won't accept certain messages..

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

Kris
Posts: 247
Joined: Tue Jul 04, 2006 7:24 am

Scalix won't accept certain messages..

Postby Kris » Tue Nov 14, 2006 12:17 pm

We're in the process of migrating to Scalix, and I've made some changes to our e-mail system. Our "old" e-mail server (Postfix) was configured to relay e-mail to another Postfix server in our DMZ. This machine then relays the e-mail to an e-mail server from our Internet provider.

Now I've changed that our internal mailserver no longer relays his e-mail to the machine in the DMZ, but to the scalixserver. Scalix then accepts the message en relays the mail to the machine in our DMZ. I've tested this, and it worked, so I was happy.

Today I received a call that some automated messages from our Streamserve server are not being delivered to our customers. Those messages are deliverd to our internal e-mail server, and this mailserver should relay them as any other message to the Scalix server. But it won't. Scalix refuses the messages.

This is the error message I get in the mail.log file on my Postfix server:

Code: Select all

Nov 13 10:14:22 mail postfix/smtp[9447]: 156149C11F: to=<x@x.x>, relay=scalixserver.domain.com[192.168.16.8], delay=0, status=bounced (host scalixserver.domain.com[192.168.16.8] said: 501 5.5.2 Syntax error in parameters scanning "FROM" (in reply to RCPT TO command))


On the Scalix server I can't find any information on why the syntax is incorrect..

Does anyone know how to resolve this, or where to find more information on this error on my scalix server?

Kris
Posts: 247
Joined: Tue Jul 04, 2006 7:24 am

Postby Kris » Wed Nov 15, 2006 5:59 am

I think this issue is resolved now, I monitored the SMTP transaction between Streamserve and our old mailserver, and noticed that it used an empty "From" field, like:
MAIL FROM:<>.

Our old mailserver accepted this, but Sendmail on Scalix gives an OK at first, but gives an error as soon as the RCPT TO commando is given.

Code: Select all

root@pop:~ # telnet scalixserver 25
Trying 192.168.16.8...
Connected to scalixserver
Escape character is '^]'.
220 scalixserver ESMTP Scalix SMTP Relay 10.0.1.3; Wed, 15 Nov 2006 10:58:12 +0100 (CET)
MAIL FROM:<>
250 ... Sender ok
RCPT TO: info@rtl4.nl
501 5.5.2 Syntax error in parameters scanning "FROM"
quit
221 scalixserver closing connection
Connection closed by foreign host.

Kris
Posts: 247
Joined: Tue Jul 04, 2006 7:24 am

Postby Kris » Wed Nov 15, 2006 6:57 am

Okay, not resolved yet :roll:

I've done some searching, and found that Sendmail should not block an empty envelope sender. I did some more testing, and found out the following:

- On the Scalixserver self: no problems (tested with a telnet to localhost:25).
- When I connect to the Scalix server from another system (in the same network), it will give no problem, as long as the mail is to be delivered on the Scalix server itself. If the mail is for an e-mail adress outside Scalix, it will give the error..

I must be able to configure this somewhere, but I don't know where to look.. I'm not very used to sendmail, I've always worked with Postfix :wink: :roll:

Kris
Posts: 247
Joined: Tue Jul 04, 2006 7:24 am

Postby Kris » Wed Nov 15, 2006 8:22 am

Some more information:

When I shutdown Sendmail, messages with an empty MAIL FROM: are accepted. So I conclude this is somewhere in the Sendmail configuration..

I've rules like:
192.168.16 RELAY
in my /etc/mail/access file. After adding those lines, I created the access.db file and restarted sendmail, but no luck.

In my /var/opt/scalix/sys/smtpd.cfg I've also added lines like:
RELAY accept 192.168.16.
and restarted the Scalix smtp relay server..

What am I doing wrong here?? :cry:

Kris
Posts: 247
Joined: Tue Jul 04, 2006 7:24 am

Postby Kris » Wed Nov 15, 2006 10:15 am

Okay, I've found it..

http://www.scalix.com/community/viewtopic.php?t=3789

In the bugtracker I've read that this bug is fixed in server version 10.0.5.3, but I can't find a version higher then 10.0.1 when I download it. This new version is not available to CE users I'm afraid? :?

dkelly
Scalix
Scalix
Posts: 593
Joined: Thu Mar 18, 2004 2:03 pm

Postby dkelly » Wed Nov 15, 2006 11:55 am

Kris wrote:Okay, I've found it..

http://www.scalix.com/community/viewtopic.php?t=3789

In the bugtracker I've read that this bug is fixed in server version 10.0.5.3, but I can't find a version higher then 10.0.1 when I download it. This new version is not available to CE users I'm afraid? :?


10.0.5 isn't out yet but it will be. Our priority has been Scalix 11 so the release date for a 10.0.5 patch has been pushed back slightly. We're hoping to release it in the next couple of weeks depending on any other issues.

Cheers

Dave

Kris
Posts: 247
Joined: Tue Jul 04, 2006 7:24 am

Postby Kris » Wed Nov 15, 2006 11:58 am

Okay, thanks for your response!

Can't wait to install this new release, because this bug is kind of annoying, because we're in the middle of migrating to Scalix SBE.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 3 guests