Denied due to spam list.

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

mia
Posts: 14
Joined: Mon Mar 19, 2007 7:36 am

Denied due to spam list.

Postby mia » Mon Apr 30, 2007 8:17 am

Hi
I am having an issue with unknown user bounce message, I have read the other post relating to this issue but the solutions do not to work, so unless I am missing something I am really stuck.

Whenever I send a message to unknow@mydomain.com I am expecting back a bounce like;

The original message was received at Fri, 20 Apr 2007 13:50:56 +0100
from pc.domain.com [x.x.x.x]
with id l3KCotjQ009923

----- The following addresses had permanent fatal errors -----
<someone@somewhere.com>
(reason: 550 5.1.1 <someone@somewhere.com>... User unknown)

----- Transcript of session follows -----
... while talking to some.domain.com.:
>>> DATA
<<< 550 5.1.1 <someone@somewhere.com>... User unknown
550 5.1.1 <someone@somewhere.com>... User unknown
<<< 503 5.0.0 Need RCPT (recipient)


but instead i am getting,

The original message was received at Mon, 30 Apr 2007 12:55:57 +0100
from myScalixServer.com [x.x.x.x]

----- The following addresses had permanent fatal errors -----
<unknown@mydomain.com>
(reason: 550 Denied due to spam list)

----- Transcript of session follows -----
... while talking to myScalixServer.com.:
>>> RCPT To:<unknown@mydomain.com>
<<< 550 Denied due to spam list
550 5.1.1 <unknown@mydomain.com>... User unknown


smtd.cfg file.
RELAY accept 127.0.0.1
RELAY accept myScalixServer.com
RELAY accept x.x.x.x
RELAY Log_Reject ALL

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

We do not have reverse DNS configured just forward. So I have added the relevant external IP.

Any help or suggestions will be greatly appreciated.

Kind regards
Maria

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

Postby ScalixSupport » Mon Apr 30, 2007 9:11 am

Hi Maria!

Did you restart smtpd using the commands below, if not do it now:

Code: Select all

omoff -wd 0 smtpd
omon smtpd

If you search this forum for "Denied due to spam list" you could find so many solutions, see
if it helps.

Thanks,
Subir

les
Scalix Star
Scalix Star
Posts: 819
Joined: Thu Feb 23, 2006 10:18 am
Location: Sydney, Australia

Re: Denied due to spam list.

Postby les » Mon Apr 30, 2007 9:36 am

mia wrote:Hi
I am having an issue with unknown user bounce message, I have read the other post relating to this issue but the solutions do not to work, so unless I am missing something I am really stuck.

Whenever I send a message to unknow@mydomain.com I am expecting back a bounce like;

The original message was received at Fri, 20 Apr 2007 13:50:56 +0100
from pc.domain.com [x.x.x.x]
with id l3KCotjQ009923

----- The following addresses had permanent fatal errors -----
<someone@somewhere.com>
(reason: 550 5.1.1 <someone@somewhere.com>... User unknown)

----- Transcript of session follows -----
... while talking to some.domain.com.:
>>> DATA
<<< 550 5.1.1 <someone@somewhere.com>... User unknown
550 5.1.1 <someone@somewhere.com>... User unknown
<<< 503 5.0.0 Need RCPT (recipient)


but instead i am getting,

The original message was received at Mon, 30 Apr 2007 12:55:57 +0100
from myScalixServer.com [x.x.x.x]

----- The following addresses had permanent fatal errors -----
<unknown@mydomain.com>
(reason: 550 Denied due to spam list)

----- Transcript of session follows -----
... while talking to myScalixServer.com.:
>>> RCPT To:<unknown@mydomain.com>
<<< 550 Denied due to spam list
550 5.1.1 <unknown@mydomain.com>... User unknown


smtd.cfg file.
RELAY accept 127.0.0.1
RELAY accept myScalixServer.com
RELAY accept x.x.x.x
RELAY Log_Reject ALL

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

We do not have reverse DNS configured just forward. So I have added the relevant external IP.

Any help or suggestions will be greatly appreciated.

Kind regards
Maria


sounds a little unclear.....

is "myscalixserver.com" and "mydomain.com" one and the same?

are you using outlook or imap to send? if its outlook it should work, swa should also work. If its imap you need appropriate RELAY lines in smtpd.cfg

The error actually says YOU, or "unknown@mydomain.com" do not exist. This is usually due to a lack of a "RELAY accept mydomain.com" line in smtpd.cfg when you are using imap.

Make sure your smtpd.cfg is correct.
Regards,

Les Stott

