system generated emails queued

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
binayaj [ Mi, 16 Januar 2008 20:12 ] [ ID #1910186 ]

Re: system generated emails queued

binayaj [at] 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.'"
Hans-Peter Sauer [ Do, 17 Januar 2008 16:37 ] [ ID #1911075 ]
Miscellaneous » comp.mail.sendmail » system generated emails queued

Vorheriges Thema: forward sendmail
Nächstes Thema: How to use user*@domain.com on LHS of virtusertable?