in sendmail.mc
add
FEATURE(`virtusertable');

remake your sendmail.cf on debian just run make in /etc/mail

then in virtusertable you add lines like

[EMAIL PROTECTED]     [EMAIL PROTECTED] # to send somewhere else
[EMAIL PROTECTED]    johnf   # deliver locally
@domain.com.au          terry   # deliver locally anything that doesn;t
                                #match the other rules

You can pup mutliple doains in this file. The domains need to be in
sendmail.cw. Only problem is that every address needs to be in the file
ie if pete is a local user unless there's a pete@domain in the virtuals
file he won't get anything.


On Thu, Mar 15, 2001 at 01:08:01PM +1100, Terry Collins wrote:
> Is is possible for sendmail to collect and distribute mail on a system
> if users(mail recipients) do not have a system account?,i.e act as a
> mailhost?
> 
> I know that RH6.2+ allows virtual users for mail, but I'd never thought
> about the delivery agent underneath as I've never needed to set any up.
> 
> Reading the O'Reilly sendmail, p397, talks about Forms of alias delivery
> and says that it could be appended to a file or passed to a program, so
> collection is no problem.
> 
> Unfortunately, neither my library or the RH site provides a answer (one
> that I can find ), which might be a jargon problem.
> 
> So, if someone can let me know if it is yes/no and any RTFM url, that
> would be great.
> 
> 
> N.B> SENDMAIL - not qmail, or other MTA.
> 
> --
>    Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861  
>    email: [EMAIL PROTECTED]  www: http://www.woa.com.au  
>    WOA Computer Services <lan/wan, linux/unix, novell>
> 
> $_='while(read+STDIN,$_,2048){$a=29;$b=73;$c=142;$t=255;@t=map{$_%16or$t^=$c^=(
> $m=(11,10,116,100,11,122,20,100)[$_/16%8])&110;$t^=(72,@z=(64,72,$a^=12*($_%16
> -2?0:$m&17)),$b^=$_%64?12:0,@z)[$_%8]}(16..271);if((@a=unx"C*",$_)[20]&48){$h
> =5;$_=unxb24,join"",@b=map{xB8,unxb8,chr($_^$a[--$h+84])}@ARGV;s/...$/1$&/;$
> d=unxV,xb25,$_;$e=256|(ord$b[4])<<9|ord$b[3];$d=$d8^($f=$t&($d12^$d4^
> $d^$d/8))<<17,$e=$e8^($t&($g=($q=$e14&7^$e)^$q*8^$q<<6))<<9,$_=$t[$_]^
> (($h=8)+=$f+(~$g&$t))for@a[128..$#a]}print+x"C*",@a}';s/x/pack+/g;eval
> 
>  "People without trees are like fish without clean water"
> 
> -- 
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://slug.org.au/lists/listinfo/slug

-- 
John Ferlito
Senior Engineer - Bulletproof Networks
ph: +61 (0) 410 519 382
http://www.bulletproof.net.au/

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to