Unix Technical Forum

9.1 note: sendmail now uses tcp_wrappers

This is a discussion on 9.1 note: sendmail now uses tcp_wrappers within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Undocumented change, it seems: sendmail in Slackware 9.1 was built with tcp_wrappers, unlike previous releases. This means that if ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 08:02 PM
ljb
 
Posts: n/a
Default 9.1 note: sendmail now uses tcp_wrappers

Undocumented change, it seems: sendmail in Slackware 9.1 was built
with tcp_wrappers, unlike previous releases. This means that if you
have "ALL: ALL" in /etc/hosts.deny and specifically allow services
in /etc/hosts.allow, after upgrading to Slackware 9.0 you may find
(like me) that sendmail does not work, and logs messages about
tcpwrappers rejections. You need to add a line like "sendmail: ALL"
to /etc/hosts.allow to get it working.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-18-2008, 08:02 PM
Mark Hill
 
Posts: n/a
Default Re: 9.1 note: sendmail now uses tcp_wrappers

On Thu, 13 Nov 2003 02:01:54 GMT,
ljb <ljb220@mindspring.no-spam.com> wrote:
> Undocumented change, it seems: sendmail in Slackware 9.1 was built
> with tcp_wrappers, unlike previous releases.


Thanks for that. I didn't notice anything about tcp wrappers in the
SlackBuild files. Perhaps sendmail's Makefile autodetects tcp wrappers
now?

> You need to add a line like "sendmail: ALL"
> to /etc/hosts.allow to get it working.


I had the following in /etc/hosts.deny, so didn't notice the change.

ALL: ALL EXCEPT LOCAL

--
Mark Hill <usenet@mark.ukfsn.org> (Yahoo address not read)
GPG KeyID: 4A3B58AC
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-18-2008, 08:03 PM
Eef Hartman
 
Posts: n/a
Default Re: 9.1 note: sendmail now uses tcp_wrappers

Mark Hill <mark_usenet@yahoo.co.uk> wrote:
> I had the following in /etc/hosts.deny, so didn't notice the change.
>
> ALL: ALL EXCEPT LOCAL


You stil won't be able to RECEIVE e-mail then (although, with a
commercial provider, you can FETCH it with POP cq IMAP).
But people with a real mail server will have to change their hosts.allow
for sendmail to still work as a e-mail receiver (accepting msgs).
--
************************************************** ******************
** Eef Hartman, Delft University of Technology, dept. EWI/TWA **
** e-mail: E.J.M.Hartman@math.tudelft.nl, fax: +31-15-278 7295 **
** snail-mail: P.O. Box 5031, 2600 GA Delft, The Netherlands **
************************************************** ******************
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-18-2008, 08:03 PM
Mark Hill
 
Posts: n/a
Default Re: 9.1 note: sendmail now uses tcp_wrappers

On Thu, 13 Nov 2003 12:06:37 +0000 (UTC),
Eef Hartman <E.J.M.Hartman@math.tudelft.nl> wrote:
> Mark Hill <mark_usenet@yahoo.co.uk> wrote:
>>
>> ALL: ALL EXCEPT LOCAL

>
> You stil won't be able to RECEIVE e-mail then (although, with a
> commercial provider, you can FETCH it with POP cq IMAP).


Good point. The only thing that communicates with sendmail here is
fetchmail, so the above is fine for me.


--
Mark Hill <usenet@mark.ukfsn.org> (Yahoo address not read)
GPG KeyID: 4A3B58AC
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-18-2008, 08:04 PM
Sylvain Robitaille
 
Posts: n/a
Default Re: 9.1 note: sendmail now uses tcp_wrappers

Eef Hartman wrote:

> ... people with a real mail server will have to change their hosts.allow
> for sendmail to still work as a e-mail receiver (accepting msgs).


I would argue that people with a "real mail server" are likely to have
performed a local installation of Sendmail, rather than use the
distribution supplied version, and are also likely to have been using
TCP_Wrappers with sendmail for a number of years already ...

--
----------------------------------------------------------------------
Sylvain Robitaille syl@alcor.concordia.ca

Systems analyst / Postmaster Concordia University
Instructional & Information Technology Montreal, Quebec, Canada
----------------------------------------------------------------------
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-18-2008, 08:05 PM
ljb
 
Posts: n/a
Default Re: 9.1 note: sendmail now uses tcp_wrappers

mark_usenet@yahoo.co.uk wrote:
> On Thu, 13 Nov 2003 02:01:54 GMT,
> ljb <ljb220@mindspring.no-spam.com> wrote:
>> Undocumented change, it seems: sendmail in Slackware 9.1 was built
>> with tcp_wrappers, unlike previous releases.

>
> Thanks for that. I didn't notice anything about tcp wrappers in the
> SlackBuild files. Perhaps sendmail's Makefile autodetects tcp wrappers
> now?


No, it's in the "site.config.m4" file which gets used when Sendmail is
built (I guess):
APPENDDEF(`confMAPDEF', `-DNEWDB -DSTARTTLS -DTCPWRAPPERS -DNIS -DMAP_REGEX')
APPENDDEF(`confLIBS', `-lnsl -lssl -lcrypto -lwrap -lm -ldb -lresolv')
I also think that this change came incidental to another change
in Sendmail configuration, perhaps TLS, and may not have been intentional.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-18-2008, 08:05 PM
Mark Hill
 
Posts: n/a
Default Re: 9.1 note: sendmail now uses tcp_wrappers

On Fri, 14 Nov 2003 02:29:05 GMT,
ljb <ljb220@mindspring.no.spam.com> wrote:
> mark_usenet@yahoo.co.uk wrote:
>>
>> Perhaps sendmail's Makefile autodetects tcp wrappers now?

>
> No, it's in the "site.config.m4" file which gets used when Sendmail is
> built


Ah. I see. Thanks.


--
Mark Hill <usenet@mark.ukfsn.org> (Yahoo address not read)
GPG KeyID: 4A3B58AC
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:49 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com