[Pkg-exim4-users] What happens to unrouteable mail?

Magnus Holmgren holmgren at lysator.liu.se
Fri Apr 27 18:14:51 UTC 2007

On Friday 27 April 2007 18:41, Sebastian Tennant wrote:
> Something of a daft question no doubt, but how can I send a load of
> mail to /dev/null?
> I'm running an out-of-the-box Exim4 on Debian.
> Fetchmail polls my ISP domain and mops up all the spam before handing
> it to Exim addressed to 'junk at localhost'.

Short answer: Put the following in /etc/aliases:

junk: :blackhole:

Long answer: You don't want to dump mail in the bit bucket unseen. Are you 
absolutely sure that you won't ever throw away valid mail?

Magnus Holmgren        holmgren at lysator.liu.se
                       (No Cc of list mail needed, thanks)

  "Exim is better at being younger, whereas sendmail is better for 
   Scrabble (50 point bonus for clearing your rack)" -- Dave Evans
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-exim4-users/attachments/20070427/af06f2da/attachment.pgp

More information about the Pkg-exim4-users mailing list