jails, cron and sendmail
- From: Dirk Engling <erdgeist@xxxxxxxxxxxx>
- Date: Sun, 27 Aug 2006 02:13:03 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I have the following problem: since I need and do not like any kind of
smtp activity in my jails (there's no 127.0.0.1 in a jail, all services
listen to the jails external interface), I put those lines into my
/etc/rc.conf:
sendmail_enable="NO"
sendmail_outbound_enable="NO"
sendmail_submit_enable="NO"
this works fine: nothing listening on the jails interface... except that
cron tries to deliver its status mails and fails.
While failing, sendmail seems to hog cpu and finally floods
/var/spool/clientmqueue and /var/log/maillog.
My quick fix now is to replace /usr/libexec/sendmail/sendmail with
/usr/bin/true in /etc/mail/mailer.conf, however: it seems problematic
that cron insists on a mail sub system, when all it should do is execute
stuff periodically. There should be an option to let it only log to a file.
For my jails this would make sense, too: I never read root's mails
locally, anyway.
Am I missing the obvious solution here?
erdgeist
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
iD8DBQFE8OOPImmQdUyYEgkRAlg8AJ94cvRnJO8y04wZdYdzaX1YM4SorACffJtE
DN2NRiU437SGchnsOrh5hQs=
=t0dd
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: jails, cron and sendmail
- From: Simon L. Nielsen
- Re: jails, cron and sendmail
- From: Mike Meyer
- Re: jails, cron and sendmail
- From: soralx
- Re: jails, cron and sendmail
- From: Daniel Gerzo
- Re: jails, cron and sendmail
- Prev by Date: Re: amd64 questions
- Next by Date: Re: jails, cron and sendmail
- Previous by thread: A handy utility (at least for me)
- Next by thread: Re: jails, cron and sendmail
- Index(es):
Relevant Pages
|
|