From: Antonino Sabetta <as(_at_)antoninosabetta(_dot_)com>
Hi.
I've searched through all the documents I could reach but I
haven't been able to find the info needed.
I'm running a single user Slackware 8 (no local mail server)
and I use fetchmail+procmail to handle my mail. fetchmail
is run every 180 seconds (fetcmail -d 180).
I would like fetchmail to play a sound whenever it polls my
mailbox and finds any new messages. Without the -d flag it
would be easy (return status may help), but in daemon mode
I have no means to know the result of the last poll.
fetchmail -vv -d 180 doesn't show any information either.
I think more recent versions introduced this, check the list archive.
I don't want to use any other program than fetchmail&procmail.
No other daemons, no local mail servers, no biffs, no cron-jobs.
Then you've a problem, fetchmail is purely about getting email from remote
systems and handing it over to the local system. If you want notification
that you've new email locally then you need something like biff or a mail
client...
Please don't CC me on anything sent to mailing lists or send
me email directly unless it's a privacy issue, thanks.
--
Rob | Ask questions the smart way:
http://www.tuxedo.org/~esr/faqs/smart-questions.html
_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com