NEWBIE - can't send mail - - needs HELP

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

rnelson
Posts: 13
Joined: Mon Feb 13, 2006 2:19 pm

NEWBIE - can't send mail - - needs HELP

Postby rnelson » Thu Feb 23, 2006 2:03 pm

Installed 9.4.2 community edition on suse 9.3 pro.

I can send mail when I use web access with no problem

I can send mail using Thunderbird when I'm inside the network with no problem

When I'm outside the network (at home) and I use Thunderbird, I get an error message stating:

"an error occurred while sending mail. The mail server responded: Denied due to spam list. Please verify that your email address is correct in your Mail preferences and try again"

My smtpd.cfg looks like this

RELAY accept 127.0.0.1
RELAY accept Internal ip address
RELAY accept .domainname.net mail.domainname.net
RELAY Log_Reject ALL

# extra rules added to prevent open relay usage
RECIPIENT Log_Reject *@*@*
RECIPIENT Log_Reject *%*
RECIPIENT Log_Reject *!*
RECIPIENT Log_Reject *#*@*

I have made modifications to this file based on other posts I read, when I couldn't send mail using webaccess. I'm sure this is an easy fix...but I don't know the answer.

All my users are located outside the network and need the capability to use this mail server as their smtp relay. Is this even possible?

Thanks for your help

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

Postby ScalixSupport » Thu Feb 23, 2006 2:24 pm

It's likely that the RELAY accept line with the domain name is incorrect. You just need

Code: Select all

RELAY accept domainname.net


This will include all domains ending in domainname.net.

Make the change and restart the SMTP Relay. If that doesn't work, it indicates that the submitting client isn't in the domainname.net domain.

The simplest way to resolve this is to authenticate with the SMTP Relay. There is an implicit rule that anyone who successfully authenticates is able to relay outside of the domain.

Cheers

Dave

rnelson
Posts: 13
Joined: Mon Feb 13, 2006 2:19 pm

Postby rnelson » Thu Feb 23, 2006 2:55 pm

I made the change and still not able to send from outside the network. Your statement ....

"The simplest way to resolve this is to authenticate with the SMTP Relay. There is an implicit rule that anyone who successfully authenticates is able to relay outside of the domain."

all of my users will be outside the domain so this is what I'm trying to do. Just as a quick test when I remove the RELAY Log_Reject ALL line I can send mail. What I think I figured out is that removing this line will make me an open relay. Yes? And I know I don't want to do this.

Here's the changed smtpd.cfg that still doesn't allow authenticated users to send mail.

RELAY accept 127.0.0.1
RELAY accept 192.168.1.80
RELAY accept mail.domainname.net
RELAY Log_Reject ALL

# extra rules added to prevent open relay usage
RECIPIENT Log_Reject *@*@*
RECIPIENT Log_Reject *%*
RECIPIENT Log_Reject *!*
RECIPIENT Log_Reject *#*@*

When I configure thunderbird or OE to authenticate on the smtp send I am using my username@domainname.net to authenticate.

Is it a problem that my server name is

mail.domainname.net

and my e-mail addresses are just username@domainname.net?

Thanks again for your quick response and assistance.

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Sat Feb 25, 2006 7:52 am

Well, I believe Dave (excuse him, he's heavily loaded supporting all the new Scalix 10 customers we got since the release last week) should have included an additional bit of information.

To enable SMTP authentication, you need to insert the following line directly before the RELAY lines in the config file:

AUTH_SUCCESS accept ALL


and again restart the SMTP relay!

Hope this helps,
Florian.
Florian von Kurnatowski, Die Harder!


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 6 guests

cron