SMTP Authentication

Discuss the Scalix web client

Moderators: ScalixSupport, admin

rudi
Posts: 289
Joined: Mon Nov 22, 2004 6:53 am

SMTP Authentication

Postby rudi » Wed Mar 01, 2006 7:59 am

Hi,

I have a problem with SMTP Authentication. I have inserted the line ANONYMOUS reject ALL in smtpd.cfg. After restart off smtpd it is allowed to send mail via smtp and user authentication.

But, the Scalix smtpd doesn't receive mails. The sender receipt the following message:

The original message was received at Wed, 1 Mar 2006 12:13:48 +0100
from localhost [127.0.0.1]

----- The following addresses had permanent fatal errors -----
<user@domain.com>
(reason: 530 Authentication required)

----- Transcript of session follows -----
... while talking to mail.bbi.at.:
>>> MAIL From:<user@other.com>
<<< 530 Authentication required
554 5.0.0 Service unavailable

How can I say the Scalix SMTP to receive messages and also use ANONYMOUS reject ALL.

Thanks for help!!

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Mar 01, 2006 10:56 am

Can you tell me what you are trying to achieve ?

If you are looking to force authentication then what you have configured is correct.
However, if you are looking to force authenticatiion just for clients, you need to use a second IP address for your Scalix server and have your clients connect to that second IP address. You will then need a line in smtpd.cfg that reads

Code: Select all

ANONYMOUS reject xx.xx.xx.xx
where xx.xx.xx.xx is the second IP address.

You will need to stop and restart the SMTP Relay to pick up the change.

Cheers

Dave

rudi
Posts: 289
Joined: Mon Nov 22, 2004 6:53 am

Postby rudi » Thu Mar 02, 2006 4:21 am

Hi,

the Scalix Server will also be used as a simply pop3 and smtp server. Now, I will prevent that the users send an email with another name and email-address. So the users have to authenticate on the Scalix SMTP.

I have used this lines in smptd.cfg:

ANONYMOUS Reject 10.
ANONYMOUS Accept ALL

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Thu Mar 02, 2006 6:02 am

The sequence is also important, please post the complete file minus the "#" comments.

Cheers,

Sascha.

rudi
Posts: 289
Joined: Mon Nov 22, 2004 6:53 am

Postby rudi » Thu Mar 02, 2006 6:29 am

here is the smtpd.cfg:

smtpfilter=true

RELAY accept 127.0.0.1
RELAY accept 10.0.0.0/255.255.0.0
RELAY accept 10.1.0.0/255.255.0.0
RELAY accept 10.10.0.0/255.255.0.0
RELAY accept 10.11.0.0/255.255.0.0
RELAY accept 10.12.0.0/255.255.0.0
RELAY accept 10.13.0.0/255.255.0.0
RELAY accept 10.20.0.0/255.255.0.0
RELAY accept 10.21.0.0/255.255.0.0
RELAY accept 10.30.0.0/255.255.0.0
RELAY accept 10.40.0.0/255.255.0.0
RELAY accept 10.50.0.0/255.255.0.0
RELAY accept 10.60.0.0/255.255.0.0
RELAY accept 10.61.0.0/255.255.0.0
RELAY accept 10.70.0.0/255.255.0.0
RELAY accept 10.71.0.0/255.255.0.0
RELAY accept 10.80.0.0/255.255.0.0

RELAY accept @bbi.at
RELAY accept .bbi.at
RELAY accept vfbs.at
RELAY accept .vfbs.at
RELAY Log_Reject ALL

ANONYMOUS Reject 10.
ANONYMOUS Accept ALL

RECIPIENT Log_Reject *@*@*
RECIPIENT Log_Reject *%*
RECIPIENT Log_Reject *!*
RECIPIENT Log_Reject *#*@*


Return to “Scalix Web Access”



Who is online

Users browsing this forum: No registered users and 3 guests