Nicola <nt(at)w4w.net> wrote:
> Weiß jmd. wie ich cronjob-meldungen als mails aus einem (jail-)system
> rausbekomme, ohne das ich einen der großen MTAs installiert habe?
>
> Ich habe schon mit "mini-sendmail" und "nbsmtp" aus den ports probiert. Die
> verschicken mails auch ganz prima von der Konsole. Aber wie schaffe ich es
> dem Cron beizubringen so ein Progrämmchen zu benutzen?
Ich benutze für sowas ssmtp (ist auch in den Ports).
Der sendmail-Pfad ist in cron gehardcodet, d.h. Du mußt
entweder cron neu compilieren (mit dem neuen Pfad), oder
einfach das ssmtp-Binary über /usr/sbin/sendmail drüber-
kopieren.
Andererseits -- Warum nimmst Du dafür nicht einfach das
normale sendmail aus dem Basis-System? Da mußt Du nichtmal
irgendwas konfigurieren. Das Default-submit.cf sorgt da-
für, dass lokal generierte E-Mails an 127.0.0.1 zugestellt
werden.
Gruß
Olli
-- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "We, the unwilling, led by the unknowing, are doing the impossible for the ungrateful. We have done so much, for so long, with so little, we are now qualified to do anything with nothing." -- Mother Teresa To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org with "unsubscribe de-bsd-questions" in the body of the messageReceived on Tue 29 Aug 2006 - 14:20:15 CEST