Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
EximFilter
Edit
PageHistory
Diff
Info
LikePages
You are viewing an old revision of this page.
View the current version
.
If your .forward file starts with "# Exim filter", then the [Exim] mail program can do some processing of your incoming email. If you have exim installed, you can probably find comprehensive documentation on this in /usr/share/doc/exim/filter.txt{,.gz} otherwise have a look online at www.exim.org/exim-html-3.30/doc/html/filter.html or www.exim.org/exim-html-4.00/doc/html/filter.html depending on which version of exim you have installed. Here is a simple example: # Exim filter - do not edit this line! # only works for exim... others will treat it as a plain .forward file... # if this filter generates an error, then deliver to original address # as per usual if error_message then finish endif # I have mail forwarded to me from an account at another machine. # it currently only gets spam, so automatically save to somewhere else. # This match is a regular expression, hence need to double escape the "." if $header_received: contains remotehost\\.co\\.nz and $header_from: does not contain remotehost\\.co\\.nz then save $home/Mail/remotehostspam 0600 seen finish endif # default action - get exim to deliver as if this forward file wasn't here # change this to whatever address this server is accepting your mail for deliver thisemailaddress@verisign.com finish
2 pages link to
EximFilter
:
WlugMailNotes
EximNotes