fetchmail-friends
[Top] [All Lists]

Re: [fetchmail]supress errors in log

2005-11-13 09:05:04
Paul Goodyear <pgudge(_at_)gmail(_dot_)com> writes:

* Try a longer interval - frankly 1 minute is overkill.

Not when you NEED those emails. :)

In that case, get a static IP and run your own SMTP server, or consider
something like IMAP (which has an IDLE mode) with --all option (the
latter is important so you don't miss out on mails that you read on the
upstream server instead).

* Use daemon mode - it's there for a reason!

Does daemon mode allow for using ~/.fetchmailrc

Sure it does.

I need a system where the users can add there own email accounts to
their .fetchmail file. Wouldn't fetchmail daemon run under 1 user
context (root, fetchmail, user1, user2 etc) and only process the one
.fetchmailrc file?

I'd advise against running fetchmail as root at all. Users can stuff a
line into their crontab to start fetchmail every hour and configure
daemon mode for every 600 seconds or so. Then it will fetch mail every
600 seconds and come up after system restart or crash within half an
hour on average.

* Append ">/dev/null 2>/dev/null" (or ">/dev/null 2>&1") to direct all
output to /dev/null

Sweet that worked.

Surprise? No, this is Unix, just plain UNIX shell behavior, you just
told it where you wanted the output to go, and it obeyed.

-- 
Matthias Andree

_______________________________________________
Fetchmail-friends mailing list
Fetchmail-friends(_at_)lists(_dot_)ccil(_dot_)org
http://lists.ccil.org/cgi-bin/mailman/listinfo/fetchmail-friends