Great Circle Associates Firewalls
(March 1994)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: opening the door just a little...
From: jpf @ mig . com (Jack Flory)
Date: Thu, 10 Mar 1994 20:02:56 -0700 (MST)
To: z056716 @ uprc . com (LaCoursiere J. D. (Jeff))
Cc: firewalls @ greatcircle . com
In-reply-to: <9403101431 . AA09581 @ cygnus . uprc . com> from "LaCoursiere J. D. (Jeff)" at Mar 10, 94 08:31:14 am

>
>
>> 	utilities.
>> 
>> >How would new messages he composes in mail be forwarded onto sendmail?
>> >similar to smapd?
>> 
>> 	Your mail program (elm, pine, mailx, mail) should automatically
>> 	forward to the mailer if I am not wrong.
>> 
>
>I think this may be a problem in a chrooted environment, as the mail would
>never make it to the queue directory, no?
>

These are the tricks I use...

First, you need to build a new copy of sendmail with 
infinite loop checking disabled.  Sendmail normally
checks to see if you are sending mail to yourself.

The check is in usersmtp.c.  You can simply comment
out the check in 8.6.4.  Then, COPY this sendmail to
your chrooted partition where it will be execed by
the mail command.  DO NOT use this as your primary
copy of sendmail, NOR as the one started at boot time.

For sendmail 8.6.5, you can use -DNOLOOPBACKCHECK in the compile.

Next, you need to set up your sendmail.cf file in the chrooted
area.  Replace foo.com with your domain.  This sends the mail
message to sendmail via the sendmail TCP service...

Mlocal, P=[TCP], F=lasDFMmP, S=10, R=20, A=TCP foo.com
Mprog,  P=[TCP], F=lasDFMmP, S=10, R=20, A=TCP foo.com


Well, there you have it.  Another hack, but it works.


References:
Indexed By Date Previous: Solaris 2.x firewall support
From: z056716 @ uprc . com (LaCoursiere J. D. (Jeff))
Next: Re: Solaris 2.x firewall support
From: jim @ Tadpole . COM (Jim Thompson)
Indexed By Thread Previous: Re: opening the door just a little...
From: z056716 @ uprc . com (LaCoursiere J. D. (Jeff))
Next: Sendmail List Replies
From: srusso @ mcdermott . com (Steve Russo)

Google
 
Search Internet Search www.greatcircle.com