[plug] Problem setting up alias for a user...

McMeikan, Andrew andrew.mcmeikan at mitswa.com.au
Fri Nov 5 13:22:58 WST 1999


Arghh, 
	I should learn to read messages properly :)

What you need to use is procmail, very good for this sort of thing.  Will
let you add in more conditionals later if you need to.

	cya,	Andrew...

> -----Original Message-----
> From:	Mike Holland [SMTP:myk at golden.wattle.id.au]
> Sent:	Friday, November 05, 1999 11:59 AM
> To:	McMeikan, Andrew
> Subject:	RE: [plug] Problem setting up alias for a user...
> 
> Naturally, but the Q is, how to pipe the mail to a program.
> 
> On Fri, 5 Nov 1999, McMeikan, Andrew wrote:
> 
> > If you just want to redirect to another username of that host then just
> have
> > a single line with the username on it that you want it to go to.
> > 
> > 	cya,	Andrew...
> > 
> > > -----Original Message-----
> > > From:	Mike Holland [SMTP:myk at golden.wattle.id.au]
> > > Sent:	Friday, November 05, 1999 11:17 AM
> > > To:	'plug at linux.org.au'
> > > Subject:	Re: [plug] Problem setting up alias for a user...
> > > 
> > > > What I want to know is how to set up a .foreward file such that the
> text
> > > 
> > > David, its spelt ".forward".
> > > It should be in the sendmail docs, I couldnt find it in my man pages.
> > > 
> > > A sample .forward file is:
> > >               \username, "|/usr/ucb/vacation username"
> > > Its a comma-separated list. Begin with a '|' to give a pipe command.
> > > So you might just want something like:
> > > 	"|/home/jitterbug/bin/new_message"
> > > 
> > > Anyone know a good way to do this without creating a special user?
> > > The '/etc/aliases' file doesnt seem to allow such pipe commands.
> > > 
> > > Mike Holland <mike at golden.wattle.id.au>            Perth, Australia.
> > >                           --==--
> > > A banker is a fellow who lends you his umbrella when the sun is
> shining
> > > and wants it back the minute it begins to rain.
> > >                 -- Mark Twain
> > 
> 
> Mike Holland <mike at golden.wattle.id.au>            Perth, Australia.
>                           --==--
> A banker is a fellow who lends you his umbrella when the sun is shining
> and wants it back the minute it begins to rain.
>                 -- Mark Twain



More information about the plug mailing list