sendmail question

Joe Bielli jbielli at netsos.com
Mon Oct 22 12:52:22 EDT 2001


Do what Dege says :) for basic forwarding all you need is aliases.
Here is another trick I've learned with sendmail.. if you want to use
virtusertable to map a non-existant name on a specific domain to a
distribution list or more than one recipient:

Create an entry in virtusertable:

dist at somedomain.com  distlist

Then, in /etc/aliases create the following:

distlist:      me at mydomain.com, user2, user3 at otherdomain.com

...... The reason for this? Virtusertable will not allow more than one
recipient; you need to feed it an alias from the aliases file which will
handle it from there.

(ps. don't forget to do the makemap and newaliases)

Joe Bielli
Computer SOS, inc.
1505 Cleveland Drive
Buffalo, NY 14225
P:// 716.635.0086
E:// jbielli at netsos.com
 

-----Original Message-----
From: owner-nflug at nflug.org [mailto:owner-nflug at nflug.org] On Behalf Of
Darin Perusich
Sent: Monday, October 22, 2001 10:07 AM
To: nflug at nflug.org
Subject: sendmail question

hello,

i have a sendmail question that i'm trying to solve and i keep getting
half way there but it never pans out. i want to send all incoming email
from user at domain.com and forward to mymailbox at mydomain.com. here's a few
things that i've look at.

1. access database - access allows you to take 
	From:user at domain.com 	RELAY/REJECT/OK

2. virtuserstable - maps nonexistant address or domains to real
addresses. doesn't appear to allow headed specific info, at least that
i've found yet.

these looked the most promising. has anyone ever done something list
this?

-- 
Darin Perusich
Unix Systems Administrator
Cognigen Corp.
darinper at cognigencorp.com



More information about the nflug mailing list