Article View: comp.mail.misc
Article #763Re: How can I bounce my mail from one site to another automatically?
From: David Herron -- One of the verte...
Date: Sun, 12 Nov 1989 04:30
Date: Sun, 12 Nov 1989 04:30
53 lines
3022 bytes
3022 bytes
In article <925@kcdev.UUCP> gentry@kcdev.UUCP (Art Gentry) writes:
>In article <7306@ingr.com>, fordke@ingr.com (Keith Ford x8614) writes:
>>
>> I read news, reply to news, and post news from uunet!ingr but my
>> base system is at uunet!ingr!b23b!dragon. How can I have mail
>> that is sent to uunet!ingr automatically bounced to my base?
>>
>This is easy. Just have the system administrator at ingr create a file in
>/usr/mail with your id as the file name. In the file place the following
>line:
> Forward to !b23b!dragon!{your id here}
This is a SysV-ism. And, besides, you don't need that leading "!".
I'm not sure why it's there but I see lots of people use it. It's
not required by any software with which I'm familiar ...
On Sendmail machines you instead place a ".forward" file in your home
directory which gives an address to which to send the mail. I believe
you can also pipe into a process from the ".forward" file.
On MMDF sites you can do some rule-based matching on various
header lines and have actions available which will junk the
message, append it to a file, or pipe it into a process. The
same file & file-format work with "mh" users.
(MMDF will "soon" Officially develop the ability to directly
use ".forward" files much the same way that Sendmail uses them.
A difference is that the piping format will be "user|command"
instead of "|command".. er.. I guess I'd better check that
for security vilations, oughtn't I? :-) ).
I'm sure "deliver" has something neat and wonderful which that
Chip fella will tell us about.
On most of the "useful" mail systems (i.e. *NOT* the lack of
mail system you have on SysV) you can also arrange with the
system admin/postmaster critter to add an alias for you
which will cause mail to alias@such-and-so to be sent to
wherever the alias points.
>> sub-question: How can I change the From header field?
If you're using 'rn' there's an environment variable and/or
"dot" file in your dot directory which lets you specify the format
of news and mail headers. This *only* works with rn. Look at
the man page for more details, I just remember that you *can* do it.
--
<- David Herron; an MMDF guy <david@ms.uky.edu>
<- ska: David le casse\*' {rutgers,uunet}!ukma!david, david@UKMA.BITNET
<-
<- New official address: attmail!sparsdev!dsh@attunix.att.com
Technical Details
Message-ID:
<13209@s.ms.uky.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!brutus.cs.uiuc.edu!psuvax1!ukma!davidReferences:
<7306@ingr.com> <925@kcdev.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!brutus.cs.uiuc.edu!psuvax1!ukma!david From: david@ms.uky.edu (David Herron -- One of the vertebrae) Newsgroups: comp.mail.misc Subject: Re: How can I bounce my mail from one site to another automatically? Keywords: automatic mail bounce Message-ID: <13209@s.ms.uky.edu> Date: 12 Nov 89 04:30:16 GMT References: <7306@ingr.com> <925@kcdev.UUCP> Reply-To: david@ms.uky.edu (David Herron -- One of the vertebrae) Distribution: usa Organization: U of Kentucky, Mathematical Sciences Lines: 53