system generated emails queued

system generated emails queued

am 16.01.2008 20:12:34 von binayaj

Hello,
There are lots of emails queued up in /var/spool/mqueue of our
linux box and all of them are destined to user root.

We don't wish to run smtp daemon on those machines as it is not
needed. However because of it, the emails destined to root are queued
up.

Is there any way out to resolve it in such a way that I don't
need to run sendmail daemon ?

Help will be highly appreciated. Thank you

Re: system generated emails queued

am 17.01.2008 16:37:02 von Hans-Peter Sauer

binayaj@gmail.com unleashed the infinite monkeys on 16/01/2008 19:12
producing:
> Hello,
> There are lots of emails queued up in /var/spool/mqueue of our
> linux box and all of them are destined to user root.
>
> We don't wish to run smtp daemon on those machines as it is not
> needed. However because of it, the emails destined to root are queued
> up.
>
> Is there any way out to resolve it in such a way that I don't
> need to run sendmail daemon ?

Ensure you're on Sendmail 8.12 or later and then use the following line
in submit.mc:

FEATURE(`msp', `mailhost', `MSA')dnl

Replace mailhost with the name/IP of the central mail server, rebuild
submit.cf and away you go.

You probably still want to run the submission daemon, just to ensure
that messages are delivered. You don't however have to run anything
listening on port 25.

--
Rob MacGregor (BOFH)

Rule 37: "There is no 'overkill'. There is only 'open fire'
and 'I need to reload.'"