One of the ways is not to publicize your e-mail address, in filling forms in websites and on your web page as well! If you want to publish your e-mail on your web page, automated e-mail spam can be avoided if the e-mail address is not given directly as we type -- using something like [AT] or an image of '@' instead of typing '@' directly etc. Some junk mails may reach the mail box because of the various preferences that we give while creating a mail account.