How to tell scalix SMTP do NOT lookup sender's addresses?

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

akoei
Posts: 66
Joined: Tue Jul 03, 2007 5:13 pm

How to tell scalix SMTP do NOT lookup sender's addresses?

Postby akoei » Wed Sep 05, 2007 1:17 pm

I alway got 451 4.1.8 error. I have
FEATURE(`accept_unresolvable_domains')dnl
FEATURE(`accept_unqualified_senders')dnl
in sendmail.mc file, and re-build sendmail.cf, but doesn't work. need help please.

grahamk
Posts: 134
Joined: Fri Mar 02, 2007 4:53 am

Postby grahamk » Wed Sep 05, 2007 8:32 pm

Firstly, why do you need to do this? There may be a better solution.

What you have changed is a sendmail config file.. I'm not certain, but I think the issue may be with the scalix smtpd service, and not sendmail. If I am correct, one solution would be to change your system configuration so that sendmail listens on port 25, and not scalix smtpd. Information on how to achieve this is available on the forum.

akoei
Posts: 66
Joined: Tue Jul 03, 2007 5:13 pm

Postby akoei » Thu Sep 06, 2007 10:01 am

grahamk wrote:Firstly, why do you need to do this? There may be a better solution.

What you have changed is a sendmail config file.. I'm not certain, but I think the issue may be with the scalix smtpd service, and not sendmail. If I am correct, one solution would be to change your system configuration so that sendmail listens on port 25, and not scalix smtpd. Information on how to achieve this is available on the forum.


oh, well, it is a long story...

The reason I want to do this is I use fetchmail to connect ISP's pop3 and scalix. But some emails always give me 451 4.1.8 error when they are being fetched. It takes very long time. From fetchmail FAQ, it says SMTP server settings need to be changed, but not fetchmail. Then, you know, I am here.

Scalix smtpd seems just a SMTP relay, right? Does it have strong functions like spam detection? I have setup ClamAV and Spamassassin in scalix. If I skip scalix smtpd, do I need to redo all AV and spam parts?

adhodgson
Posts: 176
Joined: Thu Mar 02, 2006 8:09 am

Postby adhodgson » Thu Sep 06, 2007 11:14 am

Hi,

In my experience of SMTPD it passes commands to Sendmail, so if Sendmail complains about a non fully qualified domain, SMTPD will return the error. What I would do in this instance is concentrate on Sendmail, by telneting to localhost on port 25, then issuing the commands as if you were going to send an email from an invalid domain.

I could be wrong here - it is just my observations with a few months experience with Scalix.

Andrew.

akoei
Posts: 66
Joined: Tue Jul 03, 2007 5:13 pm

Postby akoei » Thu Sep 06, 2007 12:15 pm

adhodgson wrote:Hi,

In my experience of SMTPD it passes commands to Sendmail, so if Sendmail complains about a non fully qualified domain, SMTPD will return the error. What I would do in this instance is concentrate on Sendmail, by telneting to localhost on port 25, then issuing the commands as if you were going to send an email from an invalid domain.

I could be wrong here - it is just my observations with a few months experience with Scalix.

Andrew.


You are right - I just check the sendmail log, and found the 451 4.1.8 error logs there.

Sep 5 14:58:01 imcamk-mx01 sendmail[28821]: l85IvWEA028821: ruleset=check_mail, arg1=<craig@craigminch.com>, relay=root@localhost, reject=451 4.1.8 Domain of sender address craig@craigminch.com does not resolve

I am wondering how can I setup sendmail to NOT check sender's address? Or how can I know my sendmail.cf had been configured like that, since I had configured sendmail.mc and use m4 rebuild sendmail.cf.

adhodgson
Posts: 176
Joined: Thu Mar 02, 2006 8:09 am

Postby adhodgson » Thu Sep 06, 2007 12:32 pm

Hi,

What distro are you using? On my Scalix RHEL4 box and a webserver running RHEL5, Sendmail is not actually doing this, and we don't have the relevant lines in the mc file either. Unless the distro's version of Sendmail changes things, the default should be to not do this.

Andrew.

adhodgson
Posts: 176
Joined: Thu Mar 02, 2006 8:09 am

Postby adhodgson » Thu Sep 06, 2007 12:34 pm

Hi,

Also, are you using make to rebuild sendmail.cf? I usually do make all from /etc/mail or make -F /etc/mail, which I think does the same thing - i.e, runs the relevant commands on all the relevant files.

Andrew.

akoei
Posts: 66
Joined: Tue Jul 03, 2007 5:13 pm

Postby akoei » Thu Sep 06, 2007 12:42 pm

adhodgson wrote:Hi,

What distro are you using? On my Scalix RHEL4 box and a webserver running RHEL5, Sendmail is not actually doing this, and we don't have the relevant lines in the mc file either. Unless the distro's version of Sendmail changes things, the default should be to not do this.

Andrew.


I use CentOS 5. the
FEATURE(`accept_unresolvable_domains')dnl
was there by default; and
FEATURE(`accept_unqualified_senders')dnl
is I found from Internet and added by myself, better than no.

adhodgson
Posts: 176
Joined: Thu Mar 02, 2006 8:09 am

Postby adhodgson » Thu Sep 06, 2007 12:49 pm

Hi,

I missed that line - sorry!

If I were you I would try again with removing the line:

FEATURE(`accept_unqualified_senders')dnl

Then running make -F /etc/mail, then restart sendmail.

Thanks.
Andrew.


Return to “Scalix Server”



Who is online

Users browsing this forum: Google [Bot] and 5 guests