[Techtalk] Howto remove everything email-related from Debian?
Michelle Konzack
linux4michelle at freenet.de
Fri Sep 28 09:46:05 UTC 2007
Am 2007-09-27 17:43:12, schrieb Conor Daly:
> It strikes me that cron is at fault here. If a program being run by cron
> generates output for the screen that is not handled, cron will email that
> output to the user. The usual way to deal with that is to redirect the
> output from the program to either a logfile or to /dev/null (if you don't
> care about the output). Given that unexpected output from a program
> running under cron is usually an error message, it's probably better to
> use a logfile rather than /dev/null . My cron entries look like:
>
> * * * * * /path/to/program1 > /path/to/logfile 2>&1
> * * * * * /path/to/program2 > /dev/null 2>&1
> * * * * * /path/to/program3 >> /path/to/appended/logfile 2>&1
>
> These will eliminate cron's attempts to email stuff.
Why not set:
MAILTO=
in the crontab? -- This avoid mangeling of all crontab-lines
> What happens if you do 'apt-get remove qmail' ?
Can give heavy errors on Debian-Systems.
Better is: apt-get --purge remove qmail +ssmtp
Thanks, Greetings and nice Day
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSN LinuxMichi
0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
More information about the Techtalk
mailing list