On 07/12/00 08:12:43 +0100, [EMAIL PROTECTED] wrote:
> exim bewilderment
> 
> hey,
> 
> it was with mild suprise that I realized that I have *no clue*
> how to use exim especially with regard to .forward files.  I
> used exim, too, before I upgraded (tho without .forward)
> 
> can someone direct me to good info, and/or fill me in on how
> exim forwards mail from different addresses to my mailboxes?
> I'm going to use an alternative to procmail, btw.

Hi,

For exim to treat the .forward file as special and not as a regular
.forward file, you need to have the first line like so:

  #   Exim filter   <<== do not edit or remove this line!

The rest is pretty easy. You can check out the
/usr/doc/exim/filter.txt.gz file for more in depth info. Here's mine
though to get you started:


  #   Exim filter   <<== do not edit or remove this line!
  if error_message then finish endif

  if $h_Reply-to: contains "kplug-newbie"
    then save $home/Mail/IN.KPLUG-Newbie

  elif $h_Resent-From: contains "debian-user"
    then save $home/Mail/IN.Debian-User

  elif $h_Reply-to: contains "kplug-list"
    then save $home/Mail/IN.KPLUG

  elif $h_From: contains "[EMAIL PROTECTED]" and
    $h_Subject: contains "Fwd:"
    then save $home/Mail/IN.SBUSD

  elif $h_Subject: contains "[Lockergnome]"
    then save $home/Mail/IN.Lockergnome

  elif $h_From: contains "Linux news daily mailing list"
    then save $home/Mail/IN.Linux-News

  else save $home/Mail/IN.BOX

  endif

I use mutt as my mail reader, so your mail directory my be different.

Hope that helps,

Mark

Reply via email to