fE_rdy Tux's lil' helper
Joined: 14 Feb 2003 Posts: 75 Location: Old Europe (m'kay Rummy?)
|
Posted: Fri Oct 17, 2003 12:13 pm Post subject: spam mails from fcron |
|
|
Hi.
I set up a Mailserver and put this line into crontab to fetch my emails using fetchmail:
Code: |
*/1 * * * * /usr/bin/fetchmail -a -s -m "/usr/bin/procmail -d %T"
|
To prevent the mailterror that followed I added
before that line. So far so good. But something is driving me crazy. Until I've found that MAILTO="" I saw a lot of hints in other mailing-lists that prefered following notation to prevent mailing of cron-job output:
Code: |
*/1 * * * * /usr/bin/fetchmail -a -s -m "/usr/bin/procmail -d %T" > /dev/null 2>&1
|
This never worked!
Can someone assist? |
|