Re: Email redirects

2004-10-12 Thread Chuck Swiger
Sandy Keathley wrote:
[ ... ]
Have the virtusertable rewrite the addr into a local alias, and have the local 
alias point to multiple external addresses. 
That sounds like what I need, but I'm not sure I understand.  Do you 
mean an alias that is then picked up by the "aliases" file for 
forwarding?  
Yes, you have virtusertable point the message to an alias on the local 
machine.  Email to that specific address gets accepted and delivered locally. 
 As part of local delivery, alias expansion will occur, resending the message 
to all of the external addresses listed in the alias.

Per se, that's not using "forwarding" in the specific sense of creating a 
local user account and a .forward file, but you could solve the problem in 
that fashion if you really want to.

[ Likewise, using a mailing list to expand an email send to one address to a 
whole list of people is not "using forwarding" exactly, either, but mailing 
lists can be used to solve the problem you were asking about quite well. ]

--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Email redirects

2004-10-12 Thread Steve Bertrand
> I need to accept an email to a specific address, then forward it to
> several several external addresses.  virtusertable will do that for a
> single recipient.  Is there a way to do that for multiple recipients?

Sure, you could dump it to an alias (/etc/mail/aliases) which contains
several users in it's list, or simply put a .forward file in the users
/home directory, and add each email address that it is going to on
separate lines, which would forward the mail to that user to all
recipients listed in the .forward file.

HTH,

Steve

>
>   Thanks,
>
>   Sandy Keathley
>
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Email redirects

2004-10-12 Thread Jerry McAllister
> 
> I need to accept an email to a specific address, then forward it to 
> several several external addresses.  virtusertable will do that for a 
> single recipient.  Is there a way to do that for multiple recipients?

That is what list server utilities such as majordomo or mailman are for.
THey do it quite well.  

But, if your need is rather small and you don't want to bother with
them, you can make a "poor man's" list server by creating an alias
in   /etc/mail/aliases   that points to an include file or even a
program for processing.

The alias entry would look something like:

   aliasname: :include:/work/mlists/aliasname-list

Then put the addresses you want to forward to in that file 
which in the example is:/work/mlists/aliasname-list

The syntax of the file is:

[EMAIL PROTECTED]  (Fred Friendly)
[EMAIL PROTECTED]  (Sam Sneaky)
...
[EMAIL PROTECTED]   (Sandy Keathley)

You can leave off the parenthesized name if you want.

Then when you send a message addressed to that [EMAIL PROTECTED]
the message will be repeated to every address in the list file
with the parenthesized name as the to name if you put one there.

The only problems with this method are:

You basically have to maintain it by hand.   List server packages
have tools for that built in.

Without doing something extra, there is no checking on who can
send to that list.  So, some spammer could also send a message to it.
If it is small and local, mostly spammers don't pick up on it though.
You can write your own check to make sure the messages are coming
from someone you want to use the list.  But, it wouldn't take much
extra programming to make it easier to just install mailman or majordomo.

jerry

> 
>   Thanks,
> 
>   Sandy Keathley
> 
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Email redirects

2004-10-12 Thread Jonathan T. Sage
Sandy Keathley wrote:
I need to accept an email to a specific address, then forward it to 
several several external addresses.  virtusertable will do that for a 
single recipient.  Is there a way to do that for multiple recipients?

Thanks,
Sandy Keathley
if you are using a 'real' username to accept the mail, you can use the 
.forward file... (goes in the home dir of the user)

The .forward file is usually one line long and contains nothing but the 
address to forward to. Multiple addresses are separated by commas.

Example 1: Forward my mail to [EMAIL PROTECTED]:
[EMAIL PROTECTED]
Example 2: Same, and also keep a copy here in my own account xyz999:
\xyz999, [EMAIL PROTECTED]
In both examples, the file is one line long ending with a RETURN. In the 
second example, the backslash \ tells the mail system not read the 
.forward again.

--
Jonathan T. Sage
Theatrical Lighting / Set Designer
Professional Web Design
"He said he likes me, but he's not in-like with me."- Connie, King of 
the Hill

[HTTP://www.JTSage.com]
[HTTP://design.JTSage.com]
[EMAIL PROTECTED]
[See Headers for Contact Info]


signature.asc
Description: OpenPGP digital signature


Re: Email redirects

2004-10-12 Thread Chuck Swiger
Sandy Keathley wrote:
I need to accept an email to a specific address, then forward it to 
several several external addresses.  virtusertable will do that for a 
single recipient.  Is there a way to do that for multiple recipients?
Have the virtusertable rewrite the addr into a local alias, and have the local 
alias point to multiple external addresses.  If you get tired of managing 
those addrs by hand, consider having the alias point to a mailing list like 
Mailman.

--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"