Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
spam mails from fcron
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
fE_rdy
Tux's lil' helper
Tux's lil' helper


Joined: 14 Feb 2003
Posts: 75
Location: Old Europe (m'kay Rummy?)

PostPosted: Fri Oct 17, 2003 12:13 pm    Post subject: spam mails from fcron Reply with quote

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
Code:

MAILTO=""

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?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum