[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to play custom sound on mail alert in Moz Mail?

Bob Proulx wrote:
Kent West wrote:

Anyone know how to configure Mozilla Mail on Debian to play a custom sound when new mail arrives?

Yes.  First off don't try to do it with Mozilla.  Do it with procmail
as the mail is processed on your machine.  Procmail will put it in
your mailbox to be read by Mozilla.

I am guessing, but I would guess that the OP has it setup so that Mozilla is retrieving his mail directly from a remote mail server. The mail is never processed on his machine until Mozilla processes it. The reason that I am guessing this is that Mozilla's MoveMail implementation for retrieving mail from /var/mail/<username> doesn't automatically check for mail[at least for me], it only retrieves mail when you tell it to. As for configuring it to play a custom sound:

Recent versions of mozilla let you do this in the UI Preferences->Mail&Newsgroups->Notifications. Older versions supposedly let you set a custom sound by putting:

user_pref("mail.biff.sound_file", "/usr/share/sounds/email.wav");
user_pref("mail.biff.use_default_sound", false);

in either ~/.mozilla/<profilename>/<random>.slt/user.js or /etc/mozilla/prefs.js. I never did get this to work though[before I started using fetchmail].

Reply to: