<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.swcp.com/w/index.php?action=history&amp;feed=atom&amp;title=KB_68</id>
	<title>KB 68 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.swcp.com/w/index.php?action=history&amp;feed=atom&amp;title=KB_68"/>
	<link rel="alternate" type="text/html" href="https://wiki.swcp.com/w/index.php?title=KB_68&amp;action=history"/>
	<updated>2026-10-08T03:14:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://wiki.swcp.com/w/index.php?title=KB_68&amp;diff=369&amp;oldid=prev</id>
		<title>Jamii: New page: ===How do I filter mail by domain to forward some mail to my cellphone?===  Article:68  Created:2000-08-04 09:00:37  Categories:    E-mail  ====Question or Symptom==== Can one set up a fil...</title>
		<link rel="alternate" type="text/html" href="https://wiki.swcp.com/w/index.php?title=KB_68&amp;diff=369&amp;oldid=prev"/>
		<updated>2008-06-04T22:30:41Z</updated>

		<summary type="html">&lt;p&gt;New page: ===How do I filter mail by domain to forward some mail to my cellphone?===  Article:68  Created:2000-08-04 09:00:37  Categories:    E-mail  ====Question or Symptom==== Can one set up a fil...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===How do I filter mail by domain to forward some mail to my cellphone?===&lt;br /&gt;
 Article:68&lt;br /&gt;
 Created:2000-08-04 09:00:37&lt;br /&gt;
 Categories:&lt;br /&gt;
   E-mail&lt;br /&gt;
&lt;br /&gt;
====Question or Symptom====&lt;br /&gt;
Can one set up a filter in the email account/system to forward email&lt;br /&gt;
from specific domains to a different email account? I would like to&lt;br /&gt;
forward some email from my swcp account to the email account tied to my&lt;br /&gt;
cell phone.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Resolution====&lt;br /&gt;
You can do this with procmail by filtering on the From line.&lt;br /&gt;
  &lt;br /&gt;
Procmail can be difficult to configure the first time. You can ask the staff to&lt;br /&gt;
do it for you or the following are some available resources:&lt;br /&gt;
  &lt;br /&gt;
The two best sources of documentation are:&lt;br /&gt;
  &lt;br /&gt;
        man procmail&lt;br /&gt;
        man procmailrc&lt;br /&gt;
        man procmailex&lt;br /&gt;
  &lt;br /&gt;
Procmail is driven by a configuration file called .procmailrc in a user&amp;#039;s&lt;br /&gt;
home directory. The procmailrc man page describes the format of the&lt;br /&gt;
.procmailrc file. The procmailex man page has .procmailrc examples.&lt;br /&gt;
  &lt;br /&gt;
There are some interesting links on&lt;br /&gt;
  &lt;br /&gt;
        http://www.procmail.org/&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
A .procmailrc usually consists of a few variable definitions followed by&lt;br /&gt;
filtering rules.&lt;br /&gt;
  &lt;br /&gt;
Here is a sample .procmailrc:&lt;br /&gt;
  &lt;br /&gt;
----&lt;br /&gt;
 PATH=$HOME/bin:/usr/bin:/bin:/usr/local/bin&lt;br /&gt;
 MAILDIR=$HOME/Mail&lt;br /&gt;
  LOGFILE=$MAILDIR/.from&lt;br /&gt;
 DEFAULT=/var/spool/mail/myloginname&lt;br /&gt;
   &lt;br /&gt;
 ###&lt;br /&gt;
 ### fax messages&lt;br /&gt;
 ###&lt;br /&gt;
 :0&lt;br /&gt;
 * ^From:.*fax@swcp.com&lt;br /&gt;
 fax&lt;br /&gt;
----&lt;br /&gt;
  &lt;br /&gt;
The variables setup a path for looking up programs (PATH), a directory&lt;br /&gt;
for relative file references (MAILDIR), the location of a log file&lt;br /&gt;
(LOGFILE), and a file where procmail delivers messages that aren&amp;#039;t&lt;br /&gt;
filtered (DEFAULT).&lt;br /&gt;
  &lt;br /&gt;
This procmailrc delivers any messages with a From header that matches&lt;br /&gt;
&amp;quot;fax@swcp.com&amp;quot; to a file in MAILDIR named &amp;quot;fax&amp;quot;.&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Related URLS====&lt;br /&gt;
  http://www.procmail.org/&lt;/div&gt;</summary>
		<author><name>Jamii</name></author>
	</entry>
</feed>