[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mail command without sendmail or gateway without MTA?



--- Daniele Petiti <daniele.petiti@bsc.it> wrote:
> On Thu, 1 Aug 2002 06:33:16 -0700 (PDT), gica gica
> <magudexter@yahoo.com> wrote:
> 
>  > Hello!
>  > 
>  > I'm configuring a gateway an I want to run all
> kind of
>  > script on it on a daily basis. The result should
> be
>  > obviously mailed to root. All this things happens
>  > locally.
>  > Anyway, I don't want any services I don't use and
> a
>  > MTA is definitly one. Is there any way I can
> still use
>  > mail without a MTA and to have mail served
> locally.
>  > 
>  > In my case, without mail disabled from
> /etc/rc.conf
>  > every message still get put in a file in
>  > /var/spool/clientmqueue/ directory which belongs
> to
>  > smmsp:smmsp i.e. 
>  > Login:smmsp
>  > Name: Sendmail Message Submission Program
>  > .
>  > I looked at the mail files in /etc but they still
>  > depend on sendmail or a MTA.
>  > 
>  > If anyone knows a solution here please do tell
> me. I'm
>  >  not agains MTA but I want max security on this
>  > machine . What approach did you guys take on this
>  > matter?
>  > 
>  > Thanks,
>  >     Costin
>  > Yahoo! Health - Feel better, live better
>  > http://health.yahoo
> 
> I think you can run sendmail -q after the cron job.
> It doesn't fork a
> daemon but sends message.
> may be you like something different but it's the
> firs tthing I've
> thinked.
> 
> 
> bye
I'm trying to minimize the services on the gateway.
Sendmail is known for it's error and even though it's
audited by the folks at openbsd it's useless to use a
huge MTA just to send messages locally. In other word
to move files from one place to another.

I imagine people who designed LANS bumped into this
problem often and didn't allow service like sendmail
that eats some resources to be started just for some
files that usually don't add up to 1Mb (probably a lot
less than the memory sendmail consumes).

Thank for the response!
Yahoo! Health - Feel better, live better
http://health.yahoo.com