mia
Posts: 14
Joined: Mon Mar 19, 2007 7:36 am

Denied due to spam list.

Postby mia » Mon Apr 30, 2007 10:42 am

Subir.
I have restarted the smtpd using omoff ... and omon. As I ahve allready mentioned I have been all theposts containing the words 'Denied due to spam list' I have still have not got anywhere hence posting this message.
But thanks for the response.

mia
Posts: 14
Joined: Mon Mar 19, 2007 7:36 am

Denied due to spam list.

Postby mia » Mon Apr 30, 2007 10:57 am

Les
Thank you for the reply, when i say myScalixServer.com I am referring to the hostname of the server on the internal network. And myDomain.com is the domain to which the MX ties.

Curiously when I use the Scalix Web Access and send a message to an unknown users, I get no bounce message returned. Although when I send a mesage to an unknown user from my ntl email account I get the same 'Denied due to spam list' message returned.

As for which client, I am currently using Evolution 2.8 with Centos 5 with the Scalix Connector installed.

You said I must ensure that the smtpd/cfg file is correct, as Reverse DNS is not configured for this domain, surely all I would need in that file is the IP addresses?

All I want is for the unknown user bounce message to return Unknown User, instead of this 'Denied due to spam list' error.

les
Scalix Star
Scalix Star
Posts: 819
Joined: Thu Feb 23, 2006 10:18 am
Location: Sydney, Australia

Re: Denied due to spam list.

Postby les » Mon Apr 30, 2007 11:13 am

mia wrote:Les

As for which client, I am currently using Evolution 2.8 with Centos 5 with the Scalix Connector installed.

You said I must ensure that the smtpd/cfg file is correct, as Reverse DNS is not configured for this domain, surely all I would need in that file is the IP addresses?

All I want is for the unknown user bounce message to return Unknown User, instead of this 'Denied due to spam list' error.


you will definitely need

RELAY accept mydomain.com

in your smtpd.cfg. Restart smtpd after adding that and you'll get around the error.

It depends on the email client as to wheter you need to relay accept from hostnames or ip addresses or domain names. The connector uses domain names, imap uses ip addresses. SWA is completely different.

However you just opened up a can of worms for me...could be something i've configured on my system, but when i sent an email from scalix connect for outlook to aduduser@les-domain.com it actually got forwarded out via my smart host (to upstream isp smtp server), then back, then out, then back...etc...until it got too many hops and died in postmasters arms. It should have rejected straight away....go figure. I'll check that one out.
Regards,

Les Stott

mia
Posts: 14
Joined: Mon Mar 19, 2007 7:36 am

Denied due to spam list.

Postby mia » Mon Apr 30, 2007 11:50 am

Les
From what I have read so far, the output of hostname --fqdn should be in the smtpd.cfg file, I have also found that if I have incorrect entries in the smtpd file then of it goes hopping round and eventually replies with to many hops.

I am currently going for the trail and error approach,

Maria

mia
Posts: 14
Joined: Mon Mar 19, 2007 7:36 am

Denied due to spam list.

Postby mia » Mon Apr 30, 2007 12:31 pm

I have noticed this in the return message, (bold and enlarged) Not sure if the . is causing or at least contributing to this error. I did read in another post that a . did at least contribute to this error but the solution there did not work in my case.

Do any of the scalix guys have any other idea's I feel like I am going in circles and getting no-where. This error is halting the rollout of the product.
----- Transcript of session follows -----
... while talking to some.domain.com.:
>>> DATA
<<< 550 5.1.1 <someone@somewhere.com>... User unknown
550 5.1.1 <someone@somewhere.com>... User unknown
<<< 503 5.0.0 Need RCPT (recipient)

les
Scalix Star
Scalix Star
Posts: 819
Joined: Thu Feb 23, 2006 10:18 am
Location: Sydney, Australia

Re: Denied due to spam list.

Postby les » Mon Apr 30, 2007 12:36 pm

mia wrote:Les
From what I have read so far, the output of hostname --fqdn should be in the smtpd.cfg file, I have also found that if I have incorrect entries in the smtpd file then of it goes hopping round and eventually replies with to many hops.

I am currently going for the trail and error approach,

Maria


I posted another topic because by investigating your issue i found another one.
viewtopic.php?t=7254&start=0&postdays=0&postorder=asc&highlight=


I just did a fresh install on a new machine. Default out of the box smtpd.cfg looks like...

# NB Authenticated RELAYs are always allowed
RELAY accept 127.0.0.1
RELAY accept .mydomain.com
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 not heard of needing hostname --fqdn (which in my case would be mail.mydomain.com) in smtpd.cfg, and i never use it on any of my sites.
I always just leave the default as above, and if i need to do imap i relay allow the ip address range.

Where did you read that? in the docs? forum?
Regards,

Les Stott

mia
Posts: 14
Joined: Mon Mar 19, 2007 7:36 am

Denied due to spam list.

Postby mia » Mon Apr 30, 2007 1:08 pm

I read that in one of the many psosts referring to this error.

les
Scalix Star
Scalix Star
Posts: 819
Joined: Thu Feb 23, 2006 10:18 am
Location: Sydney, Australia

Re: Denied due to spam list.

Postby les » Mon Apr 30, 2007 1:25 pm

mia wrote:I have noticed this in the return message, (bold and enlarged) Not sure if the . is causing or at least contributing to this error. I did read in another post that a . did at least contribute to this error but the solution there did not work in my case.

Do any of the scalix guys have any other idea's I feel like I am going in circles and getting no-where. This error is halting the rollout of the product.
----- Transcript of session follows -----
... while talking to some.domain.com.:
>>> DATA
<<< 550 5.1.1 <someone@somewhere.com>... User unknown
550 5.1.1 <someone@somewhere.com>... User unknown
<<< 503 5.0.0 Need RCPT (recipient)


thats not a problem. that's standard format.

Have you modified the smtpd.cfg and tested as i suggested?

i.e. please try this in your smtpd.cfg....

RELAY accept .mydomain.com

make sure you have a "." before your domain name. You can only stop going in circles if you try other things.
Regards,

Les Stott

les
Scalix Star
Scalix Star
Posts: 819
Joined: Thu Feb 23, 2006 10:18 am
Location: Sydney, Australia

Re: Denied due to spam list.

Postby les » Mon Apr 30, 2007 1:33 pm

les wrote:
mia wrote:I have noticed this in the return message, (bold and enlarged) Not sure if the . is causing or at least contributing to this error. I did read in another post that a . did at least contribute to this error but the solution there did not work in my case.

Do any of the scalix guys have any other idea's I feel like I am going in circles and getting no-where. This error is halting the rollout of the product.
----- Transcript of session follows -----
... while talking to some.domain.com.:
>>> DATA
<<< 550 5.1.1 <someone@somewhere.com>... User unknown
550 5.1.1 <someone@somewhere.com>... User unknown
<<< 503 5.0.0 Need RCPT (recipient)


thats not a problem. that's standard format.

Have you modified the smtpd.cfg and tested as i suggested?

i.e. please try this in your smtpd.cfg....

RELAY accept .mydomain.com

make sure you have a "." before your domain name. You can only stop going in circles if you try other things.


I have found a resolution to my other problem, and it will probably help you if you haven't got it already....

in order for sendmail to properly reject unknown internal users you will need your domain added to the /etc/mail/local-host-names

restart sendmail afterwards.
Regards,

Les Stott

mia
Posts: 14
Joined: Mon Mar 19, 2007 7:36 am

Denied due to spam list.

Postby mia » Mon Apr 30, 2007 1:41 pm

Hi Les
Thank you for your time on this;

Ok, I added the preceeding '.' to my domains in smtpd.cfg and after sending a test unknown user email some 10 inutes ago I suspect it has gone off to hop 25 times before failing.

Would you mind If I PM'd you my local-host-names file contents and also the smtpd.cfg file.

I had the domain names in local-host-names and I am still getting the error, It is extremely fustrating when you know it is somehting you have or have not done.

les
Scalix Star
Scalix Star
Posts: 819
Joined: Thu Feb 23, 2006 10:18 am
Location: Sydney, Australia

Re: Denied due to spam list.

Postby les » Mon Apr 30, 2007 6:31 pm

mia wrote:Hi Les
Thank you for your time on this;

Ok, I added the preceeding '.' to my domains in smtpd.cfg and after sending a test unknown user email some 10 inutes ago I suspect it has gone off to hop 25 times before failing.

Would you mind If I PM'd you my local-host-names file contents and also the smtpd.cfg file.

I had the domain names in local-host-names and I am still getting the error, It is extremely fustrating when you know it is somehting you have or have not done.


ok. send it to les at cyberpro dot com dot au
Regards,

Les Stott

mia
Posts: 14
Joined: Mon Mar 19, 2007 7:36 am

Denied due to spam list.

Postby mia » Tue May 01, 2007 6:55 am

Les
On the fresh install can you tell me the contents of your local-host-names file pls.

maria


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 3 guests