Re: [CentOS] Missing something about sendmail

2008-10-16 Thread Christopher Chan

Paul R. Ganci wrote:

Hi All,

I have a strange problem that I don't understand. I have an access file 
which has the following line:


Did you run makemap? Does the db file contain the same stuff as the text 
file?


Christopher
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Missing something about sendmail

2008-10-16 Thread Paul R. Ganci

Christopher Chan wrote:
I have a strange problem that I don't understand. I have an access 
file which has the following line:
Did you run makemap? Does the db file contain the same stuff as the 
text file?

Yes. The output of

makemap -u hash access.db access_dump

shows

168.144.250.215 OK # xsmtp02.mail2web.com

It is there.

After a lot of research I realized I am using two features that muck 
with the check_relay ruleset. The DCC hackmc script to make DCC 
understand about whitelisting from the access database and 
FEATURE(`require_rdns2',`forgedignore')dnl which requires the relay to 
have a rDNS. This changes the usual check_relay code albeit I haven't 
figured out how it can generate a 553 error code along with an OK.


--
Paul ([EMAIL PROTECTED])

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Missing something about sendmail

2008-10-16 Thread Kai Schaetzl
Paul R. Ganci wrote on Wed, 15 Oct 2008 23:23:33 -0600:

 OK # xsmtp02.mail2web.com

You cannot put comments in the file like this, it's interpreted as the 
error message. You can use only comments that start the line.

 Is this because I have commented out
 
 dnl FEATURE(delay_checks)dnl
 
 in my sendmail.mc?

No, delay_checks is necessary for instance if you want to use other access 
mechanisms like SMTP AUTH.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Missing something about sendmail

2008-10-16 Thread Paul R. Ganci

Kai Schaetzl wrote:

OK # xsmtp02.mail2web.com

You cannot put comments in the file like this, it's interpreted as the 
error message. You can use only comments that start the line
Crap ... after all the experience I had with sendmail I never realized 
that. I guess you learn something new every day. Thanks that seems to 
have fixed the problem.


--
Paul ([EMAIL PROTECTED])

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Missing something about sendmail

2008-10-15 Thread Paul R. Ganci

Hi All,

I have a strange problem that I don't understand. I have an access file 
which has the following line:


168.144.250.215 OK # xsmtp02.mail2web.com

Yet email from this IP address is getting rejected. From my log file

Oct 15 21:52:33 mx01 sendmail[10569]: ruleset=check_relay, 
arg1=xsmtp02.mail2web.com, arg2=168.144.250.215, 
relay=xsmtp02.mail2web.com [168.144.250.215], reject=553 5.3.0 OK # 
xsmtp02.mail2web.com


Is this because I have commented out

dnl FEATURE(delay_checks)dnl

in my sendmail.mc?

What is the ruleset check_relay actually doing in this case. I have seen 
other cases where it rejected a message but always with a useful 
message. why is there a reject=553 code but with an OK after it? Can 
somebody give me a clue as to what I have misconfigured.


--
Paul ([EMAIL PROTECTED])

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos