Portál AbcLinuxu, 25. dubna 2024 01:45


Dotaz: Cron a Sendmail

3.1.2008 16:02 LeVan
Cron a Sendmail
Přečteno: 357×
Odpovědět | Admin
Nevite nekdo, proc se mi vytvari v /etc/cron.d soubor sendmail:
####################################################################
##### This file is automagically generated -- edit at your own risk
#####
##### file: /etc/cron.d/sendmail
##### generated via: (/usr/bin/perl 588)
#####           /usr/share/sendmail/update_conf
#####           version: 8.13.8 2006-12-08 20:21:10 cowboy
##### by: root@debian
##### on: Thu Jan  3 15:03:41 2008
##### in: /
##### input files:
#####   /etc/mail/sendmail.conf
#####
####################################################################
#------------------------------------------------------------------------------
#
# /etc/cron.d/sendmail
#
# Copyright (c) 2001-2005 Richard Nelson.  All Rights Reserved.
# Version:        8.13.8
# Time-stamp: <2006-12-08 20:21:10 cowboy>
#
# Sendmail crontab - Call sendmail at various times to do the following:
#       1) Age queues - move undelivered mail to a slower queue
#       2) Retry any mail queued by the message submission process
#       3) run the queues (deliver mail) if a standalone daemon is not desired
#
# Each processes is independant and guided by /etc/mail/sendmail.conf and
# {sendmail,submit}.mc files.
#
# There isn't anything here that should need touching.
#
# Any requisite queue/misc parameters must be set in /etc/mail/sendmail.conf
# and reflected herein via /usr/sbin/sendmailconfig (or more directly via
# /usr/share/sendmail/update_conf).
#
#------------------------------------------------------------------------------
#
# use default path, shell, home
#SHELL=/bin/sh
#PATH=
#HOME=
# send mail to this user, as `mail/smmsp` isn't real.
MAILTO=root
#
# format of entries:
# m h dom mon dow       user    command
#
#------------------------------------------------------------------------------
# Every so often, give sendmail a chance to run the MSP queues.
#
*/20 *    *    *    *           smmsp   test -x /etc/init.d/sendmail && /usr/sha
re/sendmail/sendmail cron-msp
#
#------------------------------------------------------------------------------
# Every so often, give sendmail a chance to run the MTA queues.
# Will also run MSP queues if enabled
#
#*/10 *    *    *    *          root    test -x /etc/init.d/sendmail && /usr/sha
re/sendmail/sendmail cron-mta
#
#------------------------------------------------------------------------------
# Every so often, give sendmail a chance to age the queues.
#
# No queue aging
#
I kdyz ho smazu, po restartu serveru se znova vytvori a v logu mailu mam vypisy, ze se neuspesne snazil odesilat nejaky mail na root@domena.net. Mam Debian Etch a sendmail pouzivam jen ve spolupraci se ssmtp na odesilani mailu..
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Na otázku zatím nikdo bohužel neodpověděl.

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